TypeError: BoxAnnotator.annotate() got an unexpected keyword argument 'labels'

Author: aniket-chakraborty2001Created Apr 16, 2025Updated Jul 9, 2026

I am using supervision version 0.23.0 and got this error while annotating the images. I am unable to figure out what is the issue with that .

**TypeError: BoxAnnotator.annotate() got an unexpected keyword argument 'labels' **

Source: IDEA-Research/GroundingDINO