CameraDetectRangeGet 相机-识别区域获取
POST
/rpc/camera/detect/range/get
相机管理
1.任意激活状态可调用
请求参数
Body 参数application/json
maxRenderWidth
integer <int64>
最大渲染宽度(单位:像素)【必填】
maxRenderHeight
integer <int64>
最大渲染高度(单位:像素)【必填】
示例
{
"maxRenderWidth": 0,
"maxRenderHeight": 0
}
返回响应
🟢200成功
application/json
Body
code
enum<integer> <int32>
必需
枚举值:
0110001001100210031004100510061007150015011503150420002500
默认值:
0
msg
string
状态描述
data
object (CameraDetectRangeGetReply_Data 声明响应数据结构)
可选
renderWidth
integer <int64>
实际渲染宽度(单位:像素)
renderHeight
integer <int64>
实际渲染高度(单位:像素)
dotList
array[object (PlanePositionInfo 平面坐标信息) {2}]
识别区域坐标列表(原点为图像左上角,坐标均为换算后的实际渲染值)
示例
{
"code": 0,
"msg": "string",
"data": {
"renderWidth": 0,
"renderHeight": 0,
"dotList": [
{
"x": 0,
"y": 0
}
]
}
}