Browse Source

Added uppercase image extensions

tags/v1.2.5
deeppppp 7 months ago
parent
commit
77c3ee17ee
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      utils.py

+ 3
- 1
utils.py View File

@@ -125,7 +125,9 @@ def cv2_supported_extension():
:return: <string[]> extensions list
"""
return [".bmp", ".dib", ".jpeg", ".jpg", ".jpe", ".jp2", ".png",
".pbm", ".pgm", "ppm", ".sr", ".ras", ".tiff", ".tif"]
".pbm", ".pgm", "ppm", ".sr", ".ras", ".tiff", ".tif",
".BMP", ".DIB", ".JPEG", ".JPG", ".JPE", ".JP2", ".PNG",
".PBM", ".PGM", "PPM", ".SR", ".RAS", ".TIFF", ".TIF"]


def load_json(a):

Loading…
Cancel
Save