Skip to content

4. Examples

Davide De Tommaso edited this page Jun 21, 2019 · 7 revisions

A set of Python examples are provided to start exploiting the device.

Once the TobiiGlassesPyController is correctly installed, please download the examples from the repository:

git clone https://github.com/ddetommaso/TobiiGlassesPyController-examples.git
cd TobiiGlassesPyController-examples

connect.py

A simple Python script showing how to connect with the Tobii Glasses Pro 2 device

cd TobiiGlassesPyController-examples
python connect.py
[DEBUG]: Connecting to the Tobii Pro Glasses 2 ...
[DEBUG]: Tobii Pro Glasses 2 successful connected!
Clone this wiki locally