From ac39ff5aa293b2cb44a154d477cc9ab8a3cc4ae4 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sun, 14 Jul 2019 13:00:06 +0200 Subject: [PATCH] updates --- detect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/detect.py b/detect.py index f33d39f5..568ac471 100644 --- a/detect.py +++ b/detect.py @@ -74,7 +74,7 @@ def detect( if det is not None and len(det) > 0: # Rescale boxes from 416 to true image size - det[:, :4] = scale_coords(img.shape[2:], det[:, :4], im0.shape).round() + det[:, :4] = scale_coords(img.shape[2:], det[:, :4], im0.shape).round() # TODO: clamp to image border https://github.com/ultralytics/yolov3/issues/368 # Print results to screen print('%gx%g ' % img.shape[2:], end='') # print image size