mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-09 08:37:37 +03:00
add computed and top score to timeline entries
This commit is contained in:
parent
ed3bebc967
commit
acf4b4093b
@ -116,6 +116,8 @@ class TimelineProcessor(threading.Thread):
|
||||
),
|
||||
"attribute": "",
|
||||
"score": event_data["score"],
|
||||
"computed_score": event_data.get("computed_score"),
|
||||
"top_score": event_data.get("top_score"),
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@ -400,6 +400,7 @@ class TrackedObject:
|
||||
"start_time": self.obj_data["start_time"],
|
||||
"end_time": self.obj_data.get("end_time", None),
|
||||
"score": self.obj_data["score"],
|
||||
"computed_score": self.computed_score,
|
||||
"box": self.obj_data["box"],
|
||||
"area": self.obj_data["area"],
|
||||
"ratio": self.obj_data["ratio"],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user