Get

Function

This API is used to get parameter for AI > Setup > WanderDetection.

Request Message

Parameter Description

See AI > Setup > WanderDetection > Range > Parameter Description > Table 1 for parameter description.

Sample:

POST /API/AI/Setup/WanderDetection/Get HTTP/1.1
{
    "version": "1.0",
    "data": {"page_type": "ChannelConfig"}
}

Response Message

Parameter Description

See AI > Setup > WanderDetection > Range > Parameter Description > Table 2 for parameter description.

Sample:

HTTP/1.1 200 OK
Content-Type: application/json
{
  "result": "success",
  "data": {
    "channel_info": {
      "CH1": {
        "switch": false,
        "sensitivity": 100,
        "snap_mode": "Default",
        "snap_num": "1",
        "snap_frequency": 2,
        "max_pixel": 1080,
        "min_pixel": 64,
        "detection_mode": "HybridMode",
        "time_threshold": 0,
        "rule_info": {
          "rule_number1": {
            "rule_switch": false,
            "point_num": [
              3,
              8
            ],
            "detection_range": "FullScreen",
            "rule_rect": {
              "x1": 0,
              "y1": 0,
              "x2": 0,
              "y2": 0,
              "x3": 0,
              "y3": 0,
              "x4": 0,
              "y4": 0,
              "x5": 0,
              "y5": 0,
              "x6": 0,
              "y6": 0,
              "x7": 0,
              "y7": 0,
              "x8": 0,
              "y8": 0
            }
          },
          "rule_number2": {
            "rule_switch": false,
            "point_num": [
              3,
              8
            ],
            "detection_range": "FullScreen",
            "rule_rect": {
              "x1": 0,
              "y1": 0,
              "x2": 0,
              "y2": 0,
              "x3": 0,
              "y3": 0,
              "x4": 0,
              "y4": 0,
              "x5": 0,
              "y5": 0,
              "x6": 0,
              "y6": 0,
              "x7": 0,
              "y7": 0,
              "x8": 0,
              "y8": 0
            }
          },
          "rule_number3": {
            "rule_switch": false,
            "point_num": [
              3,
              8
            ],
            "detection_range": "FullScreen",
            "rule_rect": {
              "x1": 0,
              "y1": 0,
              "x2": 0,
              "y2": 0,
              "x3": 0,
              "y3": 0,
              "x4": 0,
              "y4": 0,
              "x5": 0,
              "y5": 0,
              "x6": 0,
              "y6": 0,
              "x7": 0,
              "y7": 0,
              "x8": 0,
              "y8": 0
            }
          },
          "rule_number4": {
            "rule_switch": false,
            "point_num": [
              3,
              8
            ],
            "detection_range": "FullScreen",
            "rule_rect": {
              "x1": 0,
              "y1": 0,
              "x2": 0,
              "y2": 0,
              "x3": 0,
              "y3": 0,
              "x4": 0,
              "y4": 0,
              "x5": 0,
              "y5": 0,
              "x6": 0,
              "y6": 0,
              "x7": 0,
              "y7": 0,
              "x8": 0,
              "y8": 0
            }
          }
        },
        "draw_add_btn": {
          "visible": true,
          "rule_rect": [
            {
              "x1": 10,
              "y1": 144,
              "x2": 90,
              "y2": 10,
              "x3": 262,
              "y3": 10,
              "x4": 342,
              "y4": 144,
              "x5": 262,
              "y5": 278,
              "x6": 90,
              "y6": 278,
              "x7": 90,
              "y7": 278,
              "x8": 90,
              "y8": 278
            },
            {
              "x1": 362,
              "y1": 144,
              "x2": 442,
              "y2": 10,
              "x3": 614,
              "y3": 10,
              "x4": 694,
              "y4": 144,
              "x5": 614,
              "y5": 278,
              "x6": 442,
              "y6": 278,
              "x7": 442,
              "y7": 278,
              "x8": 442,
              "y8": 278
            },
            {
              "x1": 10,
              "y1": 430,
              "x2": 90,
              "y2": 296,
              "x3": 262,
              "y3": 296,
              "x4": 342,
              "y4": 430,
              "x5": 262,
              "y5": 564,
              "x6": 90,
              "y6": 564,
              "x7": 90,
              "y7": 564,
              "x8": 90,
              "y8": 564
            },
            {
              "x1": 362,
              "y1": 430,
              "x2": 442,
              "y2": 296,
              "x3": 614,
              "y3": 296,
              "x4": 694,
              "y4": 430,
              "x5": 614,
              "y5": 564,
              "x6": 442,
              "y6": 564,
              "x7": 442,
              "y7": 564,
              "x8": 442,
              "y8": 564
            }
          ]
        },
        "mutual_exclusion": []
      }
    }
  }
}

Error Code

See Response Messages Body and Common error_code for more information.