Skip to content

feat: show all detected objects and bounding boxes in notification card#14

Open
NickLD wants to merge 1 commit into
casi-3:mainfrom
NickLD:feature/detection-overlay
Open

feat: show all detected objects and bounding boxes in notification card#14
NickLD wants to merge 1 commit into
casi-3:mainfrom
NickLD:feature/detection-overlay

Conversation

@NickLD

@NickLD NickLD commented Jun 18, 2026

Copy link
Copy Markdown

Summary

  • Multi-object chips: all objects detected on the same camera simultaneously appear together as chips (e.g. person + car + cat), each with emoji, label, and confidence score
  • Bounding box overlay: a canvas element overlays the live video with a rounded colored box per detected object, using Frigate pixel coords normalized via camera detect dimensions from /api/config
  • Color coding: each active detection gets a palette color shared by its chip border and its bounding box for easy visual mapping
  • Settings toggles: "Show all objects in frame" and "Show bounding boxes" are independently controllable in the tray menu and Settings Notifications section

Test plan

  • Trigger a detection and confirm chips appear with emoji + label + score
  • Confirm bounding box appears on live video with color matching the chip border
  • Trigger two simultaneous detections; confirm both chips and both boxes appear in distinct colors
  • Toggle "Show all objects in frame" off; confirm only latest detection shows
  • Toggle "Show bounding boxes" off; confirm no canvas overlay appears
  • Confirm both settings persist across restart

🤖 Generated with Claude Code

Replaces the single-detection display with a chip-per-object layout so
all objects active on the same camera appear together (e.g. person + car
+ cat). Each detection is assigned a distinct color; the chip border and
the live-video bounding box share that color so they visually correspond.

- Overlay tracks concurrent detections via a Map keyed by event ID
- Chips render emoji + label + confidence score with thin colored border
- Canvas overlay draws rounded bounding boxes using normalized Frigate
  box coordinates (pixel coords divided by camera detect dimensions
  fetched from /api/config)
- Both features are independently toggleable via tray menu and Settings

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@casi-3 casi-3 added the enhancement New feature or request label Jun 19, 2026
@casi-3 casi-3 modified the milestones: v0.4.3, v0.4.4 Jun 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants