diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-03-28 09:23:18 +0100 |
---|---|---|
committer | Stéphane Lenclud <github@lenclud.com> | 2019-03-28 17:45:05 +0100 |
commit | b658baa27d4ecf98104043b893a3e5af650cf114 (patch) | |
tree | 64ebb51d7e482eb375ca8e713e2cad471c2a1aa6 /tracker-kinect-face/camera_kinect_ir.cpp | |
parent | 7e75c5dce340ced8313b0e5067bfdc8cf12f8a5d (diff) |
tracker/kinect: kill magic number
Diffstat (limited to 'tracker-kinect-face/camera_kinect_ir.cpp')
-rw-r--r-- | tracker-kinect-face/camera_kinect_ir.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<const video::impl::frame&, bool> 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 }; } |