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

Drainage Outlet Monitoring

  • 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": 34013185, 
        "message_id": "7BA3A6AE-DF98-11E9-A00A-34B354BC6688",
        "drainage_state": False, 
        "image_base64": "base64", 
    }
  • JSON format

    Field

    Type

    Description

    task_id

    String

    ID of the visual task delivered by IVA

    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 34013185.

    message_id

    String

    Event ID, which is a unique string

    drainage_state

    Bool

    Drainage status. Options:

    • True: The drainage outlet is draining.
    • False: The drainage outlet is not draining.

    image_base64

    String

    Base64 encoding results of the image correspond to the video frame when an event occurs