文档中心 > API类目 > 智慧园区API

alibaba.campus.safeguard.arglasses.plate.recognize (AR眼镜车牌识别接口)

AR眼镜车牌识别接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
license_plate_query_req LicensePlateQueryReq 可选 请求参数
  • └ license_plate
  • String
  • 可选
  • 浙A12345
  • 车牌号

响应参数

名称 类型 示例值 描述
result PojoResult 结果
  • └ success
  • Boolean
  • true
  • 请求是否成功
  • └ request_id
  • String
  • 123
  • 请求ID
  • └ error_code
  • String
  • 200
  • 错误码
  • content
  • RecognizeCarUserResp
  • 识别人员信息
  • └ user_id
  • String
  • 1192021
  • 人员UserId
  • └ user_name
  • String
  • 张三三
  • 人员名称
  • └ nick_name
  • String
  • 李四
  • 人员花名
  • └ work_no
  • String
  • 283731
  • 人员工号
  • └ company_id
  • String
  • 10000
  • 公司ID
  • └ company_name
  • String
  • 阿里
  • 公司名称
  • └ person_identity
  • String []
  • ["ALI_EMP"]
  • 人员身份
  • └ person_title
  • String []
  • ["ALI_EMP"]
  • 人员title
  • └ port_area
  • String
  • B1-C区
  • 停车区域
  • └ car_type
  • String
  • 智享车
  • 车辆类型
  • └ valid_time_start
  • String
  • 2025-01-01 00:00:00
  • 有效期开始时间
  • └ valid_time_end
  • String
  • 2025-01-01 00:00:00
  • 有效期结束时间
  • └ error_msg
  • String
  • error msg
  • 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaCampusSafeguardArglassesPlateRecognizeRequest req = new AlibabaCampusSafeguardArglassesPlateRecognizeRequest();
AlibabaCampusSafeguardArglassesPlateRecognizeRequest.LicensePlateQueryReq obj1 = new AlibabaCampusSafeguardArglassesPlateRecognizeRequest.LicensePlateQueryReq();
obj1.setLicensePlate("浙A12345");
req.setLicensePlateQueryReq(obj1);
AlibabaCampusSafeguardArglassesPlateRecognizeResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_campus_safeguard_arglasses_plate_recognize_response>
    <result>
        <success>true</success>
        <request_id>123</request_id>
        <error_code>200</error_code>
        <content>
            <user_id>1192021</user_id>
            <user_name>张三三</user_name>
            <nick_name>李四</nick_name>
            <work_no>283731</work_no>
            <company_id>10000</company_id>
            <company_name>阿里</company_name>
            <person_identity>
                <string>[&quot;ALI_EMP&quot;]</string>
            </person_identity>
            <person_title>
                <string>[&quot;ALI_EMP&quot;]</string>
            </person_title>
            <port_area>B1-C区</port_area>
            <car_type>智享车</car_type>
            <valid_time_start>2025-01-01 00:00:00</valid_time_start>
            <valid_time_end>2025-01-01 00:00:00</valid_time_end>
        </content>
        <error_msg>error msg</error_msg>
    </result>
</alibaba_campus_safeguard_arglasses_plate_recognize_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

返回
顶部