node-opencv icon indicating copy to clipboard operation
node-opencv copied to clipboard

Face recognition

Open OliverTr54 opened this issue 10 years ago • 7 comments

Can I also use this package to recognize a face from a face database? I do not found any example for this issue, only for face detection... Which function do I have to use?

OliverTr54 avatar Feb 12 '15 13:02 OliverTr54

Hi, I am also trying to implement this. Have you found a working example?

nsathiya avatar Apr 30 '15 18:04 nsathiya

That's not a trivial thing to do, unfortunately...

You need to first crop the detected face, and then compare it with the image in the database using features2d (cv.ImageSimilarity) or something else.

didasy avatar Jun 29 '15 14:06 didasy

you should look at facebook torch7 and facial recognition software they've open sourced. You will have to build your own neural network and teach it (so all the photos have to be tagged already) and then you will be able to recognize a face from database

AVVS avatar Jun 30 '15 02:06 AVVS

Issue #92

saccodd avatar Aug 05 '15 20:08 saccodd

I suggest reading Machine Learning is Fun! Part 4: Modern Face Recognition with Deep Learning. This is the best hands-on tutorial on this topic that guides you through all these so complex steps of machine learning for face detection and recognition. As a result you will have a working and stable code that not only detects faces but also recognizes who is who on your own images.

kadishmal avatar Aug 23 '16 08:08 kadishmal

With OpenCV 2.4.2+ there's cv::FaceRecognizer. node-opencv does not currently have support for it though.

danschultzer avatar Sep 05 '16 17:09 danschultzer

how to test face-detection.js whether it is working or not?

vamshi9 avatar May 08 '17 05:05 vamshi9