thodan / bop_toolkit

A Python toolkit of the BOP benchmark for 6D object pose estimation.
http://bop.felk.cvut.cz
MIT License
414 stars 139 forks source link

'FreeTypeFont' object has no attribute 'getsize' #162

Closed SajjadPSavoji closed 6 days ago

SajjadPSavoji commented 2 weeks ago

when running scripts/vis_est_poses.py with pillow >= 10 you will get an error saying that font object has not attribute getsize. Fix the requirement file to specify the exact pillow version that works with the source code.

The work around "pip install pillow==9.5.0".

MartinSmeyer commented 6 days ago

Thank you, limited the version range.