Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Eye Blink Related

Hi, I am new to opencv. I need help, I am working on Ubuntu and programming in C, I have detected the eye blink of a person and now I want to make a pattern such that if a person blink continuously say if person blink thrice in 3- 4 seconds then make pattern.I thought of a logic But dnt know how to implement it, Here it is, Store the start and end time of the blink in 2 arrays, Then check the End time of second blink and subtract it from start time of the first blink and set the threshold of 3-4 seconds, if subtraction is more than threshold, discared it, if not go for the next blink start time of first blink and endtime of third blink. If 3 blinks found in 3-4 sec called it as pattern found. I am new to C also, So it will be great, if some body can help me out.Thanking in anticipation.

Eye Blink Related

Hi, I am new to opencv. opencv and I need help, help. I am working on Ubuntu and programming in C, C and I have detected the single eye blink of a person and now person. Now I want to make a blinking pattern such that if a person blink blinks continuously say if person blink thrice in 3- 4 seconds then make pattern.I (3 times in 3-4 seconds) the pattern is recognized.

I have thought of a logic But dnt but dont know how to implement it, Here it is, it.

  1. Store the start and & end time of the blink in 2 arrays, arrays.
  2. Then check the End end time of a second blink and subtract it from start time of the first blink and set the blink. Set a threshold of 3-4 seconds, if seconds.
  3. If subtraction is more than threshold, discared discard it, if not go for the next blink start time of first blink and endtime of third blink.
  4. If 3 blinks found in 3-4 sec called it as pattern found.

I am new to C also, So so it will would be great, great if some body can somebody could help me out.Thanking out. Thanking in anticipation.

Edited by Steven Puttemans to make the question and suggested approach actually clear