This commit is contained in:
Glenn Jocher 2019-07-14 13:00:06 +02:00
parent 3fc676b28a
commit ac39ff5aa2
1 changed files with 1 additions and 1 deletions

View File

@ -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