?

Log in

No account? Create an account
Eye tracking with your webcam. - Adventures in Engineering — LiveJournal
The wanderings of a modern ronin.

Ben Cantrick
  Date: 2008-08-28 13:18
  Subject:   Eye tracking with your webcam.
Public
  Tags:  reddit



http://www.codeproject.com/KB/cpp/TrackEye.aspx

The source code is up for download, too.

It seems reasonably accurate, but stop and think for a minute how much more accurate you could make it with two cams, one at each top corner of the monitor. Left to right accuracy could be pinpoint. Add another cam at the bottom center of the screen to ramp up the vertical accuracy and we might be able to throw away our mice...

I'm guessing the image recognition algos don't strictly need color, so all three cams could be black and white to reduce cost.
Post A Comment | 3 Comments | | Link






Alex Belits
  User: abelits
  Date: 2008-08-28 23:52 (UTC)
  Subject:   (no subject)
I'm guessing the image recognition algos don't strictly need color, so all three cams could be black and white to reduce cost.

At least one face detection algorithm with sample code mentioned in the article actually relies entirely on color distribution in the image (extracting hue value). Eye detection is in grayscale though.
Reply | Thread | Link



Ben Cantrick
  User: mackys
  Date: 2008-08-29 00:25 (UTC)
  Subject:   (no subject)
Right you are. Now that I actually read the article, their face-tracking algorithm relies on color gradients to track your face.
Reply | Parent | Thread | Link



  User: nickhalfasleep
  Date: 2008-08-29 15:44 (UTC)
  Subject:   (no subject)
The more information you can start with, the better results you can get I bet. I've always wanted to see how a good pattern / position matching algorithm is implemented.
Reply | Parent | Thread | Link



browse
May 2015