From b658baa27d4ecf98104043b893a3e5af650cf114 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 28 Mar 2019 09:23:18 +0100 Subject: tracker/kinect: kill magic number --- tracker-kinect-face/camera_kinect_ir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracker-kinect-face/camera_kinect_ir.cpp b/tracker-kinect-face/camera_kinect_ir.cpp index 8a2f6bcb..b1975db9 100644 --- a/tracker-kinect-face/camera_kinect_ir.cpp +++ b/tracker-kinect-face/camera_kinect_ir.cpp @@ -98,7 +98,7 @@ std::tuple CameraKinectIr::get_frame() iFrame.data = iMatFrame.ptr(); iFrame.width = 512; iFrame.height = 424; - iFrame.stride = 0; // Auto step + iFrame.stride = cv::Mat::AUTO_STEP; iFrame.channels = 3; return { iFrame, new_frame }; } -- cgit v1.2.3