Coder Social home page Coder Social logo

GP3 support about pygaze HOT 2 CLOSED

esdalmaijer avatar esdalmaijer commented on July 19, 2024
GP3 support

from pygaze.

Comments (2)

esdalmaijer avatar esdalmaijer commented on July 19, 2024 1

We've implemented this ourselves, so closing this issue.

from pygaze.

esdalmaijer avatar esdalmaijer commented on July 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.