diff options
Diffstat (limited to 'tracker-kinect-face/camera_kinect_ir.h')
-rw-r--r-- | tracker-kinect-face/camera_kinect_ir.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tracker-kinect-face/camera_kinect_ir.h b/tracker-kinect-face/camera_kinect_ir.h index d9e814a0..a2ddaf76 100644 --- a/tracker-kinect-face/camera_kinect_ir.h +++ b/tracker-kinect-face/camera_kinect_ir.h @@ -44,8 +44,8 @@ struct CameraKinectIr final : video::impl::camera CameraKinectIr(); ~CameraKinectIr() override; - - [[nodiscard]] bool start(const info& args) override; + // From video::impl::camera + [[nodiscard]] bool start(info& args) override; void stop() override; bool is_open() override; std::tuple<const video::impl::frame&, bool> get_frame() override; @@ -65,9 +65,12 @@ private: // Frame needs to stay alive while we access the data buffer IInfraredFrame* iInfraredFrame = nullptr; + // + ICoordinateMapper* iCoordinateMapper = nullptr; + video::frame iFrame; cv::Mat iMatFrame; - cv::Mat raw8; + cv::Mat iRaw8; float fov = 0; int width = 0, height = 0; |