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:
2026-11-23 12:02:18 +01:00
parent 980a3e5178
commit dd2dd53d7e
17 changed files with 478 additions and 21 deletions
+62
View File
@@ -4007,3 +4007,65 @@ the staff's remote control, because the system is not ready to control it yet. D
stopped `zg2` on park-lab, with all four relays read off first. The parking server and vision
containers on park-lab were left running. Recorded on [[zone-anpr-poc]] and [[vision-hardening]].
## [2026-11-23] query | Passage confirmation — the PoC of 2026-11-22 is the reference
The user, while discussing how to bring the PoC's ideas into the vision service: the PoC as it ran
on 2026-11-22 met the requirements; the staged phase-1 order of 2026-11-19 is not to be cited as
binding any more. Marked as superseded on [[passage-confirmation]]. Still under discussion, nothing
decided: which process owns the camera streams (the user: the server should hold no video or
image work).
## [2026-11-23] query | H.264 instead of MJPEG — decoding test with the zone PoC
The user: the server should hold no video or image work; test H.264 with the PoC and watch the
booth PC's load. Ran a relay-less copy (`zg-h264`) on park-lab, added a live picture to the PoC's
page, measured MJPEG, then switched channel 102 on both cameras to H.264 and measured again: 0.40
against 0.41 cores, 15.2 against 1.85 Mbps. Recorded on [[zone-anpr-poc]]; the user's positions
(no video in the server, a watchdog for crashed services, an event-driven architecture to be
planned) on [[passage-confirmation]]; the side effect on the booth tiles on [[camera-live-view]].
The cameras are left on H.264 and the test copy is left running.
## [2026-11-23] query | H.264 test — delay from camera to live picture
Measured the delay of the PoC's live picture on H.264: 0.5 s (entry) and 0.4 s (exit) with the
decoder's default threads, 0.12–0.24 s and 0.18 s with one decode thread, against 0.09–0.10 s for
MJPEG. Cause: one frame held back per extra decode thread. Added `decode_threads` to the PoC. The
user's own load readings, watching and not watching, are on [[zone-anpr-poc]] with the rest.
## [2026-11-23] query | H.264 test — a car in the zone
Two approach-and-reverse visits on H.264 (07:32 UTC): both judged abandoned, the plate decided in
0.34 s in the first; in the second the camera's on-screen label "Hyrje" was read as a plate and
one still voted for it. Video-frame reads at 65–90 px were 4 of 4 right, as with MJPEG. Recorded
on [[zone-anpr-poc]]; the label misread added to [[vision-hardening]].
## [2026-11-23] query | H.264 test — staff traffic
Eight visits by the staff on the relay-less test copy (07:52–09:11 UTC), read from the frames:
the entry camera judged 3 of 3 as passed, among them a car pushed through by five people; no
plate was decided in any visit, and the records neither blame nor clear H.264 (the plates were
under the size gate or too soft). A tall vehicle's box reached the moved label and it was not
read. The still pause carried over from one car to the next (review finding 14). The stream held
with no decode error. Recorded on [[zone-anpr-poc]], [[vision-hardening]] and
[[zone-anpr-poc-review]].
## [2026-11-23] query | H.264 test — bad weather, test copy left running
The user: the morning's results have to be read with the bad weather in mind (outdoor cameras,
the weather cannot be fixed); the relay-less test copy `zg-h264` stays running. Noted on
[[zone-anpr-poc]] and [[vision-hardening]].
## [2026-11-23] query | Event-driven refactor — the user's decisions recorded
The user: plate reading from H.264 will be handled; the server is agnostic about the camera side
(no signal from a camera, then a card, a barcode or a push-button ticket does the job; monitoring
shows what is down and the operator raises it); viewing from outside is out for now; the whole
repository is to be refactored along an event-driven pattern, with a bus between the vision side,
the server and the booth screen; instructions and a guidelines document will follow. New page
[[event-driven-refactor]] (decided, not decided, what it touches in the code, where it meets what
is built). Pointers added on [[passage-confirmation]], [[vision-service]], [[camera-live-view]],
[[lane-presence-and-anpr-entry]], [[dingtian-vs-mqtt]], [[entry-double-press]],
[[operator-issued-entry]], [[entry-presence-bypass]], [[standing-decisions]], [[open-questions]],
[[overview]]. Found while recording: the camera gates the entry button today, which the
agnostic-server rule does not match; left for the user. Nothing built, nothing committed.
## [2026-11-23] query | Event-driven refactor — the camera gate and the blinded camera settled
The user: the bypass for camera and radar events is the unblocking mechanism and is in place, so
the camera gate on the entry button stays; a camera that is healthy but blinded is an operational
matter of the business, not the system's concern. The two points are marked settled on
[[event-driven-refactor]]; the notes on [[entry-double-press]], [[operator-issued-entry]] and
[[entry-presence-bypass]] say so.