isseu / emotion-recognition-neural-networks

Emotion recognition using DNN with tensorflow
MIT License
835 stars 308 forks source link

Draw face in frame not worked #21

Open wonny2001 opened 7 years ago

wonny2001 commented 7 years ago

there are "Unresolved referenced 'faces'"

how can i resolve it?

Draw face in frame

for (x,y,w,h) in faces: cv2.rectangle(frame, (x,y), (x+w,y+h), (255,0,0), 2)

AdrienPlayerium commented 7 years ago

@wonny2001 probably because "faces" was not in the scope of your call.