Bill scanning image fast tilt correction method and system
A scanning image and tilt correction technology, which is applied in the field of rapid tilt correction method and system for scanned images of bills, can solve the problems that it is difficult to quickly detect whether there is tilt in the image, the amount of calculation is small, and the accuracy of tilt angle detection is reduced. Bill recognition and counterfeiting errors, small amount of data processing, and the effect of improving detection accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0081] This embodiment provides a method for fast tilt correction of the scanned image of the bill of the bill acceptance module, such as figure 1 As shown, it specifically includes the following steps:
[0082] Step 1. Obtain the color scanned image in the scanned image of the bill, and perform the gray-scale and binarization processing in sequence to obtain the binary image.
[0083] Among them, the bill scan image is scanned by the financial bill system CIS and obtained by the bill acceptance module. The resolution is 300DPI, so the image size is relatively large. The general financial bill system CIS scan light source is white light, infrared, and ultraviolet light sources, so The bill scan image in this embodiment includes multiple images such as a color scan image, an infrared scan image, and an ultraviolet scan image.
[0084] In this step 1, the color scanned image is selected as the object to detect the inclination angle of the bill, that is, the scanned image of the bill i...
Embodiment 2
[0104] Compared with the first embodiment, this embodiment further optimizes the down-sampling process of the binary image obtained in step 1, such as image 3 As shown, including the following steps:
[0105] Step 2.1: Set the number of image pyramid layers n=4 according to the resolution of the color scanned image of the bill, and the j-th layer from bottom to top, j=0,1,2,...,3; take the binary image obtained in step 1 as The binary image of the 0th layer of the image pyramid;
[0106] Step 2.2, initialize j=0;
[0107] Step 2.3, take the binary image of the j-th layer, divide it into cells with a pixel size of 2*2, and count the number of foreground pixels in each cell with a value of 1; there is no overlap between all cells;
[0108] Step 2.4: For each cell in the binary image of the j-th layer, determine whether the number of foreground pixel values of 1 is greater than the preset threshold, if so, fill all the cells with foreground pixel values of 1, otherwise Fill all the...
Embodiment 3
[0113] Compared with the first embodiment, this embodiment further optimizes the tilt angle coarse inspection method and the tilt angle fine inspection method, and the tilt angle fine inspection method specifically adopts the binary search and search algorithm, which can accelerate the detection and processing speed of the tilt angle of the scanned image of the bill.
[0114] Among them, the specific process of rough inspection of tilt angle is:
[0115] Step 3.1, take 0 as the initial rotation angle and preset angle θ step Is the rough inspection step length, in the preset maximum tilt angle range [-θ max , +θ max ] To obtain different rough inspection rotation angles;
[0116] In this embodiment, since the scanned image of the bill scanned by the bill acceptance module generally has an inclination angle of ±2°, the maximum inclination angle θ is set max =2°, and set the coarse inspection step to θ step =1°, in [-θ max ,+θ max ] The value in the interval is taken as the rotation...
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