diff --git a/frigate/object_processing.py b/frigate/object_processing.py index 83684e1b6..f62dc3740 100644 --- a/frigate/object_processing.py +++ b/frigate/object_processing.py @@ -509,13 +509,14 @@ class CameraState: # draw the bounding boxes on the frame box = obj["box"] + text = obj["label"] if not obj.get("sub_label") else obj["sub_label"][0] draw_box_with_label( frame_copy, box[0], box[1], box[2], box[3], - obj["label"], + text, f"{obj['score']:.0%} {int(obj['area'])}", thickness=thickness, color=color,