OpenGaze, implementation of blink data and get_sample methods#176
Open
DerickALagunes wants to merge 1 commit intoesdalmaijer:masterfrom
Open
OpenGaze, implementation of blink data and get_sample methods#176DerickALagunes wants to merge 1 commit intoesdalmaijer:masterfrom
DerickALagunes wants to merge 1 commit intoesdalmaijer:masterfrom
Conversation
new blink data from the GazePoint API changes in 2015: Refer to this post: https://www.gazept.com/blog/analysis/gazepoint-analysis-v3-0-0-blink-tracking/ I added the data header for: 'BKID', 'BKDUR' & 'BKPMIN' And the class method "enable_send_blink" which sends the signal to retrieve Blink data from the GazePoint API. This method is also called at the end of the constructor by default but can be controlled too. I have also implemented a "get_sample" method by using a list variable "_data_stream" created in the constructor, the list appends the lines created at the _log_sample method, this funtionalyty can be turn on by the user at the constructor with a boolean value "data_stream" Hope this functionality is uselful for researchers, it was for me because i had to make use of blink metrics.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I have modified the opengaze.py to implement the new blink data from the GazePoint API changes in 2015:
Refer to this post:
https://www.gazept.com/blog/analysis/gazepoint-analysis-v3-0-0-blink-tracking/
I added the data header for:
'BKID', 'BKDUR' & 'BKPMIN'
And the class method "enable_send_blink" which sends the signal to retrieve Blink data from the GazePoint API. This method is also called at the end of the constructor by default but can be controlled too.
I have also implemented a "get_sample" method by using a list variable "_data_stream" created in the constructor, the list appends the lines created at the _log_sample method, this funtionalyty can be turn on by the user at the constructor with a boolean value "data_stream"
Hope this functionality is uselful for researchers, it was for me because i had to make use of blink metrics.