License plate recognition and training system based on spring boot + maven (open source project)

gitee open source address "https://gitee.com/admin_yu/yx-image-recognition"

introduce

License plate recognition and training system implemented by spring boot + maven

There are relatively few deep learning projects based on the java language in the entire open source community; and the EasyPR-Java project for license plate recognition based on the java language was last updated five years ago.

I refer to the original C++ project of EasyPR and the EasyPR-Java project of fan-wenjie; at the same time, I consulted some of the official C++ source code of opencv version 4.0.1, combined with my understanding of the java language, and sorted out the current project

This is an entry-level tutorial project, and I am currently learning image recognition related technologies; Daniel please detour

Based on the original EasyPR project, the current project has added the green card recognition function, but the current training library file contains too few samples of green cards, and the training of green card samples needs to be added again, and will be gradually uploaded later

Currently, the license plate detection training based on the svm algorithm and the license plate number recognition training function based on the ann algorithm have been added

Document recognition, face recognition and other functions will be gradually added in the future

Contains functions

Yellow blue green yellow blue green license plate detection and license plate number recognition

Single picture, multiple pictures concurrently, single picture multiple license plate detection and recognition

Image license plate detection training

Image text recognition training

Contains two implementations of dependent packages: implementation based on org.bytedeco.javacpp package; implementation based on org.opencv official package

The org.opencv official package provides java language api; java projects can be referenced through build path or environment variables;

The org.bytedeco.javacpp package, JavaCPP is an open source library that provides efficient access to local C++ methods in Java; just introduce coordinate dependencies in the pom. Welcome to pay attention to Java projects and share a place to share high-quality projects

Software version

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 version 1.0.0

Software Architecture

B/S architecture, front-end html + requireJS, back-end java

The database uses sqlite3.0

The interface document uses swagger 2.0

Operation interface

Edit toggle to center

Add picture annotations, no more than 140 words (optional)

The picture of the license plate comes from the Internet and is only used for communication and learning, not for commercial purposes; if there is any infringement, please contact me to delete

License plate detection process

Gaussian Blur:

edit

Add picture annotations, no more than 140 words (optional)

Image grayscale:

edit

Add picture annotations, no more than 140 words (optional)

Sobel operator:

edit

Add picture annotations, no more than 140 words (optional)

Binary image:

edit

Add picture annotations, no more than 140 words (optional)

Image closing operation:

edit

Add picture annotations, no more than 140 words (optional)

Binary image denoising:

edit

Add picture annotations, no more than 140 words (optional)

Extract outer contours:

edit

Add picture annotations, no more than 140 words (optional)

Outer contour filtering:

edit

Add picture annotations, no more than 140 words (optional)

crop:

edit

Add picture annotations, no more than 140 words (optional)

Reset cutout size:

edit

Add picture annotations, no more than 140 words (optional)

License plate detection results:

Add picture annotations, no more than 140 words (optional)

Image license plate text recognition process

debug_char_threshold:

Add picture annotations, no more than 140 words (optional)

debug_char_clearLiuDing:

Add picture annotations, no more than 140 words (optional)

debug_specMat:

Add picture annotations, no more than 140 words (optional)

debug_chineseMat:

Add picture annotations, no more than 140 words (optional)

debug_char_auxRoi:

edit

Add picture annotations, no more than 140 words (optional)

Installation tutorial development environment construction: ./doc/01_Development environment construction.md Pull the project to the local, copy the PlateDetect folder to the d drive, and the default license plate recognition operations are processed in the d:/PlateDetect/ directory and need to be modified Path, just modify the constant parameters of the com/yuxue/constant/Constant.java file, you can use the absolute drive letter path, or use the project relative path spring boot to run the project, enter http://localhost:16666/index on the browser You can open the operation interface. Enter http://localhost:16666/swagger-ui.html on the browser to open the interface document page Reference document liuruoze/EasyPR: https://gitee.com/easypr/EasyPR fan-wenjie/EasyPR -Java: https://github.com/fan-wenjie/EasyPR-Java opencv official: https://opencv.org/

The latest Java project collection of top ten projects! 1. New crown epidemic statistics system 2. Tutoring system 3. Diet sharing system 4. Gym management system 5. Online ordering system 6. Pet adoption system 7. Campus course selection system 8. Tmall-like shopping mall system 9. Online examination system 10. Hotel Room Management System

If you like it, please give a small three-link~ (like, comment, and forward) How to get the information of the top ten project collections: Comment keywords: learn to private message me to receive the network disk data package of the top ten project collections

Edit toggle to center

Add picture annotations, no more than 140 words (optional)

Guess you like

Origin blog.csdn.net/lxianshengde/article/details/124690072