Update src/utils/processing.py
Browse files- src/utils/processing.py +1 -1
src/utils/processing.py
CHANGED
@@ -79,7 +79,7 @@ def draw_ocr_bboxes(image: Image.Image, detections: sv.Detections) -> Image.Imag
|
|
79 |
text_scale = sv.calculate_optimal_text_scale(resolution_wh=image.size)
|
80 |
|
81 |
# Initialize the bounding box and label annotators
|
82 |
-
bounding_box_annotator = sv.
|
83 |
color_lookup=sv.ColorLookup.INDEX, thickness=thickness
|
84 |
)
|
85 |
label_annotator = sv.LabelAnnotator(
|
|
|
79 |
text_scale = sv.calculate_optimal_text_scale(resolution_wh=image.size)
|
80 |
|
81 |
# Initialize the bounding box and label annotators
|
82 |
+
bounding_box_annotator = sv.BoxAnnotator(
|
83 |
color_lookup=sv.ColorLookup.INDEX, thickness=thickness
|
84 |
)
|
85 |
label_annotator = sv.LabelAnnotator(
|