1 Star 0 Fork 1.6K

wiscloud / yx-image-recognition

forked from yuxue / yx-image-recognition 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
BSD-3-Clause

yx-image-recognition

介绍

  • spring boot + maven实现的车牌识别系统
  • 基于Opencv实现、在EasyPR-Java的基础上优化配置及依赖版本
  • 入门级项目

包含功能

  • 黄 蓝 绿车牌检测及车牌号码识别
  • 单张图片识别、多张图片并发识别、单图片多车牌识别
  • 车牌检测训练

软件版本

  • jdk 1.8.61+
  • 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

车牌识别流程

  • 操作界面 1.png

  • 图片处理过程

debug_GaussianBlur:

1.png

debug_gray:

1.png

debug_Sobel:

1.png

debug_threshold:

1.png

debug_morphology:

1.png

debug_Contours:

1.png

debug_result:

1.png

debug_crop:

1.png 1.png 1.png 1.png

debug_resize:

1.png 1.png 1.png 1.png

final_result:

1.png

  • 图片车牌文字识别过程

debug_char_threshold:

1.png

debug_char_clearLiuDing:

1.png

debug_specMat:

1.png

debug_chineseMat:

1.png

debug_char_auxRoi:

1.png 1.png 1.png 1.png 1.png 1.png 1.png

安装教程

  • 将项目拉取到本地,PlateDetect文件夹拷贝到d盘下,默认车牌识别操作均在d:/PlateDetect/目录下处理,可以根据需要自行修改
  • lib下依赖包添加到build path;或者修改pom文件的注释内容,将opencv-platform依赖取消注释
  • spring boot方式运行项目,浏览器上输入 http://localhost:16666/index 即可打开操作界面
  • 浏览器上输入 http://localhost:16666/swagger-ui.html 即可打开接口文档页面

使用说明

  • 入门级教程项目,本人目前也正在学习图片识别相关技术;大牛请绕路
  • 当前项目绿牌检测仅能偶尔测通,还需要继续完善
  • 当前已经添加车牌检测训练,后续会逐步添加车牌号码识别训练
  • 后续会逐步加入人脸识别等功能
  • 车牌图片来源于网络,仅用于交流学习,不得用于商业用途;如有侵权,请联系本人删除
BSD 3-Clause License Copyright (c) 2020, yuxue All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

简介

spring boot + maven 车牌识别系统;基于Opencv实现、在EasyPR-Java的基础上优化配置及依赖版本 展开 收起
Java
BSD-3-Clause
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/wiscloud/yx-image-recognition.git
git@gitee.com:wiscloud/yx-image-recognition.git
wiscloud
yx-image-recognition
yx-image-recognition
master

搜索帮助