justadudewhohacks / opencv4nodejs

Nodejs bindings to OpenCV 3 and OpenCV 4
MIT License
4.93k stars 817 forks source link

No face detected in saved image #409

Open wilwad opened 5 years ago

wilwad commented 5 years ago

So sorry if this has been answered before. I run the face detector and save the detected faces as separate images fine. When I run those saved face images through the face recognition code, it always fails. No face detected in image. Any ideas?

justadudewhohacks commented 5 years ago

If you save the face images, which are extracted from the bounding boxes after face detection, why are you running face detection again? You should skip that step.

wilwad commented 5 years ago

You are absolutely right. Let me try that.