文档中心

- API文档
- 通用文字识别
- 身份证识别
- 通用表格识别
- 增值税发票识别
- 票据分类
- 营业执照识别
- 发票验真
- 国内通用票据识别
- 行驶证识别
- 驾驶证识别
- 机动车购车发票识别
- 图片切边增强
- 银行卡识别
- 车辆合格证识别
- 卷式发票识别
- 名片识别
- 车牌号识别
- 社保卡识别
- 护照识别
- 车辆VIN码识别
- 电子承兑汇票识别
- 车辆登记证识别
- 图片转word
- 二手车购车发票识别
- 证件分类
- 火车票识别
- 印章检测识别
- 出租车发票识别
- 税务登记证识别
- 组织机构代码证识别
- 开户许可证识别
- 通用NLP信息抽取
- 澳门身份证识别
- 港澳居民来往内地通行证
- 台湾居民来往大陆通行证识别
- 台湾身份证识别
- 印尼身份证识别
- 马来西亚身份证识别
- 户口本识别
- 结婚证识别
- 房产证识别
- 军官证识别
- 飞机行程单识别
- 定额发票识别
- 通用机打发票识别
- 车辆通行费票据识别
- 商铺小票识别
- 公路客运发票识别
- 海关进出口货物报关单识别
- 卫生许可证识别
- 事业单位法人证识别
- 港澳台通行证识别
- 台湾健保卡识别
- 日本驾驶证识别
- 菲律宾身份证识别
- 医疗证件票据分类
- 香港身份证识别
- 办公文档识别
- 出生证明识别
- PS检测
- 不动产权证书识别
- 银行回执单识别
- 自动擦除手写文字
- 去屏幕纹
- 港澳台居民居住证
- 二维码识别
- PDF转Word
- PDF转Excel
- PDF转PPT
- PDF转图片
- Word转PDF
- Excel转PDF
- 图片转PDF
- Word转图片
- 完税证明
- 图像切边矫正
查看文档
示例代码
API调试
功能描述
车辆登记证
请求URL
https://api.textin.com/robot/v1.0/api/vehicle_registration_certificate
HTTP请求方法
HTTP POST
请求头说明(Request Header)
请在HTTP请求中添加以下自定义Header。
header 名 | 值 |
---|---|
x-ti-app-id | 请登录后前往 “工作台-账号设置-开发者信息” 查看 x-ti-app-id |
x-ti-secret-code | 请登录后前往 “工作台-账号设置-开发者信息” 查看 x-ti-secret-code |
请求体说明(Request Body)
Content-Type: application/octet-stream
要上传的图片,目前支持jpg, png, bmp, pdf, tiff, 单帧gif等大部分格式.
请注意,请求体的数据格式为文件的二进制流,非 FormData 或其他格式。文件大小不超过 10M,图像宽高须介于 20 和 10000(像素)之间。
响应体说明(Response Data)
Content-Type: application/json
JSON结构说明如下:
字段名 | 类型 | 描述 |
---|---|---|
code | integer | 错误码,详见“错误码说明” |
message | string |
错误信息 |
result | object | |
+type | string |
证件类型, 当为other的时候,代表无法识别的图片 |
+image_angle | integer |
图片角度,指原图需要经过顺时针旋转多少度,才能得到正方向的图片 |
+rotated_image_width | integer |
正方向时图片的宽 |
+rotated_image_height | integer |
正方向时图片高 |
+item_list | array | |
++key | string |
识别的字段 |
++value | string |
识别的字段的值 |
++description | string |
识别的字段中文描述 |
++position | array |
识别的value在原图中的坐标, 是个长度为8的数组 [0,1,2,3,4,5,6,7]
|
item_list 中识别字段的说明
字段名 | 描述 |
---|---|
vehicle_registration_page_no | 登记证编号 |
vehicle_registration_owner | 机动车所有人 |
vehicle_certification_ID_name | 身份证明名称 |
vehicle_certification_ID_number | 号码 |
registration_authority | 登记机关 |
registration_date | 登记日期 |
vehicle_registration_number | 机动车登记编号 |
vehicle_type | 车辆类型 |
vehicle_brand | 车辆品牌 |
vehicle_type_number | 车辆型号 |
vehicle_color | 车身颜色 |
vehicle_vin | 车架号 |
domestic/import | 国产/进口 |
vehicle_engine_number | 发动机号 |
vehicle_engine_type | 发动机型号 |
vehicle_fuel_type | 燃料类型 |
vehicle_displacement | 排量 |
vehicle_power | 功率 |
vehicle_manufacturer | 制造厂名称 |
steering_mode | 转向形式 |
wheel_tread_front | 前轮 |
wheel_tread_rear | 后轮 |
vehicle_sire_number | 轮胎数 |
vehicle_tire_param | 轮胎规格 |
steel_spring_number | 钢板弹簧片数 |
wheel_base | 轴距 |
axle_number | 轴数 |
vehicle_online_size | 外廓尺寸 |
vehicle_internal_size | 内部尺寸 |
total_mass | 总质量 |
seating_capacity | 核定载客 |
permitted_weight | 核定载质量 |
cab_capacity | 驾驶室载客 |
traction_mass | 准牵引总质量 |
vehicle_acquisition_mode | 车辆获得方式 |
nature_of_usage | 使用性质 |
production_date | 出厂日期 |
issued_date | 发证日期 |
JSON结构示例
{
"code": 200,
"message": "success",
"result": {
"type": "",
"item_list": [
{
"key": ""
}
]
}
}
错误码说明
错误码 | 描述 |
---|---|
40101 | x-ti-app-id 或 x-ti-secret-code 为空 |
40102 | x-ti-app-id 或 x-ti-secret-code 无效,验证失败 |
40103 | 客户端IP不在白名单 |
40003 | 余额不足,请充值后再使用 |
40004 | 参数错误,请查看技术文档,检查传参 |
40007 | 机器人不存在或未发布 |
40008 | 机器人未开通,请至市场开通后重试 |
40301 | 图片类型不支持 |
40302 | 上传文件大小不符,文件大小不超过 10M |
40303 | 文件类型不支持 |
40304 | 图片尺寸不符,图像宽高须介于 20 和 10000(像素)之间 |
40305 | 识别文件未上传 |
30203 | 基础服务故障,请稍后重试 |
500 | 服务器内部错误 |