Skip to content

Commit

Permalink
Add '*.mpo' to supported image formats (ultralytics#2615)
Browse files Browse the repository at this point in the history
Co-authored-by: Max Uppenkamp <max.uppenkamp@inform-software.com>
(cherry picked from commit 196bf10)
  • Loading branch information
maxupp authored and Lechtr committed Mar 28, 2021
1 parent 989e634 commit 15cead5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

# Parameters
help_url = 'https://github.com/ultralytics/yolov5/wiki/Train-Custom-Data'
img_formats = ['bmp', 'jpg', 'jpeg', 'png', 'tif', 'tiff', 'dng', 'webp'] # acceptable image suffixes
img_formats = ['bmp', 'jpg', 'jpeg', 'png', 'tif', 'tiff', 'dng', 'webp', 'mpo'] # acceptable image suffixes
vid_formats = ['mov', 'avi', 'mp4', 'mpg', 'mpeg', 'm4v', 'wmv', 'mkv'] # acceptable video suffixes
logger = logging.getLogger(__name__)

Expand Down

0 comments on commit 15cead5

Please sign in to comment.