CN106295443A - The localization method in a kind of bar code region and device - Google Patents
The localization method in a kind of bar code region and device Download PDFInfo
- Publication number
- CN106295443A CN106295443A CN201610638843.3A CN201610638843A CN106295443A CN 106295443 A CN106295443 A CN 106295443A CN 201610638843 A CN201610638843 A CN 201610638843A CN 106295443 A CN106295443 A CN 106295443A
- Authority
- CN
- China
- Prior art keywords
- scan lines
- area
- region
- bar code
- line
- 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.)
- Granted
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 localization method and the device in a kind of bar code region, for solving prior art positions the problem that bar code region accuracy is low.Including: region segmentation to be detected is gone out many sub regions;Orienting at least one first area in the many sub regions being partitioned into, each of which first area meets: this first area being determined along bar code direction, the widest striped of at least 3 scan lines and described at least 3 scan lines is respectively less than the first setting threshold value with the ratio of narrow strips;Described at least 3 scan lines are included in this first area at least 5 scan lines determined along bar code direction, and described at least 5 scan lines are by this first area decile.Many sub regions that detection zone regional partition goes out owing to using the ratio of the widest striped and the narrow strips of scan line to treat position, and when the encoding characteristics disappearance of bar code, do not affect the location in bar code region, improve the accuracy of bar code region detection.
Description
Technical field
The present invention relates to computer vision field, particularly relate to localization method and the device in a kind of bar code region.
Background technology
In bar code based on computer vision system detects, the how bar oriented in region to be detected of precise and high efficiency
Code region, always one important research topic.
In prior art, after region segmentation to be detected is become multiple region, utilize the encoding characteristics of bar code itself, for dividing
Multiple detection regions after cutting position, when dirty and disappearance occurs in the encoding characteristics of bar code, although the content of bar code does not has
Destroyed, but owing to the disappearance of encoding characteristics can cause Wrong localization, the accuracy of impact location.
Summary of the invention
It is an object of the invention to provide localization method and the device in a kind of bar code region, to solve the encoding characteristics when bar code
When dirty and disappearance occurs, the problem that the accuracy of bar code region detection is low.
It is an object of the invention to be achieved through the following technical solutions:
A kind of localization method in bar code region, including:
Region segmentation to be detected is gone out many sub regions;
Orienting at least one first area in the many sub regions being partitioned into, each of which first area meets:
This first area is determined along bar code direction, and the widest striped of at least 3 scan lines and described at least 3 scan lines is with the narrowest
The ratio of striped is respectively less than the first setting threshold value;Described at least 3 scan lines are included in this first area true along bar code direction
In at least 5 scan lines made, described at least 5 scan lines are by this first area decile.
Optionally, also include:
Orienting at least one second area at least one first area oriented, the most each second area is full
Foot: determine at least 2 scan lines and at least 2 scan lines in described at least 3 scan lines determined in this second area
In the change in polarity on first black streaking border of every scan line be by white to black, the polarity on last black streaking border
It is changed to by black to white.
Optionally, also include:
Orienting at least one the 3rd region at least one second area oriented, the most each 3rd region is full
Foot: 1 article of scan line of the central point that at least 2 articles of scan lines described in determining in the 3rd region are respectively provided with and insertion
Central point conllinear;Described central point is described scan line and the interlock average of multiple intersection coordinate value of striped of black and white is swept described
Retouching on line corresponding point, 1 scan line of described insertion is inserted in parallel in described at least 2 scan lines 2 of arbitrary neighborhood
Between scan line and 1 scan line inserting is respectively to the vertical dimension phase between 2 scan lines of the arbitrary neighborhood being inserted into
Deng.
Optionally, also include:
Orienting at least one the 4th region at least one oriented the 3rd region, the most each 4th region is full
Foot: the line of the central point that at least 2 articles of scan lines described in determining in the 4th region are respectively provided with and the 4th region
The angle on two limits be respectively smaller than the second setting threshold value, described two limits be respectively with described at least 2 scan lines or at least 2
There is the limit of intersection point in the extended line of bar scan line.
Based on the inventive concept as method, embodiments provide the positioner in a kind of bar code region, should
Device includes:
Determine module, for region segmentation to be detected is gone out many sub regions;
Processing module, for orienting at least one first area, each of which in the many sub regions being partitioned into
First area meets: this first area is determined at least 3 scan lines and described at least 3 scan lines along bar code direction
The widest striped is respectively less than the first setting threshold value with the ratio of narrow strips;Described at least 3 scan lines are included in this first area
In middle at least 5 scan lines determined along bar code direction, described at least 5 scan lines are by this first area decile.
Optionally, described processing module is additionally operable to:
Orienting at least one second area at least one first area oriented, the most each second area is full
Foot: determine at least 2 scan lines and at least 2 scan lines in described at least 3 scan lines determined in this second area
In the change in polarity on first black streaking border of every scan line be by white to black, the polarity on last black streaking border
It is changed to by black to white.
Optionally, described processing module is additionally operable to:
Orienting at least one the 3rd region at least one second area oriented, the most each 3rd region is full
Foot: 1 article of scan line of the central point that at least 2 articles of scan lines described in determining in the 3rd region are respectively provided with and insertion
Central point conllinear;Described central point is described scan line and the interlock average of multiple intersection coordinate value of striped of black and white is swept described
Retouching on line corresponding point, 1 scan line of described insertion is inserted in parallel in described at least 2 scan lines 2 of arbitrary neighborhood
Between scan line and 1 scan line inserting is respectively to the vertical dimension phase between 2 scan lines of the arbitrary neighborhood being inserted into
Deng.
Optionally, described processing module is additionally operable to:
Orienting at least one the 4th region at least one oriented the 3rd region, the most each 4th region is full
Foot: the line of the central point that at least 2 articles of scan lines described in determining in the 4th region are respectively provided with and the 4th region
The angle on two limits be respectively smaller than the second setting threshold value, described two limits be respectively with described at least 2 scan lines or at least 2
There is the limit of intersection point in the extended line of bar scan line.
The invention discloses localization method and the device in a kind of bar code region, by region segmentation Chu Duogezi district to be detected
Territory;Orienting at least one first area in the many sub regions being partitioned into, each of which first area meets: by this
The widest striped and the narrow strips of at least 3 scan lines and described at least 3 scan lines is determined in one region along bar code direction
Ratio is respectively less than the first setting threshold value;Described at least 3 scan lines are included in be determined along bar code direction in this first area
Article at least 5, in scan line, described at least 5 scan lines are by this first area decile.Due to use scan line the widest striped with
The ratio of narrow strips is treated many sub regions that detection zone regional partition goes out and is positioned, when the encoding characteristics of bar code lacks,
Do not affect the location in bar code region, improve the accuracy of bar code region detection.
Accompanying drawing explanation
The localization method flow chart in a kind of bar code region that Fig. 1 provides for the embodiment of the present invention;
The schematic diagram in a kind of 3rd region that Fig. 2 provides for the embodiment of the present invention;
The one four-range schematic diagram that Fig. 3 provides for the embodiment of the present invention;
The localization method flow chart in another bar code region that Fig. 4 provides for the embodiment of the present invention;
The positioner schematic diagram in a kind of bar code region that Fig. 5 provides for the embodiment of the present invention.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
The a part of embodiment of the present invention rather than whole embodiments.
In order to the technical scheme of the embodiment of the present invention is described, employ the words such as " first ", " second ", " the 3rd ", " the 4th "
Sample, makes a distinction the region oriented in the many sub regions being partitioned into every time, and first area represents that first time orients
Subregion, the subregion that second area goes out after representing second time location, the subregion that the 3rd region representation third time is oriented, the
The subregion that four region representations are oriented for the 4th time.
Embodiments provide the localization method in a kind of bar code region, as it is shown in figure 1, include operating as follows:
Step 100, region segmentation to be detected is gone out many sub regions.
Step 110, in the many sub regions being partitioned into, orient at least one first area, each of which the firstth district
Territory meets: this first area is determined the widest bar of at least 3 scan lines and described at least 3 scan lines along bar code direction
Stricture of vagina is respectively less than the first setting threshold value with the ratio of narrow strips;Described at least 3 scan lines are included in this first area along bar
In at least 5 scan lines that code direction is determined, described at least 5 scan lines are by this first area decile.
Concrete, the widest described striped can be black streaking can also be informal voucher stricture of vagina, described narrow strips can be secret note
Stricture of vagina can also be informal voucher stricture of vagina;
When the ratio of the widest striped with narrow strips that have at least 3 scan lines in any one subregion is all higher than first
Setting threshold value, this subregion is non-bar code region, is filtered out by this subregion.
Described first sets the requirements set of user during threshold value can be applied according to reality, it is also possible to determine according to emulation,
The embodiment of the present invention is not construed as limiting.
Optionally, if orienting zero first area in the many sub regions being partitioned into, detection terminates.
The invention discloses the localization method in a kind of bar code region, region segmentation to be detected is gone out many sub regions;Dividing
Orienting at least one first area in the many sub regions cut out, each of which first area meets: by this first area
Determine that along bar code direction the widest striped of at least 3 scan lines and described at least 3 scan lines is equal with the ratio of narrow strips
Threshold value is set less than first;Described at least 3 scan lines are included in this first area at least 5 determined along bar code direction
In scan line, described at least 5 scan lines are by this first area decile.Owing to using the widest striped and the narrow strips of scan line
Ratio treat many sub regions that detection zone regional partition goes out and position, when the encoding characteristics of bar code lacks, do not affect bar
The location in code region, improves the accuracy of bar code region detection.
In the embodiment of the present invention, after step 110, also include:
Step 120, at least one first area oriented, orient at least one second area, the most each
Two regions meet: determine at least 2 scan lines and at least 2 in described at least 3 scan lines determined in this second area
The change in polarity on first black streaking border of every scan line in bar scan line is by white to black, last black streaking limit
The change in polarity on boundary is to white by black.
Concrete, when first of every the scan line determined in any one first area at least 2 scan lines
The change in polarity on black streaking border is not by white to black, or the change in polarity on last black streaking border is not to white by black
Time, this first area is non-bar code region, is filtered out this first area.
From first area, orient second area, improve the accuracy of bar code region detection relative to first area.
Optionally, if orienting zero second area at least one first area described, detection terminates.
Optionally, when the bar code direction of any one second area be from left to right time, described first black streaking border
For the left margin of first black streaking in left side, last black streaking border described is the right margin of first black streaking in right side.
In the embodiment of the present invention, after step 120, also include:
Step 130, at least one second area oriented, orient at least one the 3rd region, the most each
Three regions meet: 1 article of the central point that at least 2 articles of scan lines described in determining in the 3rd region are respectively provided with and insertion
The central point conllinear of scan line;Described central point is described scan line and black and white is interlocked the average of multiple intersection coordinate value of striped
Point corresponding in described scan line, 1 scan line of described insertion is inserted in parallel in described at least 2 scan lines any phase
Between 2 adjacent scan lines and 1 scan line inserting is respectively to hanging down between 2 scan lines of the arbitrary neighborhood being inserted into
Straight apart from equal.
Concrete, that at least 2 scan lines described in determine in any one second area are respectively provided with central point
During with the central point not conllinear of 1 scan line inserted, this second area is non-bar code region, is filtered out by this second area.
From second area, orient the 3rd region, improve the accuracy of bar code region detection relative to second area.
Illustrate: as illustrated in fig. 2, it is assumed that there are two articles of scan lines, respectively AB, CD in some the 3rd region;At AB,
Inserting 1 scan line EF in the middle of CD, EF is parallel to AB and CD, and equal with JK to vertical dimension HI of AB and CD;The center of AB
Point is T for the central point of R, CD, and the central point of EF is S, central point R, S and T conllinear.
Optionally, if orienting zero the 3rd region at least one second area described, detection terminates.
In the embodiment of the present invention, after step 130, also include:
Step 140, at least one oriented the 3rd region, orient at least one the 4th region, the most each
Four regions meet: the line of the central point that at least 2 articles of scan lines described in determining in the 4th region are respectively provided with should
The angle on two articles of limits of four-range is respectively smaller than the second setting threshold value, described two limits be respectively with described at least 2 scannings
There is the limit of intersection point in the extended line of line or at least 2 scan lines.
Concrete, that at least 2 articles of scan lines described in determine in any one the 3rd region are respectively provided with central point
Line, there is intersection point with the extended line with described at least 2 articles of scan lines or at least 2 articles of scan lines respectively in the 3rd region
Article two, at least one angle in the angle in limit is more than the second setting threshold value, and the 3rd region is non-bar code region, by the 3rd
Area filter falls.
From the 3rd region, orient the 4th region, improve the accuracy of bar code region detection relative to the 3rd region.
Described second sets the requirements set of user during threshold value can be applied according to reality, it is also possible to determine according to emulation,
The embodiment of the present invention is not construed as limiting.
Illustrate: as shown in Figure 3, it is assumed that there are two articles of scan lines, respectively AB, CD in some the 4th region;At AB,
Inserting 1 scan line EF in the middle of CD, EF is parallel to AB and CD, and equal with JK to vertical dimension HI of AB and CD;The center of AB
Point is T for the central point of R, CD, and the central point of EF is S, central point R, S and T conllinear, the extended line of four-range limit AC and RT
Angle a less than setting Second Threshold, the extended line of four-range limit BD and the angle b of RT are less than setting Second Threshold.
Optionally, if orienting zero the 4th region at least one the 3rd region described, detection terminates.
The filter method in a kind of bar code region provided the embodiment of the present invention below by a specific embodiment is carried out
Describe in detail, as shown in Figure 4, including:
Step 400, region segmentation to be detected is gone out many sub regions.
Step 410, the every sub regions in the plurality of subregion is determined at least 5 scan lines along bar code direction,
Described at least 5 scan lines are by this subregion decile.
Step 420, described at least 5 scan lines will can determine that out the widest striped of at least 3 scan lines and fillet
The ratio of stricture of vagina is respectively less than the subregion of the first setting threshold value, is defined as first area.
Step 430, in each first area, determine first black streaking border of at least 3 scan lines and last
The change in polarity on individual black streaking border.
Step 440, the of every scan line will 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 border is by white to black, and the change in polarity on last black streaking border is to white by black
One region, is defined as second area.
Step 450, in each second area, insert 1 scan line, 1 scan line of described insertion is inserted in parallel into
In described at least 2 scan lines between 2 scan lines of arbitrary neighborhood and insert 1 scan line respectively to be inserted into appoint
Vertical dimension between 2 scan lines anticipating adjacent is equal.
The central point conllinear of 1 scan line of step 460, the central point that above-mentioned at least 2 scan lines are distinguished and insertion
Second area, be defined as the 3rd region.
Step 470, in each 3rd region, determine the company of the central point that above-mentioned at least 2 scan lines are respectively provided with
In line and the 3rd region, there are two articles of intersection point in extended line with described at least 2 articles of scan lines or at least 2 articles of scan lines respectively
The angle on limit.
Step 480, described angle is both less than the 3rd region of the second setting threshold value, is defined as the 4th region.
Based on the inventive concept as method, embodiments provide the defecator in a kind of bar code region, as
Shown in Fig. 5, including:
Determine module 501, for region segmentation to be detected is gone out many sub regions.
Processing module 502, for orienting at least one first area, each of which in the many sub regions being partitioned into
Individual first area meets: this first area is determined at least 3 scan lines and described at least 3 scan lines along bar code direction
The ratio of the widest striped and narrow strips be respectively less than the first setting threshold value;Described at least 3 scan lines are included in this firstth district
In at least 5 scan lines determined along bar code direction in territory, described at least 5 scan lines are by this first area decile.
Optionally, described processing module is additionally operable to:
Orienting at least one second area at least one first area oriented, the most each second area is full
Foot: determine at least 2 scan lines and at least 2 scan lines in described at least 3 scan lines determined in this second area
In the change in polarity on first black streaking border of every scan line be by white to black, the polarity on last black streaking border
It is changed to by black to white.
Optionally, described processing module is additionally operable to:
Orienting at least one the 3rd region at least one second area oriented, the most each 3rd region is full
Foot: 1 article of scan line of the central point that at least 2 articles of scan lines described in determining in the 3rd region are respectively provided with and insertion
Central point conllinear;Described central point is described scan line and the interlock average of multiple intersection coordinate value of striped of black and white is swept described
Retouching on line corresponding point, 1 scan line of described insertion is inserted in parallel in described at least 2 scan lines 2 of arbitrary neighborhood
Between scan line and 1 scan line inserting is respectively to the vertical dimension phase between 2 scan lines of the arbitrary neighborhood being inserted into
Deng.
Optionally, described processing module is additionally operable to:
Orienting at least one the 4th region at least one oriented the 3rd region, the most each 4th region is full
Foot: the line of the central point that at least 2 articles of scan lines described in determining in the 4th region are respectively provided with and the 4th region
The angle on two limits be respectively smaller than the second setting threshold value, described two limits be respectively with described at least 2 scan lines or at least 2
There is the limit of intersection point in the extended line of bar scan line.
The invention discloses the defecator in a kind of bar code region, region segmentation to be detected is gone out many sub regions;Dividing
Orienting at least one first area in the many sub regions cut out, each of which first area meets: by this first area
Determine that along bar code direction the widest striped of at least 3 scan lines and described at least 3 scan lines is equal with the ratio of narrow strips
Threshold value is set less than first;Described at least 3 scan lines are included in this first area at least 5 determined along bar code direction
In scan line, described at least 5 scan lines are by this first area decile.Owing to using the widest striped and the narrow strips of scan line
Ratio treat many sub regions that detection zone regional partition goes out and filter, when the encoding characteristics of bar code lacks, do not affect bar
The filtration in code region, improves the accuracy of bar code region detection.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the reality in terms of the present invention can use complete hardware embodiment, complete software implementation or combine software and hardware
Execute the form of example.And, the present invention can use at one or more computers wherein including computer usable program code
The upper computer program product implemented of usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.)
The form of product.
The present invention is with reference to method, equipment (system) and the flow process of computer program according to embodiments of the present invention
Figure and/or block diagram describe.It should be understood that can the most first-class by computer program instructions flowchart and/or block diagram
Flow process in journey and/or square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
Instruction arrives the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce
A raw machine so that the instruction performed by the processor of computer or other programmable data processing device is produced for real
The device of the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame now.
These computer program instructions may be alternatively stored in and computer or other programmable data processing device can be guided with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in this computer-readable memory produces and includes referring to
Make the manufacture of device, this command device realize at one flow process of flow chart or multiple flow process and/or one square frame of block diagram or
The function specified in multiple square frames.
These computer program instructions also can be loaded in computer or other programmable data processing device so that at meter
Perform sequence of operations step on calculation machine or other programmable devices to produce computer implemented process, thus at computer or
The instruction performed on other programmable devices provides for realizing at one flow process of flow chart or multiple flow process and/or block diagram one
The step of the function specified in individual square frame or multiple square frame.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation
Property concept, then can make other change and amendment to these embodiments.So, claims are intended to be construed to include excellent
Select embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and the modification essence without deviating from the present invention to the present invention
God and scope.So, if these amendments of the present invention and modification belong to the scope of the claims in the present invention and equivalent technologies thereof
Within, then the present invention is also intended to comprise these change and modification.
Claims (8)
1. the localization method in a bar code region, it is characterised in that the method includes:
Region segmentation to be detected is gone out many sub regions;
Orienting at least one first area in the many sub regions being partitioned into, each of which first area meets: should
The widest striped and the narrow strips of at least 3 scan lines and described at least 3 scan lines is determined in first area along bar code direction
Ratio be respectively less than the first setting threshold value;Described at least 3 scan lines are included in this first area to be determined along bar code direction
At least 5 scan lines in, described at least 5 scan lines are by this first area decile.
Method the most according to claim 1, it is characterised in that also include:
Orienting at least one second area at least one first area oriented, the most each second area meets:
Described at least 3 scan lines determined in this second area determine at least 2 scan lines and at least 2 scan lines
The change in polarity on first black streaking border of every scan line be by white to black, the polarity on last black streaking border becomes
Turn to by black to white.
Method the most according to claim 2, it is characterised in that also include:
Orienting at least one the 3rd region at least one second area oriented, the most each 3rd region meets:
The central point that at least 2 articles of scan lines described in determining in the 3rd region are respectively provided with in 1 article of scan line of insertion
Heart point conllinear;Described central point is described scan line and black and white interlocks the average of multiple intersection coordinate value of striped in described scanning
Point corresponding on line, 1 scan line of described insertion is inserted in parallel in described at least 2 scan lines 2 of arbitrary neighborhood and sweeps
1 scan line retouched between line and insert is respectively to the vertical dimension phase between 2 scan lines of the arbitrary neighborhood being inserted into
Deng.
Method the most according to claim 3, it is characterised in that also include:
Orienting at least one the 4th region at least one oriented the 3rd region, the most each 4th region meets:
The line of the central point that at least 2 articles of scan lines described in determining in the 4th region are respectively provided with and this four-range two
The angle on bar limit is respectively smaller than the second setting threshold value, and described two limits are for sweep with described at least 2 scan lines or at least 2 respectively
There is the limit of intersection point in the extended line retouching line.
5. the positioner in a bar code region, it is characterised in that this device includes:
Determine module, for region segmentation to be detected is gone out many sub regions;
Processing module, for orienting at least one first area, each of which first in the many sub regions being partitioned into
Region meets: this first area is determined the widest of at least 3 scan lines and described at least 3 scan lines along bar code direction
Striped is respectively less than the first setting threshold value with the ratio of narrow strips;Described at least 3 scan lines are included in edge in this first area
In at least 5 scan lines that bar code direction is determined, described at least 5 scan lines are by this first area decile.
Device the most according to claim 5, it is characterised in that described processing module is additionally operable to:
Orienting at least one second area at least one first area oriented, the most each second area meets:
Described at least 3 scan lines determined in this second area determine at least 2 scan lines and at least 2 scan lines
The change in polarity on first black streaking border of every scan line be by white to black, the polarity on last black streaking border becomes
Turn to by black to white.
Device the most according to claim 6, it is characterised in that described processing module is additionally operable to:
Orienting at least one the 3rd region at least one second area oriented, the most each 3rd region meets:
The central point that at least 2 articles of scan lines described in determining in the 3rd region are respectively provided with in 1 article of scan line of insertion
Heart point conllinear;Described central point is described scan line and black and white interlocks the average of multiple intersection coordinate value of striped in described scanning
Point corresponding on line, 1 scan line of described insertion is inserted in parallel in described at least 2 scan lines 2 of arbitrary neighborhood and sweeps
1 scan line retouched between line and insert is respectively to the vertical dimension phase between 2 scan lines of the arbitrary neighborhood being inserted into
Deng.
Device the most according to claim 7, it is characterised in that described processing module is additionally operable to:
Orienting at least one the 4th region at least one oriented the 3rd region, the most each 4th region meets:
At least 2 articles of scan lines described in determining in the 4th region are respectively provided with line and this four-range two articles of central point
The angle on limit is respectively smaller than the second setting threshold value, described two limits be respectively with described at least 2 scan lines or at least 2 scannings
There is the limit of intersection point in the extended line of 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 true CN106295443A (en) | 2017-01-04 |
CN106295443B 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) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107016388A (en) * | 2017-03-02 | 2017-08-04 | 浙江华睿科技有限公司 | A kind of localization method and device in one-dimension code region |
CN107016317A (en) * | 2017-03-02 | 2017-08-04 | 浙江华睿科技有限公司 | A kind of bar code decoding method and device |
CN107609446A (en) * | 2017-07-31 | 2018-01-19 | 努比亚技术有限公司 | A kind of recognition methods of code figure, terminal and computer-readable recording medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020162889A1 (en) * | 2001-05-02 | 2002-11-07 | International Business Machines Corporation | Fast barcode search |
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 |
-
2016
- 2016-08-03 CN CN201610638843.3A patent/CN106295443B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020162889A1 (en) * | 2001-05-02 | 2002-11-07 | International Business Machines Corporation | Fast barcode search |
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 |
---|
SUN MING,ET AL.: "Research of Automatic Recognition Algorithm of Chinese-sensible", 《2009 WRI GLOBAL CONGRESS ON INTELLIGENT SYSTEMS》 * |
董华冰: "一维图像条形码识别方法研究", 《中国优秀硕士学位论文全文数据库信息科技辑》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107016388A (en) * | 2017-03-02 | 2017-08-04 | 浙江华睿科技有限公司 | A kind of localization method and device in one-dimension code region |
CN107016317A (en) * | 2017-03-02 | 2017-08-04 | 浙江华睿科技有限公司 | A kind of 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 |
CN107016317B (en) * | 2017-03-02 | 2019-12-24 | 浙江华睿科技有限公司 | Bar code decoding method and device |
CN107609446A (en) * | 2017-07-31 | 2018-01-19 | 努比亚技术有限公司 | A kind of recognition methods of code figure, terminal and computer-readable recording medium |
CN107609446B (en) * | 2017-07-31 | 2020-07-31 | 努比亚技术有限公司 | Code pattern recognition method, terminal and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106295443B (en) | 2018-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114581742B (en) | Linearity-based connected domain clustering fusion method, device, system and medium | |
Pang et al. | A robust panel extraction method for manga | |
CN106295443A (en) | The localization method in a kind of bar code region and device | |
CN104200496B (en) | High-precision detecting and locating method for rectangular identifiers on basis of least square vertical fitting of adjacent sides | |
CN101610423A (en) | A kind of method and apparatus of rendering image | |
JP2013114655A (en) | Image processing device, image processing method, and computer program | |
CN103608850A (en) | Stochastic rasterization with selective culling | |
CN105354878B (en) | The preparation method and device of a kind of electronic map data | |
CN106504261A (en) | A kind of image partition method and device | |
CN104318538A (en) | Method for splicing two-dimension sequence frame picture into big picture and device | |
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 | |
CN111814803A (en) | Graph segmentation method, device and equipment and computer readable storage medium | |
CN107945190A (en) | Bianry image high-speed communication region computational methods | |
CN104731417B (en) | The light path scanning collocation method and device of a kind of touch-screen | |
CN110298838A (en) | A kind of method, apparatus, equipment and the storage medium of determining sample image | |
RU2470368C2 (en) | Image processing method | |
CN112767419B (en) | Method and system for cutting nine palace lattice of atlas | |
JPH0816931B2 (en) | Contour extraction method | |
CN114386011A (en) | Verification code picture generation method and device, electronic equipment and storage medium | |
CN205486033U (en) | Infrared touch -screen | |
CN107092909B (en) | Angle detection algorithm based on triangle correspondence theorem | |
CN102890730B (en) | In a kind of integrated circuit layout verification, rectangle comprises the verification method of rule | |
CN111612738A (en) | Chrysanthemum pattern geometric information extraction method based on detection of straight lines and line segments | |
CN105069791B (en) | The processing method of Lung neoplasm image is partitioned into a kind of CT images from lung |
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 |