File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ numpy>=1.18.5
77opencv-python-headless == 4.10.0.84
88Pillow >= 7.1.2
99# https://github.com/roboflow/roboflow-python/issues/390
10- pillow -heif< 2
10+ pi -heif< 2
1111pillow-avif-plugin < 2
1212python-dateutil
1313python-dotenv
Original file line number Diff line number Diff line change 44import os
55import urllib
66
7+ import piheif # type: ignore[import-untyped]
8+
79# Third-party imports
810import pillow_avif # type: ignore[import-untyped]
9- import pillow_heif # type: ignore[import-untyped]
1011import requests
1112import yaml
1213from PIL import Image
1314
14- pillow_heif .register_heif_opener (thumbnails = False ) # Register for HEIF/HEIC
15+ piheif .register_heif_opener (thumbnails = False ) # Register for HEIF/HEIC
1516pillow_avif = pillow_avif # Reference pillow_avif to not remove import by accident
1617
1718
You can’t perform that action at this time.
0 commit comments