diff options
-rw-r--r-- | src/argaze/utils/contexts/TobiiProGlasses2.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/argaze/utils/contexts/TobiiProGlasses2.py b/src/argaze/utils/contexts/TobiiProGlasses2.py index e3c68b0..1f7ae13 100644 --- a/src/argaze/utils/contexts/TobiiProGlasses2.py +++ b/src/argaze/utils/contexts/TobiiProGlasses2.py @@ -1403,8 +1403,13 @@ class PostProcessing(ArFeatures.PostProcessingContext): data_list.append((next_data_ts, next_data_object, next_data_object_type)) next_data_ts, next_data_object, next_data_object_type = self.__next_data() + # TODO: Add attribute to disable realtime replay + time.sleep( (next_video_ts - self.__video_ts) * 1e-3 ) + + # Output video and data output = self.__video_ts, self.__video_image, data_list + # Store next video image as current self.__video_ts, self.__video_image = next_video_ts, next_video_image return output |