Skip to content

Commit fce486c

Browse files
committed
Merge pull request opencv#17592 from l-bat:disable_nms_in_yolo_layer
2 parents 1b49553 + 85c0c8c commit fce486c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/dnn/src/darknet/darknet_io.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@ namespace cv {
797797
int classes = getParam<int>(layer_params, "classes", -1);
798798
int num_of_anchors = getParam<int>(layer_params, "num", -1);
799799
float thresh = getParam<float>(layer_params, "thresh", 0.2);
800-
float nms_threshold = getParam<float>(layer_params, "nms_threshold", 0.4);
800+
float nms_threshold = getParam<float>(layer_params, "nms_threshold", 0.0);
801801
float scale_x_y = getParam<float>(layer_params, "scale_x_y", 1.0);
802802

803803
std::string anchors_values = getParam<std::string>(layer_params, "anchors", std::string());

0 commit comments

Comments
 (0)