mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
Fixed console app on Linux
This commit is contained in:
@ -87,7 +87,8 @@ int main()
|
||||
std::vector<bbox_t> result_vec, thread_result_vec;
|
||||
detector.nms = 0.02; // comment it - if track_id is not required
|
||||
std::thread td([]() {});
|
||||
std::atomic<int> ready_flag = false;
|
||||
std::atomic<int> ready_flag;
|
||||
ready_flag = false;
|
||||
cv::VideoCapture cap(filename);
|
||||
for (; cap >> frame, cap.isOpened();) {
|
||||
td.join();
|
||||
|
Reference in New Issue
Block a user