v8.4.7 - `ultralytics 8.4.7` AVIF training and new COCO12-Formats dataset (#23358)
π Summary
Ultralytics v8.4.7 adds AVIF training support and a new COCO12-Formats mini-dataset to continuously verify that all supported image types load correctly end-to-end (especially in CI) π§ͺπΌοΈ
π Key Changes
- AVIF is now a supported training image format β
π·
IMG_FORMATSexpanded to includeavif
- More robust image decoding for modern formats π‘οΈ
- Adds a Pillow-based fallback image reader (
_imread_pil) for cases where OpenCV canβt decode AVIF/HEIC
- Adds a Pillow-based fallback image reader (
- New βCOCO12-Formatsβ dataset + generator script π§°
- A tiny 12-image dataset covering all supported extensions (AVIF, BMP, DNG, HEIC, JP2, JPEG, JPG, MPO, PNG, TIF, TIFF, WebP)
- Includes a dataset YAML and a () to build the set for testing/validation