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

Non-motorized Vehicle Detection

  • Data streams in JSON format are output to the specified DIS channels or webhook URLs, including structured data and images.
  • Result example:
    {
         "event_type":1376256, 
         "task_id":"2f268b9472a544e991eae3c5c3534f5b",    
         "stream_id": "9f8933c9-448c-48e5-8bc0-631ea83b92eb",
         "timestamp": 1527603463,
         "message_id": "0DD1BEA6-634B-11E8-8B0B-407D0FAD9218",
         "image_base64": "/3j24AAQSkZJRgABAQAAAQABAAD/2wBDAAIBAQE...",
         "data":{
             "event_set":[
                 {
                      "bounding_box":{
                           "x":100,
                           "y":200,
                           "w":80,
                           "h":150
                       },
                       type: "bicycle"
                   },
                  {
                       "bounding_box":{
                            "x":200,
                            "y":300,
                            "w":70,
                            "h":150
                       },
                       type: "electromobile"
                   }
               ]   
          }
    }
  • JSON format

    Field

    Type

    Description

    event_type

    Uint64

    Event type for the results of non-motorized vehicle detection.

    • For parking violation, the value is fixed to 1376256, which is 0x 0000 0000 000150000 in hexadecimal format.
    • For intrusion detection, the value is fixed to 1376257, which is 0x 0000 0000 000150001 in hexadecimal format.

    task_id

    String

    Task ID

    stream_id

    String

    Camera ID

    timestamp

    Uint64

    Time when the alarm is triggered

    message_id

    String

    Alarm ID in the form of a UUID

    image_base64

    String

    Base64 encoding results of the video image when the alarm is triggered

    data

    Object

    Output in detail

  • data parameters

    Field

    Type

    Description

    event_set

    List<Object>

    List of events generated

  • event_set parameters

    Field

    Type

    Description

    bounding_box

    Object

    Rectangle for the alarm object

    type

    String

    Vehicle type. The value can be bicycle or electromobile.

  • 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