Emily Yu Williams College Class of 2011 |
Since there didn't seem to be many more opportunities for user testing in the near future, I began working on implementing a blink detection for the Camera Mouse.
The way I decided to go about this was to use difference images between two frames of the video images. By make each frame into a byte array then subtracting the values between two adjacent frames, I found the difference in brightness. This was helpful, because when staying relatively still and blinking, I got an image that looked like this:
Whereas, with full head movement, the image looked like this:
By taking these difference images every 5 frames or so and plotting projection images both vertically and horizontally, I could differentiate decently well between when the user blinked and when the user was moving his or her whole head.Using these projection images, I could proficiently detect blinks and implement a working first draft of the Camera Mouse with blink detection.
Forward
Back