AttributeError module PIL Image has no attribute ANTIALIAS
Error - img = cv2.resize(img,(int(model_height*ratio),model_height),interpolation=Image.ANTIALIAS)
AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'
ANTIALIAS is no longer there in Pillow 10.0.0, it has been removed from current version of Pillow. One of the method to resolve this issue is to downgrade your current Pillow version from
Pillow 10.0.0 to Pillow Pillow==9.5.0
Follow below steps to downgrade pillow on Ubuntu 22.02, 20.04
pip uninstall Pillow
pip install Pillow==9.5.0
Thanks, Your message successfully sent. We will contact you soon.
Unable to send your request. Please try after some time!
Latest
Wooden furniture market in Jaipur
- Dec 27, 2023
Bedroom Designer in Gurgaon, India, USA,...
- Dec 01, 2023
School ERP in Gurgaon, India, Near Me
- Dec 01, 2023
Furniture market in Patna
- Dec 01, 2023
Top ai, artificial intelligence business...
- Oct 22, 2023
Trending
Why Python Is Used In Artificial Intelli...
- Jun 11, 2022
Furniture Market in Faridabad
- Jun 12, 2022
Remote Control Car
- Jun 12, 2022
Car Toy
- Jun 12, 2022
RC Cars
- Jun 12, 2022
All Rights Reserved © Rayups
Send Query