Add stationary designator on bounding box

This commit is contained in:
Nick Mowen 2022-06-23 12:50:08 -06:00
parent f7c5e02a35
commit e3383e0bde

View File

@ -399,7 +399,7 @@ class CameraState:
box[2],
box[3],
obj["label"],
f"{obj['score']:.0%} {int(obj['area'])}",
f"{'(Stat)' if obj['stationary'] else '(Actv)'} {obj['score']:.0%} {int(obj['area'])}",
thickness=thickness,
color=color,
)