One-dimensional barcode identification method based on image sampling line grey scale information analysis
A technology of image sampling and grayscale information, which is applied in the field of one-dimensional barcode recognition, can solve the problems of barcode bar space information errors, affecting the distribution of projection curves, etc., to prevent errors, have good practicability and adaptability, and improve accuracy. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] Referring to 2-5, a one-dimensional barcode recognition method based on image sampling line grayscale information analysis, the steps are as follows: (1) Find the precise area of the one-dimensional barcode according to the image segmentation calculation to form the sampling interval ABCD;
[0037] (2) According to the placement position of the image or other approaching directions, arrange a sampling curve b2 that passes through all the black and white bars of the one-dimensional barcode;
[0038] (3) Obtain the gray value of each position on the sampling curve b2 from point b21 to point b22 on the sampling interval ABCD to form a gray curve with high and low pixel values, and the peak part of the gray curve corresponds to the one-dimensional barcode White bar, the black bar of the one-dimensional barcode corresponding to the trough part;
[0039] (4) Perform corresponding processing on the sampled grayscale curve to obtain a binary pulse curve corresponding to black...
Embodiment 2
[0046] The difference between this embodiment and Embodiment 1 is that when there is a stain on the sampling curve b2, which causes the sampling curve to fail to obtain the width of the bar space, you can continue to re-arrange other sampling lines on the barcode image, such as a1, a2, b1, and repeat Step (2)-step (5) until a complete one-dimensional barcode is obtained. When there is a stain somewhere in the barcode, as long as it does not cover the entire length of the empty unit, it will not affect the recognition of the barcode.
Embodiment 3
[0048] The difference between this embodiment and Embodiment 1 is that when there are stains on the multiple sampling curves of the one-dimensional barcode, the successfully decoded parts on each sampling curve are combined to form a complete one-dimensional barcode to realize the one-dimensional barcode It can also be recognized when there are many stains on it.
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