License Plate Parser Edge

Extracts and post-processes license plates recognized using the License Plate Recognition - Edge AI Model

Overview

This node parses the output of "License Plate Recognition" model to extract the license plate information.

This node requires AI Model Node (Vehicle Detection model) -> Model Inference Node (License Plate model) -> Track Objects Node -> Model Inference Node (License Plate Recognition) prior to it in order to function properly.

Inputs & Outputs

  • Inputs : 1, Media Format : Raw Video
  • Outputs : 1, Media Format: Raw Video
  • Output Metadata : None

Properties

PropertyDescriptionTypeDefaultRequired
display_infoControls whether license plate recognition information is displayed on the video framebooltrueNo
objects_to_associateObject classes to associate detected license plates with. Detected license plates within these object types will be associated with that object.model-label"car,vehicle,truck"No
watchlistComma separated list of license plates to watch forstringnullNo
watchlist_fuzzy_matchIf enabled, only matches license plates where differing characters look visually similar (e.g. 0 vs O, 1 vs I). The number of differences must still be within the tolerance limit.boolfalseNo
watchlist_toleranceNumber of characters that license plates can differ from watchlist entriesnumber0No
detection_bufferTime in seconds that a license plate must be present before reporting results in metadatafloat0.1Yes
rejection_bufferTime in seconds during which objects that leave and re-enter the scene will be ignored. Increase to reduce duplicate alerts for a given objectfloat5.0Yes

Metadata

Metadata PropertyDescription
nodes.<node_id>License plate information as described in the JSON below. \n \n<node_id> for License Plate Detection Nodes is of the form annotate_lpr_edgeX (ex. annotate_lpr_edge1)
"nodes":{
    "annotate_lpr_edge*":{
        "type":"annotate_lpr_edge",
        "license_plates_entered_delta":"<int>",
        "license_plates_exited_delta":"<int>",
        "watchlist_match_delta":"<int>",
        "license_plates_count":"<int>",
        "license_plates":{
            "<object_tracking_id>": {
                "plate":{
                    "type":"Plate",
                    "score":<float>,
                    "props":{
                        "plate":[
                            {
                            "value":"<license_plate_number>",
                            "score":<float>
                            }
                        ]
                    }
                }
            }
        }
    }
}

Format

KeyTypeDescription
license_plates_entered_deltaIntegerNumber of new license plates detected since last frame
license_plates_exited_deltaIntegerNumber of license plates that left since last frame
watchlist_match_deltaIntegerNumber of new license plates that matched the watchlist since last frame
license_plates_countIntegerTotal number of license plates in the view right now
license_platesList of object IDsInformation about each detected and recognized license plate. \n \nobject_tracking_id : Unique identifier for a specific object, as specified by object.id property (see Track Objects Node \n \nPlease check the json example for more details.

Objects metadata augmentation

The following information is added to the detected object's "attributes" array:

"class_id" field"label" field"probability" field
10400The recognized license plate (string)LP recognition confidence
"objects": [{
    "id": 5750484150146564100,
    "label": "car",
    "class_id": 0,
    "probability": 0.98,
    "rect": {
        "width": 47,
        "top": 201,
        "left": 656,
        "height": 25.
    },
    "attributes": [{
        "label": "ABC1234",
        "class_id": 10400,
        "probability": 1.0,
    }]
}]