This commit is contained in:
Glenn Jocher 2019-09-13 16:29:06 +02:00
parent d5b5f74167
commit 1ecf80bc28
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ class LoadStreams: # multiple IP or RTSP cameras
raise StopIteration
# Letterbox
img = [letterbox(x, new_shape=self.img_size, mode='square')[0] for x in img0]
img = [letterbox(x, new_shape=self.img_size)[0] for x in img0]
# Stack
img = np.stack(img, 0)