Inserting Gazepoint GP3 Eye-tracker into Experiment in Builder

456 views
Skip to first unread message

Patrick Durkee

unread,
Mar 15, 2016, 6:38:51 PM3/15/16
to psychopy-users
Hello,

I am psych grad student working with the Builder mode in PsychoPy v.1.83.04 running on Windows 7. I've built an experiment in the Builder and I'm trying to figure out a way to set up my Gazepoint Eyetracker to record x/y coordinates for certain loops in the experiment. Specifically, I am having participants rate certain characteristics of people and want to know what parts of the body are being looked at most. 

At this point, I can't even figure out how to connect the eye tracker to my experiment at all. I was able to successfully run the eye tracking demo using ggcursor (see https://groups.google.com/forum/#!msg/psychopy-users/SxcYlj9KwsQ/mvVFEC-g4UMJ), so I know that it can work. 

I would greatly appreciate any guidance for setting up the eye tracker with my own experiment (preferably in the builder, but I'd welcome input for the coder as well).

This is my first time posting, so hopefully I am providing enough info. Please let me know what other information I could provide that would help you better address this question.

Thanks!

Patrick Durkee

Martin Guest

unread,
Mar 23, 2016, 8:14:26 AM3/23/16
to psychopy-users
Hi Patrick,
 
Apologies for delay in getting back to you, I havent checked this forum for a while.
 
first question is, do you just have the gazepoint gp3 eyetracker, or did you get the gazepoint analysis software bundle that goes with it? if you did get the software package then all you have to do is send messages to the gp3, so you can partition your data into trials etc. this should be quite straighforward to do - just a few lines of python code :)  you can use the analysis package to collect data and analyze data.
 
If you only have the eyetracker, then the gp3 is integrated into ioHub, see http://www.isolver-solutions.com/iohubdocs/index.html for further info. Also look at some of the iohub demos that come with psychopy too. I dont know much about the builder side of things, so I dont know how easy it is to use the ioHub from there, I think someone else on the forum will have to help you with that. I only really know the coder.
 
However I did write a very simple python class for a phd student where I work, that can then be imported it into the builder.You can then just send simple commands like start\stop recording, send message etc. this was fine for him.
 
The main problem you have with eyetracking is collecting the data, simple because there is alot of data, hence thats why using the iohub would be more beneficial to you.
 
Couple of points to note either way you go:
 
you will need to use the gazepoint control app to calibrate
you will need to run the experiment on a i5 computer or better
 
Thanks
Martin

Michael MacAskill

unread,
Mar 23, 2016, 5:16:21 PM3/23/16
to psychop...@googlegroups.com
Hi Patrick,

Just following up on Martin's message: I somehow missed your original post.

> At this point, I can't even figure out how to connect the eye tracker to my experiment at all. I was able to successfully run the eye tracking demo using ggcursor (see https://groups.google.com/forum/#!msg/psychopy-users/SxcYlj9KwsQ/mvVFEC-g4UMJ), so I know that it can work.

Well it seems the good news is that you have already passed the highest hurdle. If you have successfully run that demo, then you *have* connected to the eye tracker.

There are also some Builder demos with ioHub eye tracking which should show the small code snippets you need to use in a code component to integrate eye tracking with Builder.

You need to look in the folder containing PsychoPy's Builder demos (for me at least, the sub-folder of ioHub Builder demos isn't directly accessible from the Demos menu within Builder). Try to get that demo running. That should then serve as a template for getting eye tracking integrated into your own experiment.

Come back to us with specific issues.

Regards,

Michael




> On 24/03/2016, at 01:14, Martin Guest <psychopy...@gmail.com> wrote:
>
> Hi Patrick,
>
> Apologies for delay in getting back to you, I havent checked this forum for a while.
>
> first question is, do you just have the gazepoint gp3 eyetracker, or did you get the gazepoint analysis software bundle that goes with it? if you did get the software package then all you have to do is send messages to the gp3, so you can partition your data into trials etc. this should be quite straighforward to do - just a few lines of python code :) you can use the analysis package to collect data and analyze data.
>
> If you only have the eyetracker, then the gp3 is integrated into ioHub, see http://www.isolver-solutions.com/iohubdocs/index.html for further info. Also look at some of the iohub demos that come with psychopy too. I dont know much about the builder side of things, so I dont know how easy it is to use the ioHub from there, I think someone else on the forum will have to help you with that. I only really know the coder.
>
> However I did write a very simple python class for a phd student where I work, that can then be imported it into the builder.You can then just send simple commands like start\stop recording, send message etc. this was fine for him.
>
> The main problem you have with eyetracking is collecting the data, simple because there is alot of data, hence thats why using the iohub would be more beneficial to you.
>
> Couple of points to note either way you go:
>
> you will need to use the gazepoint control app to calibrate
> you will need to run the experiment on a i5 computer or better
>
> Thanks
> Martin

--
Michael R. MacAskill, PhD 66 Stewart St
Research Director, Christchurch 8011
New Zealand Brain Research Institute NEW ZEALAND

Senior Research Fellow, michael....@nzbri.org
Te Whare Wānanga o Otāgo, Otautahi Ph: +64 3 3786 072
University of Otago, Christchurch http://www.nzbri.org/macaskill

Reply all
Reply to author
Forward
0 new messages