feat: add management web console
This commit is contained in:
@@ -114,7 +114,20 @@ Trash disposal confirmation should use motion/object evidence inside the trash R
|
||||
|
||||
## Calibration Tool
|
||||
|
||||
The project includes a local RTSP snapshot calibration tool under `tools/calibrator`.
|
||||
The project includes a managed web UI with frontend port `23000` and backend port `19080`.
|
||||
|
||||
The backend exposes:
|
||||
|
||||
- `GET /api/manage/config`
|
||||
- `PUT /api/manage/config`
|
||||
- `POST /api/manage/snapshot`
|
||||
- `PUT /api/manage/calibration`
|
||||
- `GET /api/manage/summary`
|
||||
- `GET /api/manage/events`
|
||||
|
||||
The frontend can pull one RTSP snapshot, draw polygons for `r1c1` through `r2c4` and `trash`, then save calibration directly to the project TOML config.
|
||||
|
||||
The project also keeps a lightweight 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`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user