wiki: H.264 test on park-lab, event-driven refactor decided
- zone-anpr-poc: H.264 instead of MJPEG (load, delay, a car in the zone, staff traffic, bad weather); the relay-less test copy is left running - event-driven-refactor (new): the user's decisions of 2026-11-23, what is not decided, what they touch in today's code; waits for the user's guidelines - passage-confirmation: the 2026-11-19 phase order superseded; where the video work lives - vision-hardening, zone-anpr-poc-review: on-screen label read as a plate (moved by the user), day-time oversized box, still pause carried over - pointers on vision-service, camera-live-view, lane-presence-and-anpr-entry, dingtian-vs-mqtt, entry gates, standing decisions, open questions, overview, index Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RZgP5oZdzvo92Eouc9eRv5
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
type: concept
|
||||
tags: [parking, vision, barrier, lane, ledger, safety, design]
|
||||
sources: []
|
||||
updated: 2026-11-22
|
||||
updated: 2026-11-23
|
||||
status: open
|
||||
---
|
||||
|
||||
@@ -110,7 +110,7 @@ Two cameras mounted on **one physical lane that serves both directions** (user,
|
||||
|---|---|---|
|
||||
| Address | `10.0.10.6` | `10.0.10.7` |
|
||||
| Model | DS-2CD1083G2-LIU (8MP, V5.8.4) | DS-2CD1043G2-LIU (4MP, V5.8.10) |
|
||||
| Sub-stream (102) | 1280×720 **MJPEG**, 12.5 fps (was 640×360 H.264, keyframe every 4 s) | 1280×720 **MJPEG**, 20 fps (was 640×360 H.264, keyframe every 2.5 s) |
|
||||
| Sub-stream (102) | 1280×720 **H.264**, 12.5 fps, keyframe every 0.96 s (since 2026-11-23; MJPEG from 2026-11-17 until then) | 1280×720 **H.264**, 20 fps, keyframe every 1 s (since 2026-11-23; MJPEG from 2026-11-17 until then) |
|
||||
| Line crossing / intrusion (`ISAPI/Smart/LineDetection`, `FieldDetection`) | `notSupport` | `notSupport` |
|
||||
| Motion detection | on, target `vehicle`, grid drawn | on, target `vehicle`, grid drawn |
|
||||
| Alarm server (`httpHosts`) | the dev machine `10.0.10.203:3000` (user, 2026-11-19) | the dev machine `10.0.10.203:3000` (user, 2026-11-19) |
|
||||
@@ -203,6 +203,11 @@ signal.*
|
||||
|
||||
### Phase-1 order (user, 2026-11-19)
|
||||
|
||||
> **Superseded (user, 2026-11-23).** The PoC as it ran on 2026-11-22 met the user's requirements
|
||||
> and is the reference for building this into the parking system: the zone flow, the relay rules
|
||||
> and the live close, as decided on 2026-11-22 below. The staged order in this section and the
|
||||
> "Phase-1 shape" after it are kept as history and no longer bind the work.
|
||||
|
||||
The audit record comes first, because it actuates nothing: no relay, no interlock, no safety
|
||||
review.
|
||||
|
||||
@@ -353,6 +358,24 @@ build had to pick a default for each; they are listed on [[zone-anpr-poc]]:
|
||||
the check is not atomic. It does not replace the series interlock, which stays a precondition
|
||||
for a live R2.
|
||||
|
||||
## Where the video work lives (user, 2026-11-23)
|
||||
|
||||
Decided by the user, and now part of a refactor of the whole repository:
|
||||
[[event-driven-refactor]] has the full list, what is not decided, and what it touches in the code.
|
||||
|
||||
- **The server holds no video or image work.** The vision side talks to the cameras, decodes
|
||||
whatever they send, and produces what the rest needs.
|
||||
- **The server is agnostic about the camera side.** A camera's signal is one way in among
|
||||
several; without it an RF card, a barcode or a push-button ticket does the job. The server does
|
||||
nothing special when a camera is blind or dead. For this page that keeps the rule "no signal,
|
||||
no close".
|
||||
- **A bus connects the vision side, the server and the booth screen.** How the booth gets its
|
||||
picture and how the vision side gets the camera logins settle with the user's guidelines.
|
||||
- **Tried the same day:** the PoC decoding H.264 sub-streams costs the same CPU as MJPEG and an
|
||||
eighth of the network ([[zone-anpr-poc]], "H.264 instead of MJPEG").
|
||||
- Today the server still holds the live-view stream, pulls and re-encodes the stills, and reads
|
||||
picture sizes ([[camera-live-view]], `apps/server/src/snapshot.ts`). Nothing has been moved.
|
||||
|
||||
## Open questions
|
||||
|
||||
- **Hardening the vision side** after the field trials: the work list, deferred on 2026-11-22, is
|
||||
|
||||
Reference in New Issue
Block a user