1 Star 0 Fork 329

blueflier / open-anpr

forked from open-visual / open-anpr 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
doc-1.0.0.md 3.70 KB
一键复制 编辑 原始数据 按行查看 历史
diven 提交于 2023-01-29 15:07 . init

车牌识别服务API

简介:车牌识别服务API

HOST:http://127.0.0.1:8080

联系人:

Version:1.0.0

接口路径:/v3/api-docs?group=1.0.0

[TOC]

01、车牌识别服务

1、车牌识别

接口地址:/visual/plate/recognition

请求方式:POST

请求数据类型:application/x-www-form-urlencoded,application/json

响应数据类型:*/*

接口描述:

请求示例:

{
  "image": "",
  "limit": 0
}

请求参数:

参数名称 参数说明 请求类型 是否必须 数据类型 schema
plateInfoReqVo 车牌识别参数 body true PlateInfoReqVo PlateInfoReqVo
  image 图像Base64编码值 true string
  limit 最大搜索条数:默认5 false integer(int32)

响应状态:

状态码 说明 schema
200 OK ResponseInfo«List«PlateInfoRepVo»»
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
code 返回代码 integer(int32) integer(int32)
data 数据信息 array PlateInfoRepVo
  location 车牌位置信息 PlateLocation PlateLocation
    leftBottom 左下角坐标 LocationPoint LocationPoint
      x 坐标X的值 integer
      y 坐标Y的值 integer
    leftTop 左上角坐标值 LocationPoint LocationPoint
      x 坐标X的值 integer
      y 坐标Y的值 integer
    rightBottom 右下角坐标 LocationPoint LocationPoint
      x 坐标X的值 integer
      y 坐标Y的值 integer
    rightTop 右上角坐标 LocationPoint LocationPoint
      x 坐标X的值 integer
      y 坐标Y的值 integer
  recognition 车牌识别信息 RecognitionInfo RecognitionInfo
    layout 车牌布局,单排还是双排,可用值:DOUBLE,SINGLE,UNKNOWN string
    plateColor 车牌的颜色信息,可用值:BLACK,BLUE,GREEN,UNKNOWN,WHITE,YELLOW string
    plateNo 车牌文本信息 string
  score 车牌置信分数:[0,100] number(float)
message 返回信息 string

响应示例:

{
	"code": 0,
	"data": [
		{
			"location": {
				"leftBottom": {
					"x": 0,
					"y": 0
				},
				"leftTop": {
					"x": 0,
					"y": 0
				},
				"rightBottom": {
					"x": 0,
					"y": 0
				},
				"rightTop": {
					"x": 0,
					"y": 0
				}
			},
			"recognition": {
				"layout": "",
				"plateColor": "",
				"plateNo": ""
			},
			"score": 0
		}
	],
	"message": ""
}

02、健康检测服务

1、健康检查

接口地址:/common/health/check

请求方式:GET

请求数据类型:application/x-www-form-urlencoded

响应数据类型:*/*

接口描述:

请求参数:

暂无

响应状态:

状态码 说明 schema
200 OK ResponseInfo«string»
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
code 返回代码 integer(int32) integer(int32)
data 数据信息 string
message 返回信息 string

响应示例:

{
	"code": 0,
	"data": "",
	"message": ""
}
Java
1
https://gitee.com/blueflier/open-anpr.git
git@gitee.com:blueflier/open-anpr.git
blueflier
open-anpr
open-anpr
master

搜索帮助