Skip to content

Commit 2959e7a

Browse files
committed
Merge pull request opencv#9188 from arrybn:mobilenet_ssd_sample
2 parents d34eec3 + ce1cc35 commit 2959e7a

File tree

4 files changed

+3351
-1
lines changed

4 files changed

+3351
-1
lines changed

modules/dnn/src/layers/detection_output_layer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ class DetectionOutputLayerImpl : public DetectionOutputLayer
234234

235235
if (numKept == 0)
236236
{
237-
CV_ErrorNoReturn(Error::StsError, "Couldn't find any detections");
237+
return;
238238
}
239239
int outputShape[] = {1, 1, (int)numKept, 7};
240240
outputs[0].create(4, outputShape, CV_32F);

0 commit comments

Comments
 (0)