Allow TIFF (and more) image formats in load_yolo_annotations
#1554
Labels
enhancement
New feature or request
load_yolo_annotations
#1554
Search before asking
Description
load_yolo_annotations
only allowspng,
jpg
, andjpeg
file formats.load_yolo_annotations
is internally called bysv.DetectionDataset.from_yolo
functionality.supervision/supervision/dataset/formats/yolo.py
Line 156 in 1860fdb
load_yolo_annotations
usescv2.imread
to read the image files. OpenCV seems to support many of the Ultralytics-supported formats.supervision/supervision/dataset/formats/yolo.py
Line 170 in 1860fdb
Proposals
Use case
png,
jpg
, andjpeg
will be able to use this extension.Additional
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: