gazeplay / tobiistreamengineforjava Goto Github PK
View Code? Open in Web Editor NEWThis project allows to use the Tobii Core SDK Stream Engine API in Java language through the Java Native Interface (JNI)
License: GNU General Public License v3.0
This project allows to use the Tobii Core SDK Stream Engine API in Java language through the Java Native Interface (JNI)
License: GNU General Public License v3.0
i change the jni cpp code , how to rebuild the so file ?
use gcc? please help me ? thanks !
Here is the output when running on Ubuntu 18.10:
2020-01-26 18:41:47,453 INFO net.gazeplay.commons.gaze.devicemanager.GazeDeviceManagerFactory - Eye-tracker = tobii_eyeX_4C
2020-01-26 18:41:47,459 INFO tobii.Tobii - Tobii: Loading needed libraries using directory null/TobiiStreamEngineForJava
2020-01-26 18:41:47,460 INFO tobii.Tobii - Tobii: Copying /lib/tobii/x64/libtobii_jni_stream_engine.so into null/TobiiStreamEngineForJava
2020-01-26 18:41:47,467 INFO tobii.Tobii - Tobii: Loading library /home/dev/repos/GazePlay/null/TobiiStreamEngineForJava/lib/tobii/x64/libtobii_jni_stream_engine.so
Also, within IntelliJ I can see the following:
It appears that this is stemming from here
LocalAppData is not present on Linux, unlike Windows. This SO answer gives a good solution, but I haven't tried it yet.
To give more accessibility to this project we should find a way to access the position of both eye separatly, for people using eye-tracking with one eye.
For now this function is integrated in some Tobii software for windows, but not for Linux.
in some cases, i can't access to the GazePosition because the librairy is call 2 times at the same time, so we have a concurrency.
I hope you guys can help me. When I use the project in Netbeans it works and prints out the gaze position in a extra window when I run the TobiiDemo class. But when I click on clean and build, the jar in the target folder does nothing. The class by itself in another project without the gaze function works fine. Any idea how to fix that?
In order to be used with a MacOS device we need to generate the libraries compatible to MacOS and to add the corresponding load inside the Tobii.Java class (in the MacOS TODO section)
Hello, I am a master's research student at the University of Coimbra currently doing some researcher with Tobii 4c eye-tracker. I have a question regarding whether you needed any kind of license to obtain the coordinates of the gaze. I'm currently trying to play with it in MatLab but every type of data regarding gaze seems to be limited with Tobi Pro SDK. Did you use Tobii Pro SDK?
Thanks for your time
Hello, I am using a runnable jar file in order to trigger the recording of the sensor. Until now, i had no problem but recently i got the following error
Tobii: Copying /lib/tobii/x64/tobii_stream_engine.dll into C:\Users\Kurit\AppData\Local/.tobiiStreamEngineForJava
java.lang.NullPointerException
at java.base/java.util.Objects.requireNonNull(Objects.java:208)
at java.base/java.nio.file.Files.copy(Files.java:3112)
at tobii.Tobii.copyResourceIntoDir(Tobii.java:112)
at tobii.Tobii.loadTobiiLibraries(Tobii.java:74)
at tobii.Tobii.loadNeededLibraries(Tobii.java:44)
at tobii.Tobii.loadIfNotLoaded(Tobii.java:33)
at tobii.Tobii.gazePosition(Tobii.java:19)
at tobii.TobiiDemo.main(TobiiDemo.java:38)
I understand that when running the runnable, the code is somehow not detecting the connected eye-tracker, I am not sure what I did to trigger this, but the device only seems to work when i start the java code from Eclipse, while the execution of the Jar file won't trigger the eye-tracker to start recording.
Thank you in advance for your help and time.
New release when these functions will be implemented:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.