Java Spring Boot License Plate Recognition and Training System (Open‑Source)
This open‑source project implements a Spring Boot and Maven based license‑plate detection and training system in Java, leveraging OpenCV and JavaCPP, supporting multiple plate colors, SVM and ANN algorithms, and providing a B/S architecture with SQLite, Swagger documentation, and extensible image‑recognition features.
The repository (https://gitee.com/admin_yu/yx-image-recognition) provides a Java‑based license‑plate recognition and training system built with Spring Boot and Maven.
Introduction: It offers a deep‑learning solution for vehicle plate detection, extending the original EasyPR project with additional green‑plate support, SVM detection, and ANN recognition, and serves as an entry‑level tutorial for image‑recognition techniques.
Features: Detects yellow, blue, green, and mixed plates; handles single or multiple images concurrently; includes training modules for plate detection and character recognition; supports both org.bytedeco.javacpp and org.opencv Java bindings.
Software Versions: JDK 1.8.61+, Maven 3.0+, OpenCV 4.0.1 (with javacpp 1.4.4), Spring Boot 2.1.5.RELEASE, and the yx‑image‑recognition 1.0.0 package.
Architecture: B/S model with HTML/RequireJS front‑end, Java back‑end, SQLite database, and Swagger 2.0 API documentation.
Operation Interface: Web UI accessible at http://localhost:16666/index and API docs at http://localhost:16666/swagger-ui.html.
Plate Detection Process: Includes Gaussian blur, grayscale conversion, Sobel edge detection, binarization, morphological closing, noise reduction, contour extraction and filtering, cropping, and resizing, producing detection results displayed as images.
Plate Character Recognition Process: Shows debugging steps such as character thresholding, clearing, and region‑of‑interest extraction with visual outputs.
Installation Guide: Set up the development environment (see ./doc/01_开发环境搭建.md), copy the PlateDetect folder to D:/PlateDetect, adjust paths in com/yuxue/constant/Constant.java, then run the Spring Boot application.
References: EasyPR project (gitee.com/easypr/EasyPR), EasyPR‑Java (github.com/fan-wenjie/EasyPR-Java), and the official OpenCV website.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Java Captain
Focused on Java technologies: SSM, the Spring ecosystem, microservices, MySQL, MyCat, clustering, distributed systems, middleware, Linux, networking, multithreading; occasionally covers DevOps tools like Jenkins, Nexus, Docker, ELK; shares practical tech insights and is dedicated to full‑stack Java development.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
