peterbraden / node-opencv

OpenCV Bindings for node.js
MIT License
4.38k stars 857 forks source link

Face recognition #225

Open OliverTr54 opened 9 years ago

OliverTr54 commented 9 years ago

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?

nsathiya commented 9 years ago

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

didasy commented 9 years ago

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.

AVVS commented 9 years ago

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

saccodd commented 9 years ago

Issue #92

kadishmal commented 8 years ago

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.

danschultzer commented 8 years ago

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

vamshi9 commented 7 years ago

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