License plate character segmentation method
A character segmentation, character technology, applied in character and pattern recognition, instruments, computer parts and other directions, can solve the problem of reducing the accuracy of license plate positioning, cutting and other problems
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0034] Embodiment 1, if the process is as figure 1 Described, a kind of license plate character segmentation method, comprises steps:
[0035] Step S1: Determine the upper, lower, left, and right frame areas of the license plate, and filter out the frame area image of the license plate image, and perform step S2;
[0036] Step S2: quickly cluster the license plate image by scanning row by pixel, initially segment each character in each character class, and execute step S3;
[0037] Step S3: compare the height of each character after clustering, and remove characters whose height is less than Height / 2 as noise;
[0038]Step S4: Determine whether the number of character classes (the number of all characters) is less than 7 or the width of a certain character is greater than the width of other characters and exceeds the threshold A (the width of Chinese characters on a license plate is generally 60mm), if the number of character classes is less than 7 or a certain character is...
Embodiment 2
[0043] Embodiment two: on the basis of embodiment one, the specific steps of determining the upper, lower, left, and right borders of the license plate in step S2 are
[0044] Step S11: Since the license plate has 7 characters, it can be divided into 8 segments from the left border to the right border, and the license plate image is scanned row by row with the threshold L1=Width / 8. If there is a license plate image whose length is greater than L1 then is the upper and lower borders of the license plate, where Width is the pixel width of the license plate.
[0045] Step S12: Since the license plate characters generally occupy 1 / 2 of the height in the height direction of the license plate, the license plate image is scanned column by column with the threshold L2=Height / 4. If the length of a certain column of the license plate image is greater than L2, it is the left and right borders of the license plate , where Height is the pixel height of the license plate.
[0046] Step S13...
Embodiment 3
[0047] Embodiment 3, on the basis of Embodiment 1, step S2 scans the license plate image row by pixel to quickly cluster the specific steps as follows:
[0048] Step S21: When the distance d between two pixels is less than or equal to d_const, it can be considered that the two pixels belong to the same character, where d_const is the distance d_const between the two pixel coordinates A(x1, y1), B(x2, y2) (A,B)=|x1-x2|+|y1-y2|;
[0049] Step S22: Generally, Width / 7 in front of the license plate image is the Chinese character part (the license plate image is from left to right, and Width / 7 is the Chinese character part from the left), which can be obtained from the d_const calculation formula in step S21. According to the characteristics of Chinese characters, binarization The distance between pixels that are not 0 in the same Chinese character after that may be greater than 1, so take d_const=2 or 3 clustering, at this time, the Chinese characters are segmented, and the Chinese...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com