wiki: G2 camera bench test and park-lab rig; Dingtian session check on sw V3.1.6236A

- lpr-camera: DS-2CD1043G2-LIU (4MP) and DS-2CD1083G2-LIU (8MP) both serve
  main-stream ISAPI snapshots; only concurrent pulls 503
- passage-confirmation: park-lab rig (entry .6, exit .7, one shared lane),
  camera capabilities, shared-lane open question
- dingtian-relay: 'config api timeout' = HTTP session check on; works with the
  session cookie on this firmware; resolution and triage

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
2026-11-17 11:32:22 +01:00
parent 6978f9e406
commit b6f7ea65a4
5 changed files with 125 additions and 7 deletions
+29 -1
View File
@@ -2,7 +2,7 @@
type: entity
tags: [parking, hardware, readers, offline-first]
sources: [parking-system-architecture, DS-2CD1047G3H-LIU]
updated: 2026-09-17
updated: 2026-11-15
---
# LPR Camera
@@ -220,6 +220,34 @@ LIU` (`:8081` in the comparison above) has no such issue — ISAPI main-stream s
natively — and is the reference model for replacements. RTSP-frame-grab remains documented above
as a viable fallback if a `G3H`-family camera is ever unavoidable.
### Bench test: DS-2CD1043G2-LIU (4MP) and DS-2CD1083G2-LIU (8MP) — main-stream snapshot works on both (2026-11-15)
Two new units probed on the bench, then mounted at park-lab the same day (`.6` entry, `.7` exit, one
shared lane — see [[passage-confirmation]] "park-lab rig"). Both are the **G2** line, the
replacement for the `G3H` above. Credentials are in the device registry, not here.
| | `10.0.10.6` | `10.0.10.7` |
|---|---|---|
| Model | **DS-2CD1043G2-LIU** (4MP) | **DS-2CD1083G2-LIU** (8MP) |
| Firmware | V5.8.10 build 250714 | V5.8.4 build 241213 |
| Channel 101 config | 2560×1440, H.264, VBR, 6144 Kbps cap, 20 fps | 3840×2160, H.264, VBR, 10240 Kbps cap, 12.5 fps |
| `channels/101/picture`, 45 sequential pulls | 45/45 **200**, 2560×1440 JPEG, ~200 KB, ~90 ms | 45/45 **200**, 3840×2160 JPEG, ~390 KB, ~150 ms |
| `channels/102/picture` (sub), 5 pulls | 5/5 **200**, 640×360 | 5/5 **200**, 640×360 |
| 8 simultaneous `101/picture` pulls, 3 rounds | 11 × 200, 13 × **503** | 10 × 200, 14 × **503** |
- **The 8MP `DS-2CD1083G2-LIU` does not have the `G3H` bug.** Main-stream ISAPI snapshot returns a
full-resolution JPEG every time when pulled one at a time. The 4MP `1043G2` confirms the
park-buzi `:8081` result above on a second unit.
- **Concurrent pulls 503 on both models.** This is the genuine, transient `deviceBusy` (a snapshot
already in flight), unlike the `G3H`'s persistent one. The code already handles it: the
per-device in-flight coalescing in `apps/server/src/snapshot.ts` and the 503 retry in
`packages/devices/src/drivers/camera.ts`. Any new consumer of a camera frame must go through that
shared capture, never issue its own GET.
- **Not tested:** snapshots while another client pulls the main stream over RTSP (NVR, live view,
the [[passage-confirmation]] watcher), and plate-read accuracy at 8MP against 4MP through the
[[opencv-anpr-service]]. An 8MP frame is about twice the bytes and 60 ms slower to fetch.
- No vendor datasheet for either G2 model is in `raw/` — everything here is observation.
## Clock sync — the 1970 power-cut reset (built 2026-07-07)
Field observation (park-buzi): after a power cut these cameras come back with their clock at the