Home Forums EyeX Feature Requests feat Request for Java

This topic contains 25 replies, has 18 voices, and was last updated by Profile photo of nchfh nchfh 1 week, 4 days ago.

Viewing 15 posts - 1 through 15 (of 26 total)
  • Author
    Posts
  • #173
    Profile photo of Tamler
    Tamler
    Participant

    I am an interaction designer and media artist who uses Java and Processing for rapid testing and iteration. My C++-fu is weak.

    I’m excited to begin playing.

    #176
    Profile photo of Robert [Tobii]
    Robert [Tobii]
    Moderator

    Thank you for your feature request. I agree, an EyeX Java binding and Processing plugin would be really useful. We have done Java bindings for other API:s and have a guy at Tobii who has built eye-tracking plugins for Processing before, so technically it is definitely possible. It is just a matter of prioritization, so if there is much more demand for it we will push it upwards in the roadmap. Stay tuned!

    #185
    Profile photo of intelligen
    intelligen
    Participant

    Add another vote for Java. In the meantime, perhaps Java developers could access the C API via JNA.

    #195
    Profile photo of Marc H.
    Marc H.
    Participant

    I preordered two EYEX dev kits and would also welcome a native JAVA API a lot. I never liked C/C++ much and just grew up with JAVA, so that would be the best news possible on this. Thank you

    #238
    Profile photo of FredS
    FredS
    Participant

    I would definitely like to see a plugin for EyeX with Processing.

    #482
    Profile photo of Giannis
    Giannis
    Participant

    A java plugin is a great advantage to order a tobii (Rex) device!

    #648
    Profile photo of JSM
    JSM
    Participant

    Hello Team Tobii,, I want to work with processing on eye tracking type of stuff using tobii … is their any library they have opencv,, can that library can be work with the Tobbi ir do that have some sort of libraries so in the Processing IDE if I would like to work on Tobii ????

    waiting for reply.

    #688
    Profile photo of JSM
    JSM
    Participant

    Waiting …..

    #692
    Profile photo of Robert [Tobii]
    Robert [Tobii]
    Moderator

    Here’s an update from Tobii. We want to make a Java binding, but right now we have many other cool things in the pipeline and have not been able to prioritize Java support for a while. If you want to start working with Java we recommend to use JNI or Swig to create your own binding towards the C API. If one of you has already created a Java binding or Processing plugin, you are very welcome to share it with the rest of the community.

    #745
    Profile photo of Solipsy
    Solipsy
    Participant

    I’d also like to have a Java API, or at least an OpenFrameworks plugin. I’d prefer Java though. I’ve never created a JNI binding to a C API, but maybe I’ll try it whet my unit arrives.

    #1294
    Profile photo of Marc H.
    Marc H.
    Participant

    Still nothing new on this? I have my dev kit since a few weeks not and cant really do anything with it. I counted on that there would be a Java API/SDK too.

    #1299
    Profile photo of Anders [Tobii]
    Anders [Tobii]
    Moderator

    Hi Marc,
    it’s clear that we will have to do something about that Java support 😉

    But, like Robert wrote, there are many things in the works. So please bear with us.

    #1301
    Profile photo of K. Schmidt
    K. Schmidt
    Participant

    Hi,

    FYI: As recommended before, it is possible to bind the native methods to java using JNI.

    I successfully implemented an interface for using the eyetrackers coordinates. Maybe I can share the code, but I have to check if I am allowed to first (copyright). Perhaps for now a short guide is of interest:

    1) Create a java class with the native methods: One for each coordinate (=4) and one to start the tracking and if needed, one to stop it.
    2) Generate the header file (e.g. using javah)
    3) Create your c/c++ – code:
    For me, the MinimalTracker sample was helpful. To start and stop the tracking, the main()-method provides all needed information. Note that xsleep will not work in jvm. The coordinates can be passed to the JNIExport-Methods.
    4) Build it as .dll
    5) include the .dll and the TobiiGazeCore__.dll in your java project.

    Greetings

    #1313
    Profile photo of Laser Erich
    Laser Erich
    Participant

    my tobii eyex controller arrived yesterday. i’m also struggling to implement it in openframeworks or processing. does anyone have a solution for openframeworks? – think its easier to build a bridge because it’s c++

    #1319
    Profile photo of Gerrit Nautz
    Gerrit Nautz
    Participant

    I would like to see Java as well.

    Greetings
    Gerrit

Viewing 15 posts - 1 through 15 (of 26 total)

You must be logged in to reply to this topic.