Pārlūkot izejas kodu

made small modification to how many elements are made

pull/1/head
Tim pirms 5 gadiem
vecāks
revīzija
6ec6c8e623
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. +3
    -0
      main.py

+ 3
- 0
main.py Parādīt failu

@@ -248,6 +248,9 @@ if __name__ == "__main__":

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

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

Notiek ielāde…
Atcelt
Saglabāt