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
|
||||
steps:
|
||||
- checkout
|
||||
- run: make LIBSO=1
|
||||
- run: make LIBSO=1 -j 8
|
||||
- run: |
|
||||
ulimit -c unlimited
|
||||
./darknet
|
||||
|
@ -218,7 +218,7 @@ int main(int argc, char *argv[])
|
||||
auto img = detector.load_image(filename);
|
||||
std::vector<bbox_t> result_vec = detector.detect(img);
|
||||
detector.free_image(img);
|
||||
show_result(result_vec, obj_names);
|
||||
show_console_result(result_vec, obj_names);
|
||||
#endif
|
||||
}
|
||||
catch (std::exception &e) { std::cerr << "exception: " << e.what() << "\n"; getchar(); }
|
||||
|
Reference in New Issue
Block a user