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

Floating Debris Detection

  • Data streams in JSON format are output to the specified webhook URLs, including structured data.
  • Result example:
    {
      "task_id": "task7qe4sbmo",
      "stream_id": "123456",
      "timestamp": 1569418161,
      "event_type": 33685505,
      "image_base64": "base64",
      "message_id": "7BA3A6AE-DF98-11E9-A00A-34B354BC6688",
      "data": {  
        "suspect_tag": true,
        "bounding_box": 
          {
            "x": 931,
            "w": 307,
            "y": 576,
            "h": 124
          }
      }
    }
  • JSON format

    Field

    Type

    Description

    task_id

    String

    ID of a video analysis job

    stream_id

    String

    ID of the camera on VCN

    timestamp

    Int

    Timestamp when an event occurs, in seconds

    event_type

    Int

    Event type of the output message. The value is fixed to 0x 0000 0000 0202 0001.

    image_base64

    String

    Base64 encoding results of the image correspond to the video frame when an alarm is triggered

    message_id

    String

    Event ID, which is a unique string

    data

    Object

    Event description, including the bounding box. For details, see the following table.

  • Event information

    Field

    Type

    Description

    suspect_tag

    bool

    Whether the alarm object is suspected to be floating debris. Option:

    • true: The alarm object is suspected to be floating debris.
    • false: The alarm object is confirmed as floating debris.

    bounding_box

    List

    Bounding box list

  • Bounding box parameters

    Field

    Type

    Description

    x

    Int

    X coordinate in the upper left corner of the image corresponding to the detection target

    y

    Int

    Y coordinate in the upper left corner of the image corresponding to the detection target

    w

    Int

    Detection target width

    h

    Int

    Detection target height