wiki: camera live view decision; MJPEG install step; park-lab camera addresses vs 11-15 record
Build & push images / images (push) Successful in 4m31s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-17 12:48:50 +01:00
parent 39fb5fb7c2
commit c6087b990c
7 changed files with 159 additions and 4 deletions
@@ -198,6 +198,8 @@ the actual booth PC to test on.
- **Vision monitors the RTSP livestream continuously** for presence — rejected: rebuilds (worse) what
the camera already does (presence), pegs the appliance CPU 24/7, and the leave-detection heuristic
is no cleaner than a 30 s timeout.
(This is about *inference* on the stream. An operator **watching** a camera while a car is
present is a different thing, built 2026-11-17 — see [[camera-live-view]].)
- **Vision polls every ~1 s to track THE car, segment a queue, count cars, read make/model** — a
genuinely harder need (bumper-to-bumper cars the camera can't tell apart). Set ASIDE, not dismissed:
it needs a general vehicle DETECTOR ([[opencv-anpr-service]] is plate-only today) + "same-car-vs-new"
+14 -3
View File
@@ -107,17 +107,28 @@ Two cameras mounted on **one physical lane that serves both directions** (user,
| | Entry camera | Exit camera |
|---|---|---|
| Address | `10.0.10.6` | `10.0.10.7` |
| Model | DS-2CD1043G2-LIU (4MP) | DS-2CD1083G2-LIU (8MP) |
| Sub-stream (102) | 640×360 H.264, 12.5 fps, keyframe every 4 s | 640×360 H.264, 20 fps, keyframe every 2.5 s |
| Model | DS-2CD1083G2-LIU (8MP, V5.8.4) | DS-2CD1043G2-LIU (4MP, V5.8.10) |
| Sub-stream (102) | 640×360 **MJPEG**, 12.5 fps (was H.264, keyframe every 4 s) | 640×360 **MJPEG**, 20 fps (was H.264, keyframe every 2.5 s) |
| Line crossing / intrusion (`ISAPI/Smart/LineDetection`, `FieldDetection`) | `notSupport` | `notSupport` |
| Motion detection | on, target `vehicle`, grid drawn | on, target `vehicle`, grid drawn |
| Alarm server (`httpHosts`) | not set (`0.0.0.0`) | not set (`0.0.0.0`) |
Read from the cameras over ISAPI the same day; bench snapshot results are on [[lpr-camera]].
> **Addresses vs. the 2026-11-15 record (2026-11-17):** read again over ISAPI, `.6` answers as
> DS-2CD1083G2-LIU (8MP, V5.8.4, main 3840×2160 12.5 fps) and `.7` as DS-2CD1043G2-LIU (4MP,
> V5.8.10, main 2560×1440 20 fps) — every attribute swapped as a set against the 2026-11-15 bench
> table on [[lpr-camera]], so the two units most likely traded addresses between the bench and the
> park-lab mount. Directions hold (the OSD reads "Hyrje" on `.6`, "Dalje" on `.7`); the table above
> shows the current state. The same day both sub-streams were switched to **MJPEG** for the booth
> live view ([[camera-live-view]]): every frame is now a keyframe, so item 1's "≤ 1 s I-frame"
> concern no longer applies to these units; the watcher would decode MJPEG (OpenCV can) at
> ~300 KB/s per camera.
- The 8MP model has no line crossing either, so the constraint above holds for both: the booth PC
does the tracking.
- Both sub-stream keyframe intervals are above the ≤ 1 s this design asks for (item 1).
- ~~Both sub-stream keyframe intervals are above the ≤ 1 s this design asks for (item 1).~~
Moot since the switch to MJPEG (2026-11-17).
- Neither camera pushes to park-lab yet, and neither is in its device registry.
- [[k200l-printer]] records `10.0.10.7` as the park-lab printer's fixed address — the exit camera
now answers there. To be resolved with the user.
@@ -206,6 +206,11 @@ convention so far: `admin` / `admin123` on the first units (change per site and
2. **Streams:** the snapshot the app pulls MUST come from the **sub stream** (`102`) — the main
stream's ISAPI snapshot returns **503 instantly, always, on this model**. Set the sub stream to
the highest resolution the camera allows.
**Set the sub stream's video encoding to MJPEG** — the booth camera tiles stream it live
([[camera-live-view]]); with H.264 the tile stays on the snapshot and says why. The `102`
snapshot still returns a JPEG after the switch (measured on the G2 line, 2026-11-17).
With the snapshot stream on Sub, its resolution is also the ANPR resolution (MJPEG on the G2:
640×360, 640×480 or 1280×720).
3. **Event push:** Event → Motion Detection with the AcuSense **Detection Target = Vehicle** filter
ON, "Notify Surveillance Center" on, then Alarm Settings → **Alarm Server** →
`http://10.0.10.203/api/devices/hikvision/<deviceId>/event`. The `deviceId` exists only after