Skip to content

Commit ce1cc35

Browse files
committed
MobileNet SSD sample
1 parent 6ba22de commit ce1cc35

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)