Class PIIPlateRedactionSettings
- Namespace
- VisioForge.Core.Types.X.AI
- Assembly
- VisioForge.Core.dll
License-plate-category settings for the PII redaction block. Plates are located with the FastALPR YOLOv9-T end-to-end detector (MIT); only detection runs — the plate characters are never read.
public class PIIPlateRedactionSettingsInheritance
Inherited Members
Properties
ConfidenceThreshold
Gets or sets the minimum detection score (0..1) a plate box must reach. Defaults to 0.3 — lower than the ANPR block's default because for redaction recall matters more than precision.
public float ConfidenceThreshold { get; set; }Property Value
DetectionInputSize
Gets or sets the square input size, in pixels, for the detection model (dynamic-shape models). Defaults to 640.
public int DetectionInputSize { get; set; }Property Value
Enabled
Gets or sets a value indicating whether license plates are redacted. Can be toggled off (and back
on) while the pipeline is running only if the category was enabled when the block was built;
enabling a category that was disabled at build time has no effect until the block is rebuilt (the
detector is created only for categories enabled at build). Defaults to true.
public bool Enabled { get; set; }Property Value
Remarks
Volatile-backed: it is written from the UI thread (a live toggle) and read on the block's detection and streaming threads, so the flag must be published across threads for the toggle to take effect promptly on weak memory models.
MaxDetections
Gets or sets the maximum number of plates to redact per frame. Defaults to 20.
public int MaxDetections { get; set; }Property Value
ModelPath
Gets or sets the path to the plate-detection ONNX model (FastALPR YOLOv9-T end-to-end). Required
when VisioForge.Core.Types.X.AI.PIIPlateRedactionSettings.Enabled is true.
public string ModelPath { get; set; }