Ask Your Question
0

Make a ID for detected face and count the number of people in a minute

asked 2013-04-22 11:29:14 -0600

UserOpenCV gravatar image

I detected the face in a webcam using "Violo-Jones" face detector in opencv, now I need do the following:

1) I need to make a ID for each face detected say 1,2,3 for person A,B,C.

2) If the person "A" gets out of the frame and come back within some time ( say 1 minute ), then the ID of the Person "A" should be same that is "1" in my case. If the Person "A" comes after a minute he will be counted as a different ID (3).

How can I do the above in opencv? Any ideas or suggestions or links would be great!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-04-22 11:36:36 -0600

berak gravatar image

the viola-jones face detector can only detect human heads (face or not).

if you need to recognize faces, you (additionally) need one of the FaceRecognizer classes(eigen/fisher/lbp)

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-04-22 11:29:14 -0600

Seen: 581 times

Last updated: Apr 22 '13