First frame of video/camera is presented to the user to select the box where
your eyes it. Use mouse to left-click at a point, drag the cursor to another
point, and release the left-button. You won't see a box unless you are done
dragging. Once box is visible press q
. The process will start.
Process a given video for blinks. Very fast.
- python blinky.py -f video_file.webm
- Select a region on frame where eye it.
- Let it run till video is over. CVF files will be produced with blink location. Two algorithms are used: one based on edge detection and other one is based on couting dark-pixals.
Gui version of blinky.py. Only for testing. Very slow.
Process the live feed from given camera index ( default 0 ). Only for demo purpose.