diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2021-09-26 14:12:39 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2021-09-26 14:22:28 +0200 |
commit | cf1261d2e4c21d3b63f05f708e51ebee53b45be7 (patch) | |
tree | 6ebac57cac93671a76729db884e5e9ae6e045c65 /tracker-pt/module | |
parent | 0e81f6f1b91519101774b0cf944e733a24076dd1 (diff) |
tracker/pt: fix build
Diffstat (limited to 'tracker-pt/module')
-rw-r--r-- | tracker-pt/module/frame.cpp | 3 |
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) |