summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/module/camera.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-03-20 10:26:07 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-03-20 10:26:07 +0100
commit89d5870138a4ad26c00cddb209ebe5312fe85dc3 (patch)
tree7b7a5ac0c1246ef9efcc7aa60a499c533812d815 /tracker-pt/module/camera.cpp
parent3921bf36d40ed83bb0690f24b0b480ed618f1a88 (diff)
tracker/pt: fix previous commit
Diffstat (limited to 'tracker-pt/module/camera.cpp')
-rw-r--r--tracker-pt/module/camera.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-pt/module/camera.cpp b/tracker-pt/module/camera.cpp
index a17aaffb..a70698de 100644
--- a/tracker-pt/module/camera.cpp
+++ b/tracker-pt/module/camera.cpp
@@ -141,7 +141,7 @@ bool Camera::get_frame_(cv::Mat& img)
int stride = frame.stride;
if (stride == 0)
stride = cv::Mat::AUTO_STEP;
- img = cv::Mat(frame.height, frame.width, CV_8UC(frame.channels), (void*)frame.data, frame.stride);
+ img = cv::Mat(frame.height, frame.width, CV_8UC(frame.channels), (void*)frame.data, stride);
return true;
}
}