mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-11-19 15:23:20 +00:00
Improve Object Lifecycle pane (#16635)
* add path point tracking to backend * types * draw paths on lifecycle pane * make points clickable * don't display a path if we don't have any saved path points * only object lifecycle points should have a click handler * change to debug log * better debug log message
This commit is contained in:
1 parent
3f07d2d37c
commit
124d92daa9
6 files changed
+245
-16
No files matched your search
@@ -22,5 +22,6 @@ export interface Event {
|
||||
area: number;
|
||||
ratio: number;
|
||||
type: "object" | "audio" | "manual";
|
||||
path_data: [number[], number][];
|
||||
};
|
||||
}
|
||||
@@ -1,3 +1,15 @@
|
||||
export enum ClassType {
|
||||
VISIBLE = "visible",
|
||||
GONE = "gone",
|
||||
ENTERED_ZONE = "entered_zone",
|
||||
ATTRIBUTE = "attribute",
|
||||
ACTIVE = "active",
|
||||
STATIONARY = "stationary",
|
||||
HEARD = "heard",
|
||||
EXTERNAL = "external",
|
||||
PATH_POINT = "path_point",
|
||||
}
|
||||
|
||||
export type ObjectLifecycleSequence = {
|
||||
camera: string;
|
||||
timestamp: number;
|
||||
@@ -10,15 +22,7 @@ export type ObjectLifecycleSequence = {
|
||||
attribute: string;
|
||||
zones: string[];
|
||||
};
|
||||
class_type:
|
||||
| "visible"
|
||||
| "gone"
|
||||
| "entered_zone"
|
||||
| "attribute"
|
||||
| "active"
|
||||
| "stationary"
|
||||
| "heard"
|
||||
| "external";
|
||||
class_type: ClassType;
|
||||
source_id: string;
|
||||
source: string;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user