Commit Graph
3 Commits
Author SHA1 Message Date
German Khokhlov 77fe8299d7 fix(alpr): tighten model spec matching and card text
- Name the G3 record "AutoVu SharpV G3" and the SharpX record "XGA", so a
  bare SharpV or SharpX tag shows no specs without a separate wrapper.
- Reuse the CCTV layer's Bosch MIC-7522-Z30 record instead of a copy.
- Drop the brand from the SPEC line when the equipment line already names
  it, so long lines fit the card; pass the summary to entity properties.
- Fall back to the OSM `brand` tag when `manufacturer` is missing.
- Reject non-string or overlong model/manufacturer values before matching.
- Remove the unused `brandAliases` parameter; shorten JSDoc and comments.
- Cover the tile `model` path and the megapixel summary in tests; fold
  duplicate tests into existing ones.
- Docs and changelog: the default hourly extract has no `model`; any
  source that supplies it shows the SPEC line.
2026-11-19 18:24:10 +04:00
Kevin Rajan 5371f3ee70 fix(alpr): require explicit SharpV G3 before showing G3 specs
Address gekh's P2 review of ch-bas's ALPR datasheet feature. Keep the
vendored records verbatim, reject generation-ambiguous SharpV model tags,
and cover G1/G2/G3 matching and the rendered card with node:test.

Update the documented matched-camera count and changelog, preserving
original author ch-bas and existing attribution.
2026-11-14 12:38:32 +01:00
bassem chagra 52ebd8ac94 feat(alpr): show datasheet specs for mapped ALPR camera models
Read the OSM `model` tag on ALPR records and resolve it, with the
`manufacturer` tag, against 16 vendored CCTV Camera Database records
(v2.29.0): Motorola Solutions Vigilant, Genetec AutoVu, Axis, Verkada and
Bosch MIC. A resolved camera's card gains a SPEC line; an unknown or
mis-attributed model shows nothing, and the raw tag text never reaches
the card or the voice tools.

The CCTV matcher becomes createModelSpecLookup(records) so both layers
share one set of matching rules, and specSummary falls back to pixel
size or megapixels when a record has no resolution label.

459 of the 1,567 OSM ALPR nodes with a model tag resolve. The hourly
extract the layer reads by default has no model field yet, so tile
records carry it only once the extract publishes it.
2026-10-24 13:50:03 +02:00