ageitgey / face_recognition

The world's simplest facial recognition api for Python and the command line
MIT License
52.9k stars 13.44k forks source link

sometimes there are no faces detected #934

Open Ealuthwala opened 5 years ago

Ealuthwala commented 5 years ago

in some cases for some photos there are no faces detected during face encoding. is there a better way to make the face encoring without using a pre-captured photo. maybe use a video are a tool that create an save a face encoding through the real time camera

nla-asia commented 4 years ago

same issue here when using CNN

fadi212 commented 4 years ago

Well you can use a photo in which face is detected. You can use face haar_cascade file with opencv to capture images whenever a face is detected and later use those images for encoding.

ageitgey commented 4 years ago

Just saying sometimes it doesn't detect a face without an example isn't really helpful. There are various reasons a face might be missed but it's impossible to know which without seeing a photo that didn't work.

alessiosavi commented 4 years ago

You can use the jitter parameter in order to increase the distortion of the photos.