License Plate Detection Using ML Regression and Classification
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In intelligent transportation systems, license plate detection accuracy is compromised due to varying backgrounds and similarities between license plate textures and surrounding elements, leading to increased error rates and inaccurate boundary identification.
Innovation Solution
A method and apparatus utilizing machine learning-based regression and classification models to detect license plates by adjusting aspect ratios and determining boundaries, incorporating pixel value analysis and greyscale jump values to distinguish between license plate and background areas.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If traditional license plate detection methods are used, then the detection process is simple, but the detection accuracy deteriorates due to varying backgrounds and texture similarities
Solution Approach 1:
The detection process is segmented into multiple independent stages: candidate area generation based on pixel values, aspect ratio filtering, machine learning-based regression for boundary adjustment, and classification model verification. Each stage handles a specific aspect of the detection task, allowing the system to achieve high accuracy through coordinated processing of multiple features without requiring a single complex system
Solution Approach 2:
The system dynamically adjusts detection parameters including aspect ratio thresholds, greyscale jump values, and machine learning model inputs based on the specific characteristics of each image. By adapting these parameters to the actual image content rather than using fixed values, the system maintains high accuracy across varying backgrounds and lighting conditions
2Measurement precision
If the license plate area includes background parts, then the detection coverage is increased, but the boundary identification accuracy deteriorates
Solution Approach 1:
The detected license plate area is dynamically adjusted through multiple refinement stages. The initial candidate area is progressively narrowed and corrected by aspect ratio constraints, machine learning-based regression algorithms, and classification model verification. This dynamic refinement process allows the system to adapt the detected area to match the actual license plate boundaries more accurately while maintaining appropriate coverage
Solution Approach 2:
The system incorporates feedback mechanisms where the classification model verifies the detected area against learned patterns of actual license plates. If the detected area includes excessive background or has incorrect boundaries, the feedback from the classification model triggers adjustments to the final detected region, ensuring both adequate coverage and precise boundary identification
3Measurement precision
If machine learning-based regression algorithm is used to adjust candidate area, then the detection accuracy is improved, but the processing time increases
Solution Approach 1:
The system performs preliminary actions by first generating candidate license plate areas using simple pixel value thresholding and greyscale jump detection before applying the more computationally intensive machine learning-based regression algorithm. This preliminary filtering step reduces the number of areas that require complex processing, thereby decreasing overall processing time while maintaining high accuracy
Solution Approach 2:
The machine learning-based regression algorithm is applied partially only to the candidate areas that pass the initial filtering stages, rather than processing all possible regions. This partial application of the complex algorithm to only the most promising candidates significantly reduces processing time while maintaining the accuracy benefits of the sophisticated method
Data Source
AI summary
Embodiments of the present disclosure provide a method and apparatus for detecting a license plate. The method comprises: obtaining, according to pixel values of pixels in an image to be detected, a candidate license plate area M1 in the image to be detected (S101); calculating an aspect ratio of the candidate license plate area M1 and determining if the aspect ratio is greater than a first predefined threshold (S102); determining, if the aspect ratio is greater than the first predefined threshold, a new candidate license plate area M2 from the candidate license plate area M1 according to a predefined machine learning-based regression algorithm (S103); determining, according to a first predefined classification model, whether the candidate license plate area M2 is a license plate area (S104); determining, if the candidate license plate area M2 is a license plate area, the candidate license plate area M2 as a license plate area, and generating a detection result based on the candidate license plate area M2 (S105). The application of the solution improves the accuracy of license plate detection.


