How to use face recognition in real applications?

zxilrvcub report abuse

I took a machine learning and computer vision course and learned how to implement a face recognition algorithm. But we used pictures of the same size on which there was only a face. I still don't understand how to make this work in real life. If I have images of different sizes and I don’t know where exactly the face is. Or maybe there is more than one face. How can I implement this?

Answers

MonlyDwain report abuse

You should use face detection first. This problem is very well researched, and there are many good algorithms for this. Generally, they don't use machine learning and are based on tricky math. I recommend you use the Haar cascade. There is a good implementation of it in OpenCV. After detecting all the faces, you will send these fragments of the image to your classifier.

Add Answer

Need support?

Just drop us an email to ... Show more