You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think maybe is good option to rewrite like this for example.
Or you have better idea? Now this will screnshoot 10 photos ...
def take_training_photos(name, n):
next = True
i = 1
while next:
for face in webcam.capture().gray().faces():
if i == n:
next = False
i += 1
normalized = face.scale(100, 100)
.
.
.
in gfx.py in method def face_areas(self): sometimes return () and sometimes return for example this [[215 103 146 146]]. If def face_areas(self): return () webcam is not saved photos this is problem.
The text was updated successfully, but these errors were encountered:
Hi @povilasb,
I think maybe is good option to rewrite like this for example.
Or you have better idea? Now this will screnshoot 10 photos ...
in gfx.py in method
def face_areas(self):
sometimes return()
and sometimes return for example this[[215 103 146 146]]
. Ifdef face_areas(self):
return()
webcam is not saved photos this is problem.The text was updated successfully, but these errors were encountered: