Updated on 2024-02-29 GMT+08:00

Abnormal Parking

  • Data streams in JSON format are output to the specified DIS channels or webhook URLs, including structured data and images.
  • Result example:
    {
    	"event_type": 74240,
    	"task_id": "61761681a6014e7c9024d642a0d4d412",
    	"stream_id": "03543400000000000101#1c471506397a48ecab0ba52360bdd430",
    	"timestamp": 1535546604,
    	"message_id": "0DD1BEA6-634B-11E8-8B0B-407D0FAD9218",
    	"image_base64": "/9j/4AAQSkZJRgABAJDA...",
    	"data": {
    		"vehicles": [{
    			"bounding_box": {
    				"x": 858,
    				"y": 200,
    				"w": 679,
    				"h": 535
    			},
    	                "license_plate_id": "Guangdong C3X94L",
                            "detection_id": "dc7d8815-b34b-4ba4-b33f-c9c6cd346d79",
    			"polygon_name": "a"
    		}
    
                  ]
    	}
    }
  • JSON format

    Field

    Type

    Description

    event_type

    Int

    Output flag of the abnormal parking detection result. The value is fixed to 74240.

    message_id

    String

    UUID of the JSON output, which uniquely identifies the output record

    stream_id

    String

    Camera ID, which uniquely identifies a camera. For offline videos, video names are displayed to distinguish between different video sources.

    timestamp

    Int

    Timestamp when an abnormal parking event is detected

    data

    Object

    List of fields in the abnormal parking detection result. For details, see the description of data parameters.

    image_base64

    String

    Base64 code of an image

    task_id

    String

    Task ID

  • data parameters

    Field

    Type

    Description

    vehicles

    List<Object>

    List of output vehicles

  • vehicles parameters

    Field

    Type

    Description

    bounding_box

    Object

    Coordinates of a bounding box

    license_plate_id

    String

    License plate. When the license plate cannot be detected, "" (an empty string) is output by default.

    detection_id

    String

    UUID of an abnormal parking event, which is used to identify whether the alarm points to the same vehicle. Note that the license plate may be blocked or blurred. As a result, this field may be inaccurate.

    polygon_name

    String

    ROI where the abnormal parking event occurs

  • bounding_box parameters

    Field

    Type

    Description

    x

    Int

    Horizontal coordinate of the upper-left corner of a bounding box

    y

    Int

    Vertical coordinate of the upper-left corner of a bounding box

    w

    Int

    Width of a bounding box

    h

    Int

    Height of a bounding box