updates
This commit is contained in:
parent
d5b5f74167
commit
1ecf80bc28
|
@ -228,7 +228,7 @@ class LoadStreams: # multiple IP or RTSP cameras
|
||||||
raise StopIteration
|
raise StopIteration
|
||||||
|
|
||||||
# Letterbox
|
# 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
|
# Stack
|
||||||
img = np.stack(img, 0)
|
img = np.stack(img, 0)
|
||||||
|
|
Loading…
Reference in New Issue