How do I recognize faces and only output that from camera capture?

I would like to only output faces and not anything else from a camera capture. So basicly a zoom in on the face only. Does anyone know how to do it or where I should start? Thank you.

You can have a look at open cv for processing: GitHub - atduskgreg/opencv-processing: OpenCV for Processing. A creative coding computer vision library based on the official OpenCV Java API

1 Like

Thank you for your help! So I have been trying it out and the idea is there, but the result isn’t that great… It does recognizes the face but when trying to recognize the eye, nose and mouth it doesn’t does the job unfortunelately, and thats what I need.

Do you perhaps know other alternatives that are better at this?