Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revamp object debug view #11186

Merged
merged 10 commits into from
May 1, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add sub_label to type
  • Loading branch information
hawkeye217 committed May 1, 2024
commit 13d63d20960e9e9b0e2e456f46bda26d85319a45
1 change: 1 addition & 0 deletions web/src/hooks/use-camera-activity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ export function useCameraActivity(
area: updatedEvent.after.area,
ratio: updatedEvent.after.ratio,
score: updatedEvent.after.score,
sub_label: updatedEvent.after.sub_label?.[0] ?? "",
};
newObjects = [...objects, newActiveObject];
}
Expand Down
1 change: 1 addition & 0 deletions web/src/types/ws.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export type ObjectType = {
area: number;
ratio: number;
score: number;
sub_label: string;
};

export interface FrigateCameraState {
Expand Down
Loading