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

alibaba.security.deepvision.proxy.bodysamples.get (获取人体采样信息)

获取人体采样信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param BodySampleQueryParam 可选 入参
  • └ sample_id_list
  • String []
  • 可选
  • 采样id
  • 采样id
  • └ request_id
  • String
  • 可选
  • 请求id
  • 请求id
  • └ tenant_code
  • String
  • 可选
  • 租户
  • 租户
  • └ track_id_list
  • String []
  • 可选
  • track
  • track
  • └ field_id
  • String
  • 可选
  • 门店id
  • 门店id

响应参数

名称 类型 示例值 描述
result Datas [] 结果
  • └ rect
  • String
  • {"height":516,"left":25,"prob":1.0,"top":51,"width":257}
  • 人体框
  • └ gmt_modified
  • Number
  • 1671101304763
  • 修改时间
  • └ oss_url
  • String
  • http://deepvision.oss-cn-zhangjiakou.aliyuncs.com/acp/8888/ali-xixi-kitchen2/20221215/edge/body/10578051029813620736_body_3.jpg?Expires=1671623900&OSSAccessKeyId=TMP.3Ke6AMqwEmowXEDfXr7kQrEYzFkapoMamZDTC6X8DYKTqvMA66dgF1DEZRAnNTWeSRgvt4BsB875qeNc2dvVpXwTXEnsKb&Signature=ns%2FI8KcjNpH2d9AFM9h%2BXZLHClE%3D
  • 图片地址
  • └ sample_id
  • String
  • 10578051029813620736_3
  • 采样id
  • └ pic_type
  • String
  • pic
  • 类型
  • └ track_id
  • String
  • 10578051029813620736
  • track
  • └ tenant_code
  • String
  • 8888
  • 租户
  • └ tick
  • Number
  • 1671101303611
  • 时间
  • └ gmt_create
  • Number
  • 1671101304763
  • 创建时间
  • └ oss
  • String
  • deepvision:acp/8888/ali-xixi-kitchen2/20221215/edge/body/10578051029813620736_body_3.jpg
  • 图片相对地址
  • └ sensor_id
  • String
  • cam-lab-30-204-70-205
  • 摄像头id
  • └ field_id
  • String
  • 门店id
  • 门店id
resp_code Number 1 code
resp_request_id String 请求id 请求id
resp_success Boolean true 状态
message String 信息 信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaSecurityDeepvisionProxyBodysamplesGetRequest req = new AlibabaSecurityDeepvisionProxyBodysamplesGetRequest();
AlibabaSecurityDeepvisionProxyBodysamplesGetRequest.BodySampleQueryParam obj1 = new AlibabaSecurityDeepvisionProxyBodysamplesGetRequest.BodySampleQueryParam();
obj1.setSampleIdList("采样id");
obj1.setRequestId("请求id");
obj1.setTenantCode("租户");
obj1.setTrackIdList("track");
obj1.setFieldId("门店id");
req.setParam(obj1);
AlibabaSecurityDeepvisionProxyBodysamplesGetResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_security_deepvision_proxy_bodysamples_get_response>
    <result>
        <datas>
            <rect>{&quot;height&quot;:516,&quot;left&quot;:25,&quot;prob&quot;:1.0,&quot;top&quot;:51,&quot;width&quot;:257}</rect>
            <gmt_modified>1671101304763</gmt_modified>
            <oss_url>http://deepvision.oss-cn-zhangjiakou.aliyuncs.com/acp/8888/ali-xixi-kitchen2/20221215/edge/body/10578051029813620736_body_3.jpg?Expires=1671623900&amp;OSSAccessKeyId=TMP.3Ke6AMqwEmowXEDfXr7kQrEYzFkapoMamZDTC6X8DYKTqvMA66dgF1DEZRAnNTWeSRgvt4BsB875qeNc2dvVpXwTXEnsKb&amp;Signature=ns%2FI8KcjNpH2d9AFM9h%2BXZLHClE%3D</oss_url>
            <sample_id>10578051029813620736_3</sample_id>
            <pic_type>pic</pic_type>
            <track_id>10578051029813620736</track_id>
            <tenant_code>8888</tenant_code>
            <tick>1671101303611</tick>
            <gmt_create>1671101304763</gmt_create>
            <oss>deepvision:acp/8888/ali-xixi-kitchen2/20221215/edge/body/10578051029813620736_body_3.jpg</oss>
            <sensor_id>cam-lab-30-204-70-205</sensor_id>
            <field_id>门店id</field_id>
        </datas>
    </result>
    <resp_code>1</resp_code>
    <resp_request_id>请求id</resp_request_id>
    <resp_success>true</resp_success>
    <message>信息</message>
</alibaba_security_deepvision_proxy_bodysamples_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

返回
顶部