Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Duration of Face detection

Hi

Just started using the opencv 2.4.4 got the face tracking and detection to work fine along with the eye (with glasses detection). This is using the samples provided.

My next question is how do I track the amount of time the face is being detected along with the eyes?

Basically what I need to do is start a timer when they eyes are detected and when they are no longer detected calculate the timespan between the 2 instances?

Is there any sample code that does this so I can have a look how it's done?

Thanks