aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/argaze/TobiiGlassesPro2/TobiiVideo.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/argaze/TobiiGlassesPro2/TobiiVideo.py b/src/argaze/TobiiGlassesPro2/TobiiVideo.py
index 7625c3c..2cc12cf 100644
--- a/src/argaze/TobiiGlassesPro2/TobiiVideo.py
+++ b/src/argaze/TobiiGlassesPro2/TobiiVideo.py
@@ -21,6 +21,10 @@ class TobiiVideoFrame():
width: int
height: int
+ def copy(self):
+ """Copy tobii video frame."""
+ return TobiiVideoFrame(self.matrix.copy(), self.width, self.height)
+
class TobiiVideoSegment():
"""Handle Tobii Glasses Pro 2 segment video file."""