CN106295443B - A kind of localization method and device in bar code region - Google Patents
A kind of localization method and device in bar code region Download PDFInfo
- Publication number
- CN106295443B CN106295443B CN201610638843.3A CN201610638843A CN106295443B CN 106295443 B CN106295443 B CN 106295443B CN 201610638843 A CN201610638843 A CN 201610638843A CN 106295443 B CN106295443 B CN 106295443B
- Authority
- CN
- China
- Prior art keywords
- area
- scan lines
- region
- line
- scan
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/10544—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum
- G06K7/10821—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum further details of bar or optical code scanning devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/14—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
- G06K7/1404—Methods for optical code recognition
- G06K7/1439—Methods for optical code recognition including a method step for retrieval of the optical code
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Electromagnetism (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Toxicology (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Image Analysis (AREA)
Abstract
The invention discloses the localization methods and device in a kind of bar code region, for solving the problems, such as that positioning bar code region accuracy is low in the prior art.It include: that area to be tested is partitioned into multiple subregions;At least one first area is oriented in the multiple subregions being partitioned into, wherein each first area meets: at least 3 scan lines being determined into along bar code direction in the first area and the most wide striped of at least 3 scan lines and the ratio of most narrow strips are respectively less than the first given threshold;At least 3 scan lines include in the first area along at least 5 scan lines that bar code direction is determined, at least 5 scan lines are by the first area equal part.Due to using the most wide striped of scan line and the ratio of most narrow strips to position multiple subregions that area to be tested is partitioned into, when the encoding characteristics of bar code missing, the positioning in bar code region is not influenced, improves the accuracy of bar code region detection.
Description
Technical field
The present invention relates to computer vision field more particularly to a kind of localization methods and device in bar code region.
Background technique
Based on computer vision system bar code detection in, how the item of precise and high efficiency oriented in area to be tested
Code region, is always an important research topic.
In the prior art, after area to be tested being divided into multiple regions, using the encoding characteristics of bar code itself, for dividing
Multiple detection zones after cutting are positioned, when dirty and missing occur in the encoding characteristics of bar code, although the content of bar code does not have
It is destroyed, but since the missing of encoding characteristics will cause positioning mistake, influences the accuracy of positioning.
Summary of the invention
The object of the present invention is to provide the localization methods and device in a kind of bar code region, to solve to work as the encoding characteristics of bar code
When there is dirty and missing, the low problem of the accuracy of bar code region detection.
The purpose of the present invention is what is be achieved through the following technical solutions:
A kind of localization method in bar code region, comprising:
Area to be tested is partitioned into multiple subregions;
At least one first area is oriented in the multiple subregions being partitioned into, wherein each first area meets:
By the first area along bar code direction determine the most wide striped of at least 3 scan lines and at least 3 scan lines with it is most narrow
The ratio of striped is respectively less than the first given threshold;At least 3 scan lines are included in true along bar code direction in the first area
In at least 5 scan lines made, at least 5 scan lines are by the first area equal part.
Optionally, further includes:
At least one second area is oriented at least one first area oriented, wherein each second area is full
Foot: at least 2 scan lines and at least 2 scan lines are determined at least 3 scan lines determined in this second area
In every scan line first black streaking boundary change in polarity be by white to black, the polarity on the last one black streaking boundary
Variation is by black to white.
Optionally, further includes:
At least one third region is oriented at least one second area oriented, wherein each third region is full
Foot: 1 scan line of at least 2 scan lines are respectively provided with described in determining in the third region central point and insertion
Central point is conllinear;The central point is that the interlock mean value of multiple intersection coordinate values of striped of the scan line and black and white is swept described
Corresponding point on line is retouched, 1 scan line of the insertion is inserted in parallel into 2 of arbitrary neighborhood at least 2 scan lines
Between scan line and 1 scan line of insertion is respectively to the vertical range phase between 2 scan lines of the arbitrary neighborhood being inserted into
Deng.
Optionally, further includes:
At least one the fourth region is oriented at least one the third region oriented, wherein each the fourth region is full
Foot: the line and the fourth region for the central point that at least 2 scan lines are respectively provided with described in determining in the fourth region
The angle on two sides be respectively smaller than the second given threshold, two sides be respectively at least 2 scan lines or at least 2
There are the sides of intersection point for the extended line of scan line.
Based on inventive concept same as method, the embodiment of the invention provides a kind of positioning devices in bar code region, should
Device includes:
Determining module, for area to be tested to be partitioned into multiple subregions;
Processing module, for orienting at least one first area in the multiple subregions being partitioned into, wherein each
First area meets: at least 3 scan lines and at least 3 scan lines are determined along bar code direction in the first area
Most wide striped and the ratio of most narrow strips are respectively less than the first given threshold;At least 3 scan lines are included in the first area
It is middle along at least 5 scan lines that bar code direction is determined, at least 5 scan lines are by the first area equal part.
Optionally, the processing module is also used to:
At least one second area is oriented at least one first area oriented, wherein each second area is full
Foot: at least 2 scan lines and at least 2 scan lines are determined at least 3 scan lines determined in this second area
In every scan line first black streaking boundary change in polarity be by white to black, the polarity on the last one black streaking boundary
Variation is by black to white.
Optionally, the processing module is also used to:
At least one third region is oriented at least one second area oriented, wherein each third region is full
Foot: 1 scan line of at least 2 scan lines are respectively provided with described in determining in the third region central point and insertion
Central point is conllinear;The central point is that the interlock mean value of multiple intersection coordinate values of striped of the scan line and black and white is swept described
Corresponding point on line is retouched, 1 scan line of the insertion is inserted in parallel into 2 of arbitrary neighborhood at least 2 scan lines
Between scan line and 1 scan line of insertion is respectively to the vertical range phase between 2 scan lines of the arbitrary neighborhood being inserted into
Deng.
Optionally, the processing module is also used to:
At least one the fourth region is oriented at least one the third region oriented, wherein each the fourth region is full
Foot: the line and the fourth region for the central point that at least 2 scan lines are respectively provided with described in determining in the fourth region
The angle on two sides be respectively smaller than the second given threshold, two sides be respectively at least 2 scan lines or at least 2
There are the sides of intersection point for the extended line of scan line.
The invention discloses the localization methods and device in a kind of bar code region, and area to be tested is partitioned into multiple sub-districts
Domain;Orient at least one first area in the multiple subregions being partitioned into, wherein each first area meets: by this
The most wide striped and most narrow strips of at least 3 scan lines and at least 3 scan lines are determined along bar code direction in one region
Ratio is respectively less than the first given threshold;At least 3 scan lines include to determine in the first area along bar code direction
In at least 5 scan lines, at least 5 scan lines are by the first area equal part.Due to use the most wide striped of scan line with
The ratio of most narrow strips positions multiple subregions that area to be tested is partitioned into, when the encoding characteristics of bar code missing,
The positioning for not influencing bar code region improves the accuracy of bar code region detection.
Detailed description of the invention
Fig. 1 is a kind of localization method flow chart in bar code region provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic diagram in third region provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic diagram of the fourth region provided in an embodiment of the present invention;
Fig. 4 is the localization method flow chart in another bar code region provided in an embodiment of the present invention;
Fig. 5 is a kind of positioning device schematic diagram in bar code region provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.
In order to illustrate the technical solution of the embodiment of the present invention, the words such as " first ", " second ", " third ", " the 4th " have been used
Sample distinguishes the region oriented every time in the multiple subregions being partitioned into, and first area indicates what first time oriented
Subregion, second area indicate the subregion gone out after positioning second, and third region indicates the subregion that third time is oriented, the
Four regions indicate the 4th subregion oriented.
The embodiment of the invention provides a kind of localization methods in bar code region, as shown in Figure 1, including following operation:
Area to be tested is partitioned into multiple subregions by step 100.
Step 110 orients at least one first area in the multiple subregions being partitioned into, wherein each firstth area
Domain meets: the first area is determined to the most wide item of at least 3 scan lines and at least 3 scan lines along bar code direction
Line and the ratio of most narrow strips are respectively less than the first given threshold;At least 3 scan lines are included in the first area along item
In at least 5 scan lines for determining of code direction, at least 5 scan lines are by the first area equal part.
Specifically, the most wide striped, which can be black streaking, is also possible to informal voucher line, the most narrow strips can be secret note
Line is also possible to informal voucher line;
When the ratio of the most wide striped and most narrow strips that have at least 3 scan lines in any one subregion is all larger than first
Given threshold, the subregion are non-bar code region, which is filtered out.
First given threshold can be set according to the demand of user in practical application, can also be determined according to emulation,
It is not construed as limiting in the embodiment of the present invention.
Optionally, if orienting zero first area in the multiple subregions being partitioned into, detection terminates.
The invention discloses a kind of localization methods in bar code region, and area to be tested is partitioned into multiple subregions;Dividing
At least one first area is oriented in the multiple subregions cut out, wherein each first area meets: by the first area
At least 3 scan lines are determined along bar code direction and the most wide striped of at least 3 scan lines and the ratio of most narrow strips are equal
Less than the first given threshold;At least 3 scan lines include at least 5 determined in the first area along bar code direction
In scan line, at least 5 scan lines are by the first area equal part.Due to using the most wide striped and most narrow strips of scan line
Ratio multiple subregions that area to be tested is partitioned into are positioned, when bar code encoding characteristics missing when, do not influence item
The positioning in code region, improves the accuracy of bar code region detection.
In the embodiment of the present invention, after step 110, further includes:
Step 120 orients at least one second area at least one first area oriented, wherein each
Two regions meet: at least 2 scan lines and at least 2 are determined at least 3 scan lines determined in this second area
The change in polarity on first black streaking boundary of every scan line in scan line is by white to black, the last one black streaking side
The change in polarity on boundary is by black to white.
Specifically, working as first of the every scan line determined at least 2 scan lines in any one first area
It is not by black to white that the change in polarity on black streaking boundary, which is not by white to black or the change in polarity on the last one black streaking boundary,
When, which is non-bar code region, which is filtered out.
Second area is oriented from first area, and the accuracy of bar code region detection is improved relative to first area.
Optionally, if orienting zero second area at least one described first area, detection terminates.
Optionally, when the bar code direction of any one second area is from left to right, first black streaking boundary
For the left margin of first black streaking in left side, the last one described black streaking boundary is the right margin of first black streaking in right side.
In the embodiment of the present invention, after step 120, further includes:
Step 130 orients at least one third region at least one second area oriented, wherein each
Three regions meet: 1 of at least 2 scan lines are respectively provided with described in determining in the third region central point and insertion
The central point of scan line is conllinear;The central point be the scan line and black and white interlock striped multiple intersection coordinate values mean value
The corresponding point in the scan line, 1 scan line of the insertion are inserted in parallel into any phase at least 2 scan lines
Between 2 adjacent scan lines and 1 scan line of insertion is respectively to hanging down between 2 scan lines of the arbitrary neighborhood being inserted into
Directly it is equidistant.
Specifically, working as the central point that at least 2 scan lines determined in any one second area are respectively provided with
When not conllinear with the central point of 1 scan line of insertion, which is non-bar code region, which is filtered out.
Third region is oriented from second area, and the accuracy of bar code region detection is improved relative to second area.
For example: as illustrated in fig. 2, it is assumed that having two scan lines, respectively AB, CD in some third region;In AB,
It is inserted into 1 scan line EF, EF among CD and is parallel to AB and CD, and is equal with JK to the vertical range HI of AB and CD;The center of AB
Point is R, and the central point of CD is T, and the central point of EF is that S, central point R, S and T are conllinear.
Optionally, if orienting zero third region at least one described second area, detection terminates.
In the embodiment of the present invention, after step 130, further includes:
Step 140 orients at least one the fourth region at least one the third region oriented, wherein each
Four regions meet: the line for the central point that at least 2 scan lines are respectively provided with described in determining in the fourth region with should
The angle on two sides of the fourth region is respectively smaller than the second given threshold, and two sides are to scan respectively with described at least 2
There are the sides of intersection point for line or the extended line of at least 2 scan lines.
Specifically, working as the central point that at least 2 scan lines determined in any one third region are respectively provided with
Line, with the third region there are intersection points at least extended line of 2 scan lines or at least 2 scan lines respectively
At least one angle in angle in two sides is greater than the second given threshold, which is non-bar code region, by third
Area filter falls.
The fourth region is oriented from third region, the accuracy of bar code region detection is improved relative to third region.
Second given threshold can be set according to the demand of user in practical application, can also be determined according to emulation,
It is not construed as limiting in the embodiment of the present invention.
For example: as shown in Figure 3, it is assumed that have two scan lines, respectively AB, CD in some the fourth region;In AB,
It is inserted into 1 scan line EF, EF among CD and is parallel to AB and CD, and is equal with JK to the vertical range HI of AB and CD;The center of AB
Point is R, and the central point of CD is T, and the central point of EF is that S, central point R, S and T are conllinear, the extended line and RT of the side AC of the fourth region
Angle a be less than setting second threshold, the angle b of the extended line of the side BD of the fourth region and RT are less than setting second threshold.
Optionally, if orienting zero the fourth region at least one described third region, detection terminates.
Below by a specific embodiment to a kind of filter method progress in bar code region provided in an embodiment of the present invention
It is described in detail, as shown in Figure 4, comprising:
Area to be tested is partitioned into multiple subregions by step 400.
Each subregion in the multiple subregion is determined at least 5 scan lines along bar code direction by step 410,
At least 5 scan lines are by the subregion equal part.
Step 420, the most wide striped and most fillet that will can determine that out at least 3 scan lines at least 5 scan lines
The ratio of line is respectively less than the subregion of the first given threshold, is determined as first area.
Step 430, in each first area, determine at least 3 scan lines first black streaking boundary and last
The change in polarity on a black streaking boundary.
Step 440, by the of the every scan line that can determine that out in above-mentioned at least 3 articles of scan lines at least 2 articles of scan lines
The change in polarity on one black streaking boundary is by white to black, and the change in polarity on the last one black streaking boundary is by black to white the
One region, is determined as second area.
Step 450, in each second area, be inserted into 1 scan line, 1 scan line of the insertion is inserted in parallel into
In at least 2 scan lines between 2 scan lines of arbitrary neighborhood and insertion 1 scan line respectively to be inserted into appoint
The vertical range between 2 scan lines for anticipating adjacent is equal.
Step 460, the central point for distinguishing above-mentioned at least 2 scan lines are conllinear with the central point of 1 scan line of insertion
Second area, be determined as third region.
Step 470, in each third region, determine the company for the central point that above-mentioned at least 2 scan lines are respectively provided with
There are two of intersection point at least extended line of 2 scan lines or at least 2 scan lines respectively in line and the third region
The angle on side.
Step 480, the third region that the angle is both less than to the second given threshold, are determined as the fourth region.
Based on inventive concept same as method, the embodiment of the invention provides a kind of filter devices in bar code region, such as
Shown in Fig. 5, comprising:
Determining module 501, for area to be tested to be partitioned into multiple subregions.
Processing module 502, for orienting at least one first area in the multiple subregions being partitioned into, wherein each
A first area meets: at least 3 scan lines and at least 3 scan lines are determined along bar code direction in the first area
Most wide striped and the ratio of most narrow strips be respectively less than the first given threshold;At least 3 scan lines are included in firstth area
In domain along at least 5 scan lines that bar code direction is determined, at least 5 scan lines are by the first area equal part.
Optionally, the processing module is also used to:
At least one second area is oriented at least one first area oriented, wherein each second area is full
Foot: at least 2 scan lines and at least 2 scan lines are determined at least 3 scan lines determined in this second area
In every scan line first black streaking boundary change in polarity be by white to black, the polarity on the last one black streaking boundary
Variation is by black to white.
Optionally, the processing module is also used to:
At least one third region is oriented at least one second area oriented, wherein each third region is full
Foot: 1 scan line of at least 2 scan lines are respectively provided with described in determining in the third region central point and insertion
Central point is conllinear;The central point is that the interlock mean value of multiple intersection coordinate values of striped of the scan line and black and white is swept described
Corresponding point on line is retouched, 1 scan line of the insertion is inserted in parallel into 2 of arbitrary neighborhood at least 2 scan lines
Between scan line and 1 scan line of insertion is respectively to the vertical range phase between 2 scan lines of the arbitrary neighborhood being inserted into
Deng.
Optionally, the processing module is also used to:
At least one the fourth region is oriented at least one the third region oriented, wherein each the fourth region is full
Foot: the line and the fourth region for the central point that at least 2 scan lines are respectively provided with described in determining in the fourth region
The angle on two sides be respectively smaller than the second given threshold, two sides be respectively at least 2 scan lines or at least 2
There are the sides of intersection point for the extended line of scan line.
The invention discloses a kind of filter devices in bar code region, and area to be tested is partitioned into multiple subregions;Dividing
At least one first area is oriented in the multiple subregions cut out, wherein each first area meets: by the first area
At least 3 scan lines are determined along bar code direction and the most wide striped of at least 3 scan lines and the ratio of most narrow strips are equal
Less than the first given threshold;At least 3 scan lines include at least 5 determined in the first area along bar code direction
In scan line, at least 5 scan lines are by the first area equal part.Due to using the most wide striped and most narrow strips of scan line
Ratio multiple subregions that area to be tested is partitioned into are filtered, when bar code encoding characteristics missing when, do not influence item
The filtering in code region, improves the accuracy of bar code region detection.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (8)
1. a kind of localization method in bar code region, which is characterized in that this method comprises:
Area to be tested is partitioned into multiple subregions;
At least one first area is oriented in the multiple subregions being partitioned into, wherein each first area meets: by this
The most wide of each scan line at least 3 scan lines and at least 3 scan lines is determined along bar code direction in first area
Striped and the ratio of most narrow strips are respectively less than the first given threshold;At least 3 scan lines include edge in the first area
In at least 5 scan lines that bar code direction is determined, at least 5 scan lines are by the first area equal part.
2. the method according to claim 1, wherein further include:
At least one second area is oriented at least one first area oriented, wherein each second area meets:
It is determined at least 2 scan lines and at least 2 scan lines at least 3 scan lines determined in this second area
The change in polarity on first black streaking boundary of every scan line be by white to black, the polarity on the last one black streaking boundary becomes
It turns to by black to white.
3. according to the method described in claim 2, it is characterized by further comprising:
At least one third region is oriented at least one second area oriented, wherein each third region meets:
In 1 scan line of at least 2 scan lines are respectively provided with described in determining in the third region central point and insertion
Heart point is conllinear;The central point be the scan line and black and white interlock striped multiple intersection coordinate values mean value in the scanning
Corresponding point on line, 1 scan line of the insertion be inserted in parallel into arbitrary neighborhood at least 2 scan lines 2 sweep
It retouches between line and 1 scan line of insertion is respectively to the vertical range phase between 2 scan lines of the arbitrary neighborhood being inserted into
Deng.
4. according to the method described in claim 3, it is characterized by further comprising:
At least one the fourth region is oriented at least one the third region oriented, wherein each the fourth region meets:
The line and the fourth region between central point that at least 2 scan lines described in determining in the fourth region are respectively provided with
The angle on two sides be respectively smaller than the second given threshold, two sides be respectively at least 2 scan lines or at least 2
There are the sides of intersection point for the extended line of scan line.
5. a kind of positioning device in bar code region, which is characterized in that the device includes:
Determining module, for area to be tested to be partitioned into multiple subregions;
Processing module, for orienting at least one first area in the multiple subregions being partitioned into, wherein each first
Region meets: the first area being determined along bar code direction each at least 3 scan lines and at least 3 scan lines
The most wide striped of scan line and the ratio of most narrow strips are respectively less than the first given threshold;At least 3 scan lines are included in
In the first area along at least 5 scan lines that bar code direction is determined, at least 5 scan lines are by the first area etc.
Point.
6. device according to claim 5, which is characterized in that the processing module is also used to:
At least one second area is oriented at least one first area oriented, wherein each second area meets:
It is determined at least 2 scan lines and at least 2 scan lines at least 3 scan lines determined in this second area
The change in polarity on first black streaking boundary of every scan line be by white to black, the polarity on the last one black streaking boundary becomes
It turns to by black to white.
7. device according to claim 6, which is characterized in that the processing module is also used to:
At least one third region is oriented at least one second area oriented, wherein each third region meets:
In 1 scan line of at least 2 scan lines are respectively provided with described in determining in the third region central point and insertion
Heart point is conllinear;The central point be the scan line and black and white interlock striped multiple intersection coordinate values mean value in the scanning
Corresponding point on line, 1 scan line of the insertion be inserted in parallel into arbitrary neighborhood at least 2 scan lines 2 sweep
It retouches between line and 1 scan line of insertion is respectively to the vertical range phase between 2 scan lines of the arbitrary neighborhood being inserted into
Deng.
8. device according to claim 7, which is characterized in that the processing module is also used to:
At least one the fourth region is oriented at least one the third region oriented, wherein each the fourth region meets:
At least 2 scan lines described in determining in the fourth region are respectively provided with line and the fourth region between central point
The angle on two sides is respectively smaller than the second given threshold, two sides be respectively at least 2 scan lines or at least 2
There are the sides of intersection point for the extended line of scan line.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610638843.3A CN106295443B (en) | 2016-08-03 | 2016-08-03 | A kind of localization method and device in bar code region |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610638843.3A CN106295443B (en) | 2016-08-03 | 2016-08-03 | A kind of localization method and device in bar code region |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106295443A CN106295443A (en) | 2017-01-04 |
CN106295443B true CN106295443B (en) | 2018-12-07 |
Family
ID=57665717
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610638843.3A Active CN106295443B (en) | 2016-08-03 | 2016-08-03 | A kind of localization method and device in bar code region |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106295443B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107016317B (en) * | 2017-03-02 | 2019-12-24 | 浙江华睿科技有限公司 | Bar code decoding method and device |
CN107016388B (en) * | 2017-03-02 | 2019-11-15 | 浙江华睿科技有限公司 | A kind of localization method and device in one-dimension code region |
CN107609446B (en) * | 2017-07-31 | 2020-07-31 | 努比亚技术有限公司 | Code pattern recognition method, terminal and computer readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101093547A (en) * | 2007-05-18 | 2007-12-26 | 上海邮政科学研究院 | Method for recognizing article by cooperating bar code based on height parameter with digit |
CN101154267A (en) * | 2006-09-28 | 2008-04-02 | 李振宇 | Method for zone location and type judgment of two-dimensional bar code |
CN101882205A (en) * | 2010-06-01 | 2010-11-10 | 福建新大陆电脑股份有限公司 | Bar code image scanning method |
CN105260694A (en) * | 2015-10-22 | 2016-01-20 | 佛山科学技术学院 | Two-dimension code area locating method based on multistage backbone extraction and analysis |
CN105574466A (en) * | 2015-12-23 | 2016-05-11 | 苏州佳世达电通有限公司 | Barcode processing method and barcode processing apparatus |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6729544B2 (en) * | 2001-05-02 | 2004-05-04 | International Business Machines Corporation | Fast barcode search |
-
2016
- 2016-08-03 CN CN201610638843.3A patent/CN106295443B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101154267A (en) * | 2006-09-28 | 2008-04-02 | 李振宇 | Method for zone location and type judgment of two-dimensional bar code |
CN101093547A (en) * | 2007-05-18 | 2007-12-26 | 上海邮政科学研究院 | Method for recognizing article by cooperating bar code based on height parameter with digit |
CN101882205A (en) * | 2010-06-01 | 2010-11-10 | 福建新大陆电脑股份有限公司 | Bar code image scanning method |
CN105260694A (en) * | 2015-10-22 | 2016-01-20 | 佛山科学技术学院 | Two-dimension code area locating method based on multistage backbone extraction and analysis |
CN105574466A (en) * | 2015-12-23 | 2016-05-11 | 苏州佳世达电通有限公司 | Barcode processing method and barcode processing apparatus |
Non-Patent Citations (2)
Title |
---|
Research of Automatic Recognition Algorithm of Chinese-sensible;SUN Ming,et al.;《2009 WRI Global Congress on Intelligent Systems》;20090521;全文 * |
一维图像条形码识别方法研究;董华冰;《中国优秀硕士学位论文全文数据库信息科技辑》;20140115;第2014年卷(第01期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN106295443A (en) | 2017-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106295443B (en) | A kind of localization method and device in bar code region | |
TWI673651B (en) | Two-dimensional code positioning method and device | |
US9046888B2 (en) | Method and system for detouring around features cut from sheet materials with a laser cutter according to a pattern | |
KR20200037887A (en) | Method and apparatus for generating synthetic picture | |
CN105574931B (en) | A kind of electronic map road method for drafting and device | |
US20150109290A1 (en) | Device and method for removing noise points in point clouds | |
CN104835134B (en) | A kind of method and apparatus for calculating commodity image psoriasis score value | |
CN104200496B (en) | High-precision detecting and locating method for rectangular identifiers on basis of least square vertical fitting of adjacent sides | |
CN105354878B (en) | The preparation method and device of a kind of electronic map data | |
US9248525B2 (en) | Method and system for cutting features from sheet materials with a laser cutter according to a pattern | |
KR20140048631A (en) | Apparatus and method of reconstructing 3-dimension super-resolution image from depth image | |
CN109858542A (en) | A kind of character identifying method and device | |
CN104915053B (en) | The location determining method and device of a kind of interface control | |
US20140343840A1 (en) | Method and System for Selectively Blending Buildings to Improve Route Visibility in a 3D Navigation System | |
CN107833227A (en) | A kind of method for drafting and its system of circular clipping region | |
CN108038841B (en) | Silicon wafer LD defect detection method and device | |
US20160163102A1 (en) | Computing device and method for processing point clouds | |
CN107945190A (en) | Bianry image high-speed communication region computational methods | |
CN111814803A (en) | Graph segmentation method, device and equipment and computer readable storage medium | |
US11100361B1 (en) | Method and apparatus for processing feature point matching result | |
CN108566549A (en) | The method of calibration and device of set-top box device parameter information | |
Gruppi et al. | An Efficient and Topologically Correct Map Generalization Heuristic. | |
KR101964454B1 (en) | Apparatus and method for refining data by eliminating problems that is inherent in data | |
WO2020154065A1 (en) | Plane sweep for multi-level navigation meshes | |
CN105094459A (en) | Optical multi-point touch positioning method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: C10, No. 1199 Bin'an Road, Binjiang District, Hangzhou City, Zhejiang Province Patentee after: Zhejiang Huarui Technology Co.,Ltd. Address before: C10, No. 1199 Bin'an Road, Binjiang District, Hangzhou City, Zhejiang Province Patentee before: ZHEJIANG HUARAY TECHNOLOGY Co.,Ltd. |
|
CP01 | Change in the name or title of a patent holder |