diff --git a/supervision/tools/detections.py b/supervision/tools/detections.py index 60416c53..f2a3ad5f 100644 --- a/supervision/tools/detections.py +++ b/supervision/tools/detections.py @@ -193,7 +193,7 @@ class BoxAnnotator: img=frame, text=text, org=(text_x, text_y), - font=font, + fontFace=font, fontScale=self.text_scale, color=self.text_color.as_rgb(), thickness=self.text_thickness,