License Plate MMC Cloud

High accuracy license plate + make/model/color recognition using Lumeo cloud service. Operates on plates previously detected using the License Plate Detection model.

Overview

This node uses a cloud based service to read license plates from vehicles that are detected using the Vehicle & License Plate models.

This node requires AI Model Node (Vehicle Detection model) -> Model Inference Node (License Plate model) -> Track Objects Node prior to it in order to function properly using the "LPR & Make/Model/Color" recognition mode.

Inputs & Outputs

  • Inputs : 1, Media Format : Raw Video
  • Outputs : 1, Media Format: Raw Video
  • Output Metadata: license-plate results, counts, and entered/exited deltas under nodes.<node_id>, plus associated object attributes.

Properties

PropertyDescriptionTypeDefaultRequired
geographiesGeographies for recognitionstringus, us-caNo
objects_to_trackex. car, vehicle, truck. Classes to be considered on the node. Leave blank to consider all.model-labelscar,vehicle,truckNo
display_infoDisplay LPR info on video?booltrueNo
recognition_modeContinue performing additional recognition attempts until the above info is found. Options: LPR and make/model/color (lpr_mmc); LPR only (lpr_only); Make/model/color Only (mmc_only).enumlpr_mmcNo
legacy_metaIf enabled, add this node's metadata under 'lpr' top level key for backward compatibilityboolfalseNo
requests_bufferTime that the object must be present before the initial LPR request and between subsequent retries. Unit: seconds.float1.0Yes
presence_bufferTime during which objects that leave and re-enter the scene will be ignored. Increase to reduce duplicate alerts for a given object. Unit: seconds.float5.0Yes

Output Metadata

The fields below are declared by this node's metadata schema; the JSON values are representative examples.

PathTypeDescription
nodes.<node_id>.license_plates_entered_deltaintegerNumber of new license plates detected since last frame
nodes.<node_id>.license_plates_exited_deltaintegerNumber of license plates that left since last frame
nodes.<node_id>.license_plates_countintegerTotal number of license plates in the view right now
nodes.<node_id>.license_plates.<object_id>.plate.typestringRecognition result category for the plate.
nodes.<node_id>.license_plates.<object_id>.plate.scorenumberOverall plate-recognition confidence.
nodes.<node_id>.license_plates.<object_id>.plate.props.plate[].valuestringRecognized plate text.
nodes.<node_id>.license_plates.<object_id>.plate.props.plate[].scorenumberConfidence of this plate-text candidate.
nodes.<node_id>.license_plates.<object_id>.plate.props.region[].valuestringRecognized plate region.
nodes.<node_id>.license_plates.<object_id>.plate.props.region[].scorenumberConfidence of this region candidate.
nodes.<node_id>.license_plates.<object_id>.vehicle.typestringRecognized vehicle type.
nodes.<node_id>.license_plates.<object_id>.vehicle.scorenumberOverall vehicle-recognition confidence.
nodes.<node_id>.license_plates.<object_id>.vehicle.props.make_model[].makestringRecognized vehicle make.
nodes.<node_id>.license_plates.<object_id>.vehicle.props.make_model[].modelstringRecognized vehicle model.
nodes.<node_id>.license_plates.<object_id>.vehicle.props.make_model[].scorenumberConfidence of this make/model candidate.
nodes.<node_id>.license_plates.<object_id>.vehicle.props.orientation[].valuestringRecognized vehicle orientation.
nodes.<node_id>.license_plates.<object_id>.vehicle.props.orientation[].scorenumberConfidence of this orientation candidate.
nodes.<node_id>.license_plates.<object_id>.vehicle.props.color[].valuestringRecognized vehicle color.
nodes.<node_id>.license_plates.<object_id>.vehicle.props.color[].scorenumberConfidence of this color candidate.
nodes.<node_id>.errorstringMost recent processing or recognition error, if any.
nodes.<node_id>.typestringIdentifies the node type that produced this metadata.

JSON example

{
  "nodes": {
    "annotate_lpr1": {
      "error": "value",
      "license_plates": {
        "object_id": {
          "plate": {
            "props": {
              "plate": [
                {
                  "score": 0.0,
                  "value": "value"
                }
              ],
              "region": [
                {
                  "score": 0.0,
                  "value": "value"
                }
              ]
            },
            "score": 0.0,
            "type": "value"
          },
          "vehicle": {
            "props": {
              "color": [
                {
                  "score": 0.0,
                  "value": "value"
                }
              ],
              "make_model": [
                {
                  "make": "value",
                  "model": "value",
                  "score": 0.0
                }
              ],
              "orientation": [
                {
                  "score": 0.0,
                  "value": "value"
                }
              ]
            },
            "score": 0.0,
            "type": "value"
          }
        }
      },
      "license_plates_count": 0,
      "license_plates_entered_delta": 0,
      "license_plates_exited_delta": 0,
      "type": "annotate_lpr"
    }
  }
}

Object labels and attributes

  • Object labels/classes added: None.
  • Object attribute labels/classes added: Recognized plate text (10300), vehicle make (10301), model (10302), and color (10303).

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

"class_id" field"label" field"probability" field
10300The recognized license plate (string)LP recognition confidence
10301Vehicle's makeLP recognition confidence
10302Vehicle's modelLP recognition confidence
10303Vehicle's colorLP 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": 10500,
        "probability": 1.0,
    },
    {
        "label": "Tesla",
        "class_id": 10501,
        "probability": 1.0,
    },
    {
        "label": "Model S",
        "class_id": 10502,
        "probability": 1.0,
    },
    {
        "label": "Red",
        "class_id": 10503,
        "probability": 1.0,
    }]
}]

Did this page help you?