Fixed console app on Linux

pull/5342/head
AlexeyAB 8 years ago
parent 4528f9b4b4
commit 1a1c28227f
  1. 3
      src/yolo_console_dll.cpp

@ -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();

Loading…
Cancel
Save