Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenGaze, implementation of blink data and get_sample methods #176

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DerickALagunes
Copy link

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.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants