aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/argaze/utils/contexts/OpenCV.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/argaze/utils/contexts/OpenCV.py b/src/argaze/utils/contexts/OpenCV.py
index 6859a0c..e921db0 100644
--- a/src/argaze/utils/contexts/OpenCV.py
+++ b/src/argaze/utils/contexts/OpenCV.py
@@ -74,7 +74,7 @@ class Cursor(ArFeatures.ArContext):
self._process_gaze_position(timestamp = int((time.time() - self._start_time) * 1e3), x = x, y = y)
-class Movie(Cursor):
+class Movie(Cursor, ArFeatures.DataPlaybackContext):
"""Playback movie images and capture cursor position over OpenCV window.
!!! warning
@@ -225,7 +225,7 @@ class Movie(Cursor):
return 0.
-class Camera(Cursor):
+class Camera(Cursor, ArFeatures.DataCaptureContext):
"""Capture camera images and capture cursor position over OpenCV window.
!!! warning