diff options
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) |