文档中心 > API类目 > 天眼工作室API

alibaba.security.deepvision.sensor.calibration.get (获取摄像头标定信息)

获取摄像头标定信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
appkey1 String 可选 11 appkey
tenant_code String 可选 Hema 租户
field_id String 可选 8004 门店ID
sensor_id String 可选 11 设备id
calibration_type String 可选 crossLineActions 标定类型

响应参数

名称 类型 示例值 描述
result MtopResult 接口返回model
  • result
  • DVCameraCalibration
  • 返回结果
  • └ calibration_type
  • String
  • crossLineActions
  • 标定类型
  • └ calibration_content
  • Json
  • {"vertex":[]}
  • 摄像头的标定详情内容
  • └ tenant_code
  • String
  • Hema
  • 租户
  • └ field_id
  • String
  • 8004
  • 门店ID
  • └ sensor_id
  • String
  • 11
  • 摄像头ID
  • └ version
  • Number
  • 1
  • 版本
  • └ operator
  • String
  • 11
  • 操作人
  • └ success
  • Boolean
  • true
  • 是否成功
  • └ msg_info
  • String
  • 11
  • message
  • └ msg_code
  • String
  • 200
  • code

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaSecurityDeepvisionSensorCalibrationGetRequest req = new AlibabaSecurityDeepvisionSensorCalibrationGetRequest();
req.setAppkey1("11");
req.setTenantCode("Hema");
req.setFieldId("8004");
req.setSensorId("11");
req.setCalibrationType("crossLineActions");
AlibabaSecurityDeepvisionSensorCalibrationGetResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_security_deepvision_sensor_calibration_get_response>
    <result>
        <result>
            <calibration_type>crossLineActions</calibration_type>
            <calibration_content>{&quot;vertex&quot;:[]}</calibration_content>
            <tenant_code>Hema</tenant_code>
            <field_id>8004</field_id>
            <sensor_id>11</sensor_id>
            <version>1</version>
            <operator>11</operator>
        </result>
        <success>true</success>
        <msg_info>11</msg_info>
        <msg_code>200</msg_code>
    </result>
</alibaba_security_deepvision_sensor_calibration_get_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部