Add *.ts to VID_FORMATS (#6859)

This commit is contained in:
Glenn Jocher authored and GitHub committed 2022-03-04 14:10:13 +01:00
1 parent 601dbb83f0
commit 8a66ebad44
1 file changed
+2 -2
+2 -2
View File
@@ -33,8 +33,8 @@ from utils.torch_utils import torch_distributed_zero_first
# Parameters
HELP_URL = 'https://github.com/ultralytics/yolov5/wiki/Train-Custom-Data'
IMG_FORMATS = ['bmp', 'dng', 'jpeg', 'jpg', 'mpo', 'png', 'tif', 'tiff', 'webp'] # include image suffixes
VID_FORMATS = ['asf', 'avi', 'gif', 'm4v', 'mkv', 'mov', 'mp4', 'mpeg', 'mpg', 'wmv'] # include video suffixes
IMG_FORMATS = 'bmp', 'dng', 'jpeg', 'jpg', 'mpo', 'png', 'tif', 'tiff', 'webp' # include image suffixes
VID_FORMATS = 'asf', 'avi', 'gif', 'm4v', 'mkv', 'mov', 'mp4', 'mpeg', 'mpg', 'ts', 'wmv' # include video suffixes
# Get orientation exif tag
for orientation in ExifTags.TAGS.keys():