mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
Yolo can be used from Python 2.x using /darknet.py on Linux or darknet/x64/darknet.py on Windows
This commit is contained in:
@ -222,7 +222,7 @@ YOLODLL_API std::vector<bbox_t> Detector::detect(image_t img, float thresh, bool
|
||||
int letterbox = 0;
|
||||
float hier_thresh = 0.5;
|
||||
detection *dets = get_network_boxes(&net, im.w, im.h, thresh, hier_thresh, 0, 1, &nboxes, letterbox);
|
||||
if (nms) do_nms_sort_v3(dets, nboxes, l.classes, nms);
|
||||
if (nms) do_nms_sort(dets, nboxes, l.classes, nms);
|
||||
|
||||
std::vector<bbox_t> bbox_vec;
|
||||
|
||||
|
Reference in New Issue
Block a user