xionghc / Facial-Expression-Recognition

Facial-Expression-Recognition in TensorFlow. Detecting faces in video and recognize the expression(emotion).
GNU General Public License v3.0
637 stars 190 forks source link

Save faces with thier emotion #27

Open SingAvi opened 5 years ago

SingAvi commented 5 years ago

What i would like to achieve here is that you please guide me how to fetch face and emotion and store them in a folder everytime a new face is introduced in front the camera.

LeonardNiu commented 5 years ago

demo.py, find demo function detected_face is the present face image, use cv2.imwrite() function can store the image.