Hi,
I wanted to ask about ideas regarding processing eye data, in my app in short I want to show moving ball on screen, capture gaze data and show all info on line chart. (first offline after recording, in later stage online as well) The problem I stumbled into is that when in gazeListener I am reaching to form to get ball position on screen and in the same time I am saving data from eye tracker the gui can freeze for a very small moment due to mentioned processing (not to mention that Eye tribe data recording is quite peformance hungry). Despite not having to complicated login in listener the performance is quite poor...
I am using Java swing for now (tried with JavaFX but seems that it was less efficient) and Jfreechart for showing data.
Ideas that come to my mind:
- Eye Tribe API solution - is it possible to make gazeData events less frequent ? in UI i saw possibility to change Hz from 30 to 60 - but will this change something ? not to mention that in my UI this option cannot be selected
- java side solution - run them in separate threads with prioritization of GUI (tried with InvokeLater with no bigger effect)
Any ideas how to tackle this problem ?