📼 Archive & Timeline

NVR-like interface for archive navigation with events and playback.

📁 Archive Structure

archive/
├── camera_001/
│   ├── 2026-03-20/
│   │   ├── 08-00-00.mp4
│   │   ├── 08-00-00.mp4.json
│   │   ├── 08-00-12.mp4
│   │   └── 08-00-12.mp4.json
│   └── 2026-03-21/
│       └── ...
└── camera_002/
    └── ...

Recording Parameters

Parameter Value Description
FPS 20 Frames per second
MJPEG Quality 80 Compression quality
Segment 2 sec Single file duration
Auto-record On detection Record when objects present
Stop delay +5 sec Delay after last object

📊 Timeline UI

Visual timeline with color-coded event markers.

08:00 10:00 12:00 14:00 16:00 18:00

Event Colors

smoking, fall
on_phone
workplace_absence
sitting
standing

🎮 Navigation

Action Method
Play from point Click on timeline segment
Seek Click on scrollbar
Zoom Mouse wheel over timeline
Previous event PREV or
Next event NEXT or
Pause/Play Space
Space Pause Previous Next + Zoom+ - Zoom-

📅 View Modes

Mode Period Description
LAST 24H 24 hours Last 24 hours from current moment
YESTERDAY Yesterday Full previous day
WEEK 7 days Last week
When selecting a date in the calendar, all segments for that day are loaded. For large periods, use WEEK mode.

⚡ Event Panel

Panel on the right of the player shows all detections for the selected period.

Features

  • • Search by date, time, or event type
  • • Sort by: time, confidence, duration
  • • Filter by event type (click colored chips)
  • • Click event → jump to time + autoplay
  • • Confidence shown as percentage