Comments (2)
We've implemented this ourselves, so closing this issue.
from pygaze.
Thanks for offering your help! To answer your questions:
Background
PyGaze's design is very modular. There is a generic EyeTracker class that morphs into a class that is dedicated to a specific brand/type of eye trackers.
These dedicated classes can be found in the _eyetracker module, and work in the same way: They inherit the BaseEyeTracker class, and redefine the basic functions (see below) to work with a specific API.
GP3 Specifics
Unfortunately, I'm completely unfamiliar with the device, and do not have access to one. You mention the API is TCP/IP based, which is not unlike other existing implementations. For example, the EyeTribeTracker class offers support through a socket connection with a local server. The SMItracker class does something similar, but regulated via a (propriety) DLL from SensoMotoric Instruments that handles communications with a server (this can be local, but also on a different PC).
On the other side, there are the libeyelink and the TobiiTracker classes that are built on top of highly specific APIs (provided by SR Research and Tobii, respectively).
I would highly recommend to have a look at the implementation for EyeTribe and SMI trackers. If you have any specific questions, for example on what each method is expected to do, I'd be happy to help!
Basic functions
These are the functions you probably want to define, considering they form the basic functionality for using an eye tracker. For documentation on each, see the BaseEyeTracker class. For an example on how to implement them, see the EyeTribeTracker class.
- calibrate
- close
- connected
- drift_correction
- log
- pupil_size
- sample
- start_recording
- stop_recording
- wait_for_*
from pygaze.
Related Issues (20)
- libsmi HOT 1
- Can PyGaze use in Tobii EyeTracker 4C(Consumer Eye Trackers)?
- Exception: The setting "TRACKERSERIALNUMBER" does not exist HOT 1
- Inescapable frozen grey screen on eyetracking examples HOT 1
- Eyelink fixations map to unexpected values with 2560x1440p display HOT 2
- Add PyGaze to Open Neuroscience
- Eyelink 1000+ feed not shown in Eyelink menu / opensesame pygaze init item HOT 3
- time.clock depreciated HOT 2
- How to produce eye data file HOT 5
- FileNotFoundError: Could not find module 'iViewXAPI.dll' (or one of its dependencies). Try using the full path with constructor syntax. HOT 1
- Does PyGaze support tobii eye tracker 5? HOT 1
- AttributeError: module 'pylink.__version__' has no attribute 'split' HOT 2
- Could not find module 'iViewXAPI.dll' (or one of its dependencies). Try using the full path with constructor syntax. HOT 1
- Log messages in OpenGaze / GazePoint HOT 5
- Working example for Mac using webcam HOT 2
- tobii eyetrackers
- PyGaze missing package lxml for GazePoint
- PyGaze error in OpenSesame using GazePoint
- Tobii eye tracker has lots of temporal noise and missing samples HOT 2
- Converting Eyelink / Pygaze coordinates to be "compatible" with OS coordinate system
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pygaze.