Method and device for positioning bar code in image and code scanning equipment
A positioning method and barcode technology, applied in the field of image processing
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0030] figure 1 It is a schematic flowchart of a method for locating barcodes in images provided by Embodiment 1 of the present invention. This method is suitable for locating short barcodes in captured images so as to decode short barcodes. The method consists of barcodes in images The positioning device of the barcode in the image can be implemented by means of software and / or hardware, and can be integrated into an electronic device with a specific scanning function. code device. Such as figure 1 As shown, the method specifically includes the following steps:
[0031] S101. Acquire initial rectangles positioned from the captured images to be positioned, and acquire line segment information of the line segments included in each of the initial rectangles.
[0032] In this embodiment, the image to be positioned can be specifically understood as an image containing a barcode to be recognized, and the image to be positioned can be captured by the built-in information captur...
Embodiment 2
[0045] figure 2 It is a schematic flowchart of a barcode positioning method in an image provided by Embodiment 2 of the present invention. This embodiment is optimized on the basis of the above-mentioned embodiments. In this embodiment, according to the line segments contained in each initial rectangle Combining the line segment information with the given short barcode bar length range, determining at least one intermediate rectangle is further embodied as: for each initial rectangle, according to the line segment information of the line segments contained in the initial rectangle, determine whether there are more than The lengths of the set number of line segments are all within the length range of the short barcode; if so, record the initial rectangle as the middle rectangle; otherwise, delete the initial rectangle and the included line segments.
[0046] At the same time, this embodiment further embodies the determination of the effective rectangular area containing the sh...
Embodiment 3
[0109] Figure 5 It is a structural block diagram of a barcode positioning device in an image provided by Embodiment 3 of the present invention. The device can be implemented in the form of software and / or hardware, and the device can be configured in equipment, such as a code scanning gun, a code scanning platform, etc. Scanning equipment. Such as Figure 5 As shown, the device may include: an information acquisition module 31 , a rectangular screening module 32 and an area determination module 33 .
[0110] Wherein, the information obtaining module 31 is used to obtain the initial rectangles positioned from the captured image to be positioned, and obtain the line segment information of the line segments included in each of the initial rectangles;
[0111] The rectangle screening module 32 is used to determine at least one intermediate rectangle according to the line segment information of the line segments contained in each of the initial rectangles in combination with the...
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