mirror of https://github.com/AlexeyAB/darknet.git
Fixed tracking for OpenCV 3.x
This commit is contained in:
parent
5424987dd1
commit
89d0c46bb3
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue