Open schettada opened 11 months ago
Pillow has been updated and does not support antialias any more.
Workaround is to patch custom_components/amazon_rekognition/image_processing.py
line #363
old
self._image.thumbnail(newsize, Image.ANTIALIAS)
new
self._image.thumbnail(newsize, Image.Resampling.LANCZOS)
@Fabio72 can you submit a PR? Need to use the version of pillow in HA
thank you. this works.
I get the below error in logs when i try the image scan service.
HA Version: 2023.09.2 HASS-amazon-rekognition Version: 3.2