Fixed tracking for OpenCV 3.x

This commit is contained in:
AlexeyAB 2018-01-11 18:05:12 +03:00
parent 5424987dd1
commit 89d0c46bb3
1 changed files with 0 additions and 1 deletions

View File

@ -182,7 +182,6 @@ int main(int argc, char *argv[])
new_track_optflow_queue = track_optflow_queue; new_track_optflow_queue = track_optflow_queue;
} }
track_optflow_queue = new_track_optflow_queue; track_optflow_queue = new_track_optflow_queue;
new_track_optflow_queue.swap(std::queue<cv::Mat>());
passed_flow_frames = 0; passed_flow_frames = 0;
} }
#endif #endif