face detection and matching with another face

asked 2015-07-31 12:45:48 -0600

I want to make a code which will detect face from live webcam and will match the detected face with another face. I'm newbie at opencv , I cant understand how to convert detected face as variable. Pls help me.

Also how can I compare newly detected face with another face that stored in code as variable . can I convert any face into variable by opecv ?

edit retag flag offensive close merge delete

Comments

You can try looking into descriptor extraction and matching. OpenCV has many techniques like SURF, SIFT etc. that you can use for your task. It might be a good place to start.

Potato gravatar imagePotato ( 2015-07-31 13:23:37 -0600 )edit
2

if you want to match an image from a camera to a database, you can use opencv's builtin facerecognition . but this again requires several images per person to work.

if you want to compare 2 images only, this is a much harder task, called verification , and no, chances to get any results for cheap(as a noob) are very low.

berak gravatar imageberak ( 2015-08-01 06:08:28 -0600 )edit