feat: add rtsp snapshot calibrator
This commit is contained in:
@@ -111,3 +111,11 @@ The vision layer should output normalized observations:
|
||||
```
|
||||
|
||||
Trash disposal confirmation should use motion/object evidence inside the trash ROI, not merely a person standing near the bin.
|
||||
|
||||
## Calibration Tool
|
||||
|
||||
The project includes a local RTSP snapshot calibration tool under `tools/calibrator`.
|
||||
|
||||
The tool runs a small standard-library HTTP server. The browser submits an RTSP URL to `/api/capture`; the server calls `ffmpeg`, extracts one JPEG frame, and returns it to the browser. The page then lets the operator draw normalized polygons for `r1c1` through `r2c4` plus `trash`.
|
||||
|
||||
This intentionally uses a single captured frame rather than a live preview. Calibration only needs a representative camera view, and a snapshot avoids browser RTSP limitations and live stream transcoding.
|
||||
|
||||
Reference in New Issue
Block a user