This file contains 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
import time | |
import tobii_research as tr | |
global_gaze_data = None | |
def gaze_data_callback(gaze_data): | |
global global_gaze_data | |
print gaze_data # nothing happens | |
global_gaze_data = gaze_data |