Home › Forums › Software Development › Replacing "LightlyFiltered"
Tagged: filter, lightlyfiltered
- This topic has 3 replies, 3 voices, and was last updated 7 years, 11 months ago by Jenny [Tobii].
- 23/03/2015 at 16:58 #2731NicolaParticipant
I made a simple code for a moving average filter, the idea is to use it to create a filtered GazeDataStream.
I was trying to find the code of the “LightlyFiltered” option but I wasn’t able.
How can I replace the pre-installed filter?
Or else, where is its code, so I can try to override it?
Thanks for your attention,
Neeque25/03/2015 at 17:40 #2751Jenny [Tobii]Participant
The gaze point data stream comes in two flavours from the EyeX Engine: lightly filtered and unfiltered. You choose between these by providing the corresponding gaze point data mode when you create the data stream instance. If you want unfiltered gaze data, you should create your gaze point data stream with the unfiltered mode.
Here are examples in sample code:
In EyeX SDK for .Net, see the MinimalGazeDataStream, Program.cs. There you would replace “GazePointDataMode.LightlyFiltered” with “GazePointDataMode.Unfiltered” to get the unfiltered stream.
In EyeX SDK for C/C++, see the MinimalGazeDataStream, MinimalGazeDataStream.c. There you would replace “TX_GAZEPOINTDATAMODE_LIGHTLYFILTERED” with “TX_GAZEPOINTDATAMODE_UNFILTERED” to get the unfiltered stream.27/04/2015 at 00:41 #2904Dolores JoyaParticipant
Are there any other modes? Is this written in the documentation as well? I cannot find it.30/04/2015 at 13:36 #2912Jenny [Tobii]Participant
These two modes are the only modes currently available for the Gaze Point data stream. There is also a Fixation data stream with two modes: sensitive and slow. You can read about these in the Developer’s Guide in the “Behaviors for global interactors (Data streams)” section.
- You must be logged in to reply to this topic.