AlexeyAB
2017-08-08 1a1c28227fa36db24a340e57c70fb03aecb7c908
Fixed console app on Linux
1 files modified
3 ■■■■ changed files
src/yolo_console_dll.cpp 3 ●●●● patch | view | raw | blame | history
src/yolo_console_dll.cpp
@@ -87,7 +87,8 @@
                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();