mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
Fixed yolo_console_dll.cpp
This commit is contained in:
@ -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(); }
|
||||||
|
Reference in New Issue
Block a user