Browse Source

made small modification to how many elements are made

pull/1/head
Tim 5 years ago
parent
commit
6ec6c8e623
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      main.py

+ 3
- 0
main.py View File



# Add elements to image # Add elements to image
addElements(img) addElements(img)
#if there are no faces, just add more elements!
if len(faces) < 1:
addElements(img)


#randomize if high contrast is used #randomize if high contrast is used
choice = rd.randint(0,1) choice = rd.randint(0,1)

Loading…
Cancel
Save