Gazegroup.org

Eye tracking for everyone

Gaze Tracker and MATLAB

Discussion about the API of the gaze tracker and the different algorithms employed for tracking eye features (pupil, corneal reflections) and gaze estimation.

Gaze Tracker and MATLAB

Postby javadi » Mon Jun 18, 2012 3:27 pm

Hi

I watched a video on Gaze Tracker posted in YouTube, and was impressed by your solution, specially by its speed. There are not many available algorithms running with such a high processing speed (~160fps). I would like to congratulate you for your great job.

I have a question. I have developed a simple pupil-detection method and would like to compare it with Gaze Tracker, actually the pupil-centre-point-detection part, in terms of speed and accuracy. The mapping of pupil-centre-point to gazing-point is not my concern at the moment. I developed my method in MATLAB. I would like to know how I can use Gaze Tracker or any extension of it in MATLAB. I have a set of locally stored images that I would like to process.

Very many thanks in advance. :)
javadi
 
Posts: 2
Joined: Mon Jun 18, 2012 3:20 pm

Re: Gaze Tracker and MATLAB

Postby martintall » Tue Jun 19, 2012 11:15 am

The pupil detection in the ITU GT is performed by blob detection which provides bounding rectangle, area and center etc. The method for connected component labeling/blob detection relies on the code from AForge, seehttp://www.aforgenet.com/framework/features/blobs_processing.html.

The threshold used is either fixed or dynamically adjusted, see the autotune.cs class. It's pretty basic but appears to work ok for most situations.

Regarding the images you'd like to test, are they cut-outs with just the eye area or full-frame images? Please post a sample.

Haven't attempted to call .Net libraries/C# code from Matlab but it appears possible, see http://stackoverflow.com/questions/434331/interoperating-between-matlab-and-c-sharp

We'd be happy to include and improvements you might accomplish, the current method is a bit crude.
User avatar
martintall
Site Admin
 
Posts: 385
Joined: Fri Apr 03, 2009 8:49 am
Location: Durham, NC, USA

Re: Gaze Tracker and MATLAB

Postby javadi » Mon Jun 25, 2012 1:10 pm

Dear Martin

Thanks for your reply. I appreciate your help. Since then, I was trying to run a simple function from a .net DLL in MATLAB. Not much success yet though. So, I am currently trying to take my code from MATLAB to Visual Studio. In the worse case, I ignore this part and simply use your code to process my images.

I downloaded Gazetracker code and went through it. I couldn't find a separate function that does the pupil detection. Ideally, I am searching for a function that gets a gray-scale eye image (monocular) as input and outputs the position of pupil-centre point as (x, y). Would you please help me on it?

Here I've attached a sample eye-image.

Cheers :)
Attachments
Image_S01_015_Raw.png
Single-Eye Image
Image_S01_015_Raw.png (89.21 KiB) Viewed 545 times
javadi
 
Posts: 2
Joined: Mon Jun 18, 2012 3:20 pm


Return to API and tracking algorithms

Who is online

Users browsing this forum: No registered users and 1 guest

cron