face detection and matching with another face
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 ?
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.
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.