Closed dbickson closed 1 year ago
AssertionError Failed to read image /homes/mfoler/IMG_1234.HEIC /homes {'save_artifacts': False, 'jupyter_html': False, 'load_crops': False, 'draw_bbox': False, 'sort_by': 'comp_size', 'lazy_load': False, 'run_hierarchical': False, 'selection_strategy': 0, 'input_dir': '/homes'}
Python should be able to read heic images. Should try this:
pip3 install pillow-heif from PIL import Image from pillow_heif import register_heif_opener register_heif_opener() image = Image.open('image.heic')
1.22
Python 3.8
mac osx
No response
Fixed in 1.24
What happened?
AssertionError Failed to read image /homes/mfoler/IMG_1234.HEIC /homes {'save_artifacts': False, 'jupyter_html': False, 'load_crops': False, 'draw_bbox': False, 'sort_by': 'comp_size', 'lazy_load': False, 'run_hierarchical': False, 'selection_strategy': 0, 'input_dir': '/homes'}
What did you expect to see?
Python should be able to read heic images. Should try this:
What version of fastdup were you runnning on?
1.22
What version of Python were you running on?
Python 3.8
Operating System
mac osx
Reproduction steps
No response
Relevant log output
No response
Attach a screenshot [Optional]
No response
Contact Details [Optional]
No response