gazegroup.org

Open source eye tracking and gaze interaction

Skip to content

Errors and Bugs in Trunk Development Version

Specifications and development discussions for the next version. Topics only relates to features in a future release. Please post reports and issues with the current version in the "ITU Gaze Tracker" forum.

Errors and Bugs in Trunk Development Version

Postby drozado » Fri Dec 04, 2009 6:31 pm

Martin,

I downloaded version 120 of GT from the SVN repository. I compiled it but I still get the same error as yesterday. Namely I (think) set up all the network options correctly I open the client and I try to connect to no avail. I post two images of the sequence of actions that I take. As you can see the client fails to carry out the connection. Very strange.

http://arantxa.ii.uam.es/~drozado/image1.jpg
http://arantxa.ii.uam.es/~drozado/image2.jpg

I also wrote a small script in python in order to access the x,y gaze coordinates through the UDP protocol. But I also couldn't manage to get the data (even though I could connect)

socket.error: (10054, 'Connection reset by peer')

I wanted to try out some pattern recognition algorithms I've been working on and see how they work to recognize 'pupil gestures' which I think could be a neat way for a disabled person to control a computer (commands such as Next Page, Previous Page, Esc...)
drozado
 
Posts: 62
Joined: Tue May 19, 2009 8:18 pm

Re: Errors and Bugs in Trunk Development Version

Postby martintall » Sat Dec 05, 2009 3:38 am

Ok, try this.

First, checkout the latest code from the SVN to make sure we're running the same version (few updates).

Calibrate as usual and when done go to the network tab and uncheck the servers (will cause a shutdown) and re-check them again (re-start). See if your able to connect using the client.
(also, make sure that there's no firewall blocking)

I had a request from another user on how to obtain the data using Python, so if you get something up and running please post code in the API thread.

Let me know how the gaze gestures works out, I've been thinking of extending the client platform to issue gesture and eye movement events such as smooth pursuit, blinks, left-right-left etc. besides fixations. Think Javier got some more code we might be able to use for that (?)

Have a great weekend!
User avatar
martintall
 
Posts: 149
Joined: Fri Apr 03, 2009 10:49 am
Location: Menlo Park, CA, USA

Re: Errors and Bugs in Trunk Development Version

Postby drozado » Thu Dec 10, 2009 6:23 pm

Hey Martin,

Thanks for the tip, I was playing around and finally managed to use the GT client. Although I have to follow a strange procedure:

First I unselect the UDP streaming and close the setup tab,
Then I open the client and press connect (it disconnects quickly since udp streaming was not enabled)
Then I reopen the network tab and activate UDP streaming
Then I press connect again in the client (which I didn't close during the process) and voilá, I start to get the data :)

Anyways, I wrote a small python client to fetch the data (is a bit faster than the previous 'algorithm' :) ) and I posted it in the API thread as you suggested.

In any case, thank you for providing 'customer' support ;)

P.D I can't wait to start trying out some pattern recognition algorithms for 'pupil gestures'. GT is such a cool project! Keep up the good work! ;)
drozado
 
Posts: 62
Joined: Tue May 19, 2009 8:18 pm

Re: Errors and Bugs in Trunk Development Version

Postby jamestica » Wed Jan 13, 2010 3:22 am

Hello Everybody,
first all congratulation for the proyect it's a wonderfull idea.
I downloaded trunk version 121 from svc compiled it with out problems, but when run program and select camera and camera resolution get a error :
IPin pPin = DsFindPin.ByCategory(capFilter, PinCategory.Capture, 0);
hr = videoControl.GetCaps(pPin, out pCapsFlags);
if (hr != 0)
MessageBox.Show("Error: videoControl.GetCaps in Camera.Capture. Message: " + DsError.GetErrorText(hr));

the error is "Error: videoControl.GetCaps in Camera.Capture. Message: Solicitud no compatible.\r\n"
Other problem is video no appear on videocontrol. When use only emgu source camera works fine.

Call Stack
Camera.dll!Camera.Capture.SetConfigParms(DirectShowLib.ICaptureGraphBuilder2 capGraph = {DirectShowLib.CaptureGraphBuilder2}, DirectShowLib.IBaseFilter capFilter = {System.__ComObject}, int iFrameRate = 30, int iWidth = 320, int iHeight = 240) Line 405 C#

I'm using window 7 ultimate.
User avatar
jamestica
 
Posts: 1
Joined: Wed Jan 13, 2010 3:04 am
Location: Santiago, Chile


Return to Gaze Tracker Development

Who is online

Users browsing this forum: No registered users and 1 guest