summaryrefslogtreecommitdiffhomepage
path: root/tracker-kinect-face/camera_kinect_ir.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-03-28 09:22:06 +0100
committerStéphane Lenclud <github@lenclud.com>2019-03-28 17:45:05 +0100
commitd3445ae71743de358516d295294f4f569f1adfa5 (patch)
treeda49fba6770b767c9c407f1368d0dcc260f2e889 /tracker-kinect-face/camera_kinect_ir.h
parent553d1a57244c1f8870dd3e83fbd9619a441db74b (diff)
tracker/kinect: get metadata only on first frame
Diffstat (limited to 'tracker-kinect-face/camera_kinect_ir.h')
-rw-r--r--tracker-kinect-face/camera_kinect_ir.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tracker-kinect-face/camera_kinect_ir.h b/tracker-kinect-face/camera_kinect_ir.h
index cb525f72..d5b25baa 100644
--- a/tracker-kinect-face/camera_kinect_ir.h
+++ b/tracker-kinect-face/camera_kinect_ir.h
@@ -68,6 +68,10 @@ private:
video::frame iFrame;
cv::Mat iMatFrame;
cv::Mat raw8;
+
+ float fov = 0;
+ int width = 0, height = 0;
+ bool first_frame = true;
};
}