Fixed yolo_console_dll.cpp

pull/328/head
AlexeyAB 8 years ago
parent 437fbb4b3a
commit a4b591e8c2
  1. 2
      .circleci/config.yml
  2. 2
      src/yolo_console_dll.cpp

@ -6,7 +6,7 @@ jobs:
working_directory: ~/work working_directory: ~/work
steps: steps:
- checkout - checkout
- run: make LIBSO=1 - run: make LIBSO=1 -j 8
- run: | - run: |
ulimit -c unlimited ulimit -c unlimited
./darknet ./darknet

@ -218,7 +218,7 @@ int main(int argc, char *argv[])
auto img = detector.load_image(filename); auto img = detector.load_image(filename);
std::vector<bbox_t> result_vec = detector.detect(img); std::vector<bbox_t> result_vec = detector.detect(img);
detector.free_image(img); detector.free_image(img);
show_result(result_vec, obj_names); show_console_result(result_vec, obj_names);
#endif #endif
} }
catch (std::exception &e) { std::cerr << "exception: " << e.what() << "\n"; getchar(); } catch (std::exception &e) { std::cerr << "exception: " << e.what() << "\n"; getchar(); }

Loading…
Cancel
Save