-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'FreeTypeFont' object has no attribute 'getsize' #66
Comments
See Belval/TextRecognitionDataGenerator#323 for some notes on handling this change in a related project. The way Pillow recommends migrating |
Can u maek a PR to merge? |
I struggled with this problem so much and the problem was caused due pillow so I all i had to do is:
Tested this on MacOs Ventura with python 3.8 |
thank you! |
If anyone is experiencing the error above, this is because Pillow 10 deprecated the method. use
getbbox
instead. I have a fork ready with that, feel free to clone it and then dopip install ./myfork
in the parent folder.for proper support one could do this to support both versions
The text was updated successfully, but these errors were encountered: