summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2021-09-26 14:12:39 +0200
committerStanislaw Halik <sthalik@misaki.pl>2021-09-26 14:22:28 +0200
commitcf1261d2e4c21d3b63f05f708e51ebee53b45be7 (patch)
tree6ebac57cac93671a76729db884e5e9ae6e045c65
parent0e81f6f1b91519101774b0cf944e733a24076dd1 (diff)
tracker/pt: fix build
-rw-r--r--tracker-pt/module/frame.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/tracker-pt/module/frame.cpp b/tracker-pt/module/frame.cpp
index 798706b8..b1690aa1 100644
--- a/tracker-pt/module/frame.cpp
+++ b/tracker-pt/module/frame.cpp
@@ -25,7 +25,6 @@ void Preview::set_last_frame(const pt_frame& frame_)
eval_once(qDebug() << "tracker/pt: camera frame depth: 3 !=" << frame->channels());
frame_copy.create(cv::Size{frame_out.cols, frame_out.rows}, CV_8UC3);
frame_copy.setTo({0});
- return *this;
}
const bool need_resize = frame2.cols != frame_out.cols || frame2.rows != frame_out.rows;
@@ -33,8 +32,6 @@ void Preview::set_last_frame(const pt_frame& frame_)
cv::resize(frame2, frame_copy, cv::Size(frame_out.cols, frame_out.rows), 0, 0, cv::INTER_NEAREST);
else
frame->copyTo(frame_copy);
-
- return *this;
}
Preview::Preview(int w, int h)