frigate/web/src
ryzendigo 717b878956 feat: add daily recap video generation
Adds a new recap feature that composites detected people from throughout
the day onto a clean background, producing a short summary video of all
activity for a given camera.

How it works:
- Builds a clean background plate via median of sampled frames
- Extracts clip frames for each person event from recordings
- Uses per-event background subtraction (first frame of clip as reference)
  within a soft spotlight region to isolate the person
- Groups non-overlapping events to play simultaneously
- Balances groups by duration so the video stays even
- Renders at 2x speed, stitches groups into final output

New files:
- frigate/recap/ — core generation module
- frigate/api/recap.py — POST /recap/{camera}, GET /recap/{camera}
- frigate/config/recap.py — recap config section (enabled, fps, etc)
- frigate/test/test_recap.py — unit tests
- web/src/components/overlay/RecapDialog.tsx — UI component (not yet wired)

Config example:
  recap:
    enabled: true
    default_label: person
    output_fps: 10
    video_duration: 30
    background_samples: 30

Relates to #54
2026-03-21 16:36:39 +08:00
..
api Replace react-tracked and react-use-websocket with useSyncExternalStore (#22386) 2026-03-11 09:02:51 -05:00
components feat: add daily recap video generation 2026-03-21 16:36:39 +08:00
context Update frontend to React 19 (#22275) 2026-03-05 07:42:38 -07:00
hooks Camera profile support (#22482) 2026-03-19 09:47:57 -05:00
lib Settings UI tweaks (#22547) 2026-03-20 07:24:34 -06:00
pages Add go2rtc streams to settings UI (#22531) 2026-03-19 10:33:42 -06:00
types Various Tweaks (#22554) 2026-03-20 11:38:22 -06:00
utils Add go2rtc streams to settings UI (#22531) 2026-03-19 10:33:42 -06:00
views Various Tweaks (#22554) 2026-03-20 11:38:22 -06:00
App.tsx Frontend fixes (#22309) 2026-03-07 06:43:00 -07:00
env.ts Fix linter and fix lint issues (#10141) 2024-02-28 16:23:56 -06:00
index.css Improve live streaming (#16447) 2025-02-10 09:42:35 -07:00
login.tsx Fix auth when serving Frigate at a subpath (#12815) 2024-08-09 07:26:26 -06:00
main.tsx feat: add i18n (translation/localization) (#16877) 2025-03-16 10:36:20 -05:00
vite-env.d.ts switch to vite 2022-03-11 07:49:06 -06:00