|
|
# yx-image-recognition
|
|
|
|
|
|
#### 介绍
|
|
|
- **spring boot + maven实现的车牌识别系统**
|
|
|
- 基于Opencv实现、在EasyPR-Java的基础上优化配置及依赖版本
|
|
|
- 入门级项目
|
|
|
|
|
|
#### 软件版本
|
|
|
- jdk 1.8+
|
|
|
- maven 3.0+
|
|
|
- opencv 4.0.1 ; javacpp1.4.4;opencv-platform 4.0.1-1.4.4
|
|
|
- spring boot 2.1.5.RELEASE
|
|
|
- yx-image-recognition 1.0.0版本
|
|
|
|
|
|
#### 软件架构
|
|
|
- B/S 架构,前端html + requireJS,后端java
|
|
|
- 数据库使用 sqlite3.0
|
|
|
- 接口文档使用swagger 2.0
|
|
|
|
|
|
#### 车牌识别流程
|
|
|
- **操作界面**
|
|
|

|
|
|
|
|
|
- **图片处理过程**
|
|
|
|
|
|
debug_GaussianBlur:
|
|
|
|
|
|

|
|
|
|
|
|
debug_gray:
|
|
|
|
|
|

|
|
|
|
|
|
debug_Sobel:
|
|
|
|
|
|

|
|
|
|
|
|
debug_threshold:
|
|
|
|
|
|

|
|
|
|
|
|
debug_morphology:
|
|
|
|
|
|

|
|
|
|
|
|
debug_Contours:
|
|
|
|
|
|

|
|
|
|
|
|
debug_result:
|
|
|
|
|
|

|
|
|
|
|
|
debug_crop:
|
|
|
|
|
|

|
|
|

|
|
|

|
|
|

|
|
|
|
|
|
debug_resize:
|
|
|
|
|
|

|
|
|

|
|
|

|
|
|

|
|
|
|
|
|
final_result:
|
|
|
|
|
|

|
|
|
|
|
|
- **图片车牌文字识别过程**
|
|
|
|
|
|
待补齐
|
|
|
|
|
|
|
|
|
|
|
|
#### 安装教程
|
|
|
|
|
|
- 将项目拉取到本地,PlateDetect文件夹拷贝到d盘下,默认车牌识别操作均在d:/PlateDetect/目录下处理,可以根据需要自行修改
|
|
|
- lib下依赖包添加到build path;或者修改pom文件的注释内容,将opencv-platform依赖取消注释
|
|
|
- spring boot方式运行项目,浏览器上输入 http://localhost:16666/index 即可打开操作界面
|
|
|
- 浏览器上输入 http://localhost:16666/swagger-ui.html 即可打开接口文档页面
|
|
|
-
|
|
|
|
|
|
#### 使用说明
|
|
|
|
|
|
- 入门级教程项目,本人目前也正在学习图片识别相关技术;大牛请绕路
|
|
|
- 当前项目仅实现了黄牌、蓝牌车牌识别操作,接下来会继续优化代码架构,并且加上绿牌识别、车牌识别训练等操作
|
|
|
- 后续会逐步加入人脸识别等功能
|
|
|
|
|
|
|