mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-18 00:54:27 +03:00
draw speed on debug view
This commit is contained in:
parent
f191dfc597
commit
6a3a519be6
@ -162,7 +162,12 @@ class CameraState:
|
||||
box[2],
|
||||
box[3],
|
||||
text,
|
||||
f"{obj['score']:.0%} {int(obj['area'])}",
|
||||
f"{obj['score']:.0%} {int(obj['area'])}"
|
||||
+ (
|
||||
f" {float(obj['estimated_speed']):.1f}"
|
||||
if obj["estimated_speed"] != 0
|
||||
else ""
|
||||
),
|
||||
thickness=thickness,
|
||||
color=color,
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user