​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​

Does EyeTech have a python wrapper for their eye trackers?

Where do I find it?

asked 16 Jun '15, 15:52

phyatt's gravatar image

phyatt ♦♦
15792671
accept rate: 8%


Yes!

Here is where most of the development has been happening:

https://github.com/peteristhegreat/ioHub/tree/master/devices/eyeTrackerInterface/HW/EyeTech/QuickLink

It has been tested with a VT2/VT3 (AEye) and Python 3.4 64 bit. For viewing the images in this example, MatPlotLib and NumPy were used.

For it to function properly, make sure you are using the same bitness between python and the QL2 libraries.

QL2 64 bit DLL info and download

ToDo

  • Settings
  • Calibration
  • PyQt example?

Running the Example

Plug in an eye tracker, make sure it is working with Quick Glance... Close Quick Glance and run:

python quicklink2.py

Example Output

alt text

QL2 API Version:  2.7.3.2
num of devices found: 1
Device id: 1
Model:  AEye 1.1.3.3
SN:     16777436
Sensor: 2048x1295
starting device

ImageData:       PixelData:     <__main__.LP_c_ubyte object at 0x0000000010EBA048>
 Size:  2048x1295
 Timestamp:     1304025854.40
 Gain:  17
 FrameNumber:   2908
 ROI:   0,0 2048x1295
LeftEye:        True 1573.62,865.81
RightEye:       True 960.25,829.69
GazePoint:       Valid: False
 x:     nan
 y:     nan
Focus:  15.44
Distance:       64.90
Bandwidth:      0
DeviceId:       1

...

done

alt text

QL2 API Version:  2.7.3.1
num of devices found: 1
Device id: 1
Model:  EyeOn
SN: 4806
Sensor: 2592x1944
starting device

ImageData:   PixelData: <__main__.LP_c_ubyte object at 0x00000000069E9B48>
 Size:  2592x1944
 Timestamp: 1295773750.40
 Gain:  37
 FrameNumber:   416
 ROI:   680,208 1296x576
LeftEye:    True 1724.15,475.75
RightEye:   True 842.66,447.60
GazePoint:   Valid: False
 x: 0.0
 y: 0.0
Focus:  13.44
Distance:   42.66
Bandwidth:  63
DeviceId:   1

...

done
link

answered 16 Jun '15, 16:03

phyatt's gravatar image

phyatt ♦♦
15792671
accept rate: 8%

edited 16 Jun '15, 17:16

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×12
×8
×4
×2
×1

Asked: 16 Jun '15, 15:52

Seen: 2,593 times

Last updated: 16 Jun '15, 17:16

Copyright © 2014-2017 EyeTech Digital Systems Inc. All rights reserved. | About | FAQ | Privacy | Support | Contact | Powered by BitNami OSQA