Skip to content

Commit

Permalink
Merge pull request opencv#13874 from dkurt:dnn_default_conf_thresh
Browse files Browse the repository at this point in the history
  • Loading branch information
alalek committed Feb 21, 2019
2 parents 1db5d82 + 715f881 commit 7baa5ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/dnn/src/layers/detection_output_layer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ class DetectionOutputLayerImpl CV_FINAL : public DetectionOutputLayer
_backgroundLabelId = getParameter<int>(params, "background_label_id");
_varianceEncodedInTarget = getParameter<bool>(params, "variance_encoded_in_target", 0, false, false);
_keepTopK = getParameter<int>(params, "keep_top_k");
_confidenceThreshold = getParameter<float>(params, "confidence_threshold", 0, false, -FLT_MAX);
_confidenceThreshold = getParameter<float>(params, "confidence_threshold", 0, false, 0);
_topK = getParameter<int>(params, "top_k", 0, false, -1);
_locPredTransposed = getParameter<bool>(params, "loc_pred_transposed", 0, false, false);
_bboxesNormalized = getParameter<bool>(params, "normalized_bbox", 0, false, true);
Expand Down

0 comments on commit 7baa5ef

Please sign in to comment.