You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 do pip 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:
See Belval/TextRecognitionDataGenerator#323 for some notes on handling this change in a related project. The way Pillow recommends migrating getsize to getbbox in the official docs gives different output. The docs say getbbox returns (left, right, top, bottom) so you'd expect height = bottom - top, but actually to get the same output as before, just use the bottom coordinate.
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: