Ask Your Question

pupil measurement possible?

asked 2012-09-12 11:45:12 -0500

avikbasu gravatar image

I am interested in measuring changes in pupil diameter using a standard webcam (e.g., Mac iSight). It would be preferable to track at 50Hz but lower frequencies would also be fine. Could this be implemented using simpleCV and, if so, how?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-09-12 12:32:38 -0500

kscottz gravatar image

This is not going to be possible at with an i-sight camera. Roughly the i-sight camera runs at a maximum of 30Hz. In my experience I've never been able to push it to more than 25Hz using simplecv. If you add some fairly sophisticated image processing you are probably looking at about 10Hz (assuming that you have some sort of real-time constraint). Also, depending on how far away the camera is from the face, you are going to get very few pixels on target (maybe on the order of ten pixels). If the head is moving it will be very difficult to get a fixed measurement on pupil size, what you are more likely to get is a relative pupil size (i.e. diameter of pupil over the width of the face, or something similar).

Generally eye/gaze tracking is mature field that relies on software that is really mature, or specialized hardware. If you are still interested I could maybe whip up an example that could get you part of the way there.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2012-09-12 11:45:12 -0500

Seen: 415 times

Last updated: Sep 12 '12