Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

One-dimensional code area positioning method and apparatus thereof

A positioning method, a two-dimensional code technology, applied in the field of image processing, can solve the problem of low positioning accuracy in one-dimensional code areas

Active Publication Date: 2017-08-04
ゼジャンハーレイテクノロジーカンパニーリミテッド
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a positioning method and device for a one-dimensional code area, which is used to solve the problem of low positioning accuracy of the one-dimensional code area

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • One-dimensional code area positioning method and apparatus thereof
  • One-dimensional code area positioning method and apparatus thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0035] figure 1 It is a schematic diagram of a positioning process of a one-dimensional code area provided by an embodiment of the present invention, and the process includes the following steps:

[0036] S101: On each candidate area of ​​the one-dimensional code, determine a set number of scanning lines.

[0037] The positioning method for a one-dimensional code area provided by an embodiment of the present invention is applied to an electronic device. The electronic device may be a barcode reading device such as a handheld barcode reader or a fixed barcode reader, or may be a terminal device such as a PC, a smart TV, a camera phone, or a tablet computer with a barcode decoding function.

[0038] The electronic device can determine a plurality of one-dimensional code candidate areas in the image according to the features such as edges, straight lines, and gradients of the one-dimensional code, wherein the plurality of one-dimensional code candidate areas contain real one-dim...

Embodiment 2

[0049] On the basis of the above embodiments, if the attribute information of the boundary points is the number of boundary points, in order to determine the score of each candidate area, in the embodiment of the present invention, if the attribute information of the boundary points includes the number of boundary points , for the attribute information of each boundary point on the scan line in each candidate area, according to the attribute information of each boundary point, determining the score of each candidate area includes:

[0050] For each candidate area, according to the difference in the number of boundary points on every two adjacent scan lines in the candidate area, determine the first score corresponding to every two adjacent scan lines; The sum of the first scores corresponding to the scan lines determines the score of the candidate region, wherein the smaller the difference, the larger the first score.

[0051] For the real one-dimensional code area, the number...

Embodiment 3

[0057] On the basis of the above embodiments, if the attribute information of the boundary point is the position of the boundary point, in order to determine the score of each candidate area, in the embodiment of the present invention, if the attribute information of the boundary point includes the position of the boundary point Position, for the attribute information of each boundary point on the scan line in each candidate area, according to the attribute information of each boundary point, determining the score of each candidate area includes at least one of the following:

[0058] For each candidate area, according to the position of the boundary point on each scan line in the candidate area, determine the maximum width and minimum width determined by two adjacent boundary points on each scan line, according to each scan line Whether the ratio of the maximum width to the minimum width is less than a preset threshold, determine the second score corresponding to each scan lin...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a one-dimensional code area positioning method and an apparatus thereof. The method comprises the following steps of in a candidate area, determining a set quantity of scanning lines; according to attribute information of each boundary point on the scanning lines, determining a score of each candidate area and then determining a confidence score of each candidate area; according to a high-to-low sequence of the confidence scores, ordering the candidate areas; and according to a preset quantity, selecting the candidate areas whose quantity ranks are at a top position as the positioned one-dimensional code areas. In the invention, according to the attribute information of the boundary point, the score of each candidate area is determined and then confidence score of each candidate area is determined too; and according to the preset quantity, the quantity of candidate areas with high confidence scores are selected to be the areas carrying out one-dimensional code positioning so that real one-dimensional code areas are not omitted and the one-dimensional code areas can be accurately positioned.

Description

technical field [0001] The invention relates to the technical field of image processing, in particular to a positioning method and device for a one-dimensional code area. Background technique [0002] With the rapid development of science and technology, the appearance of one-dimensional codes facilitates the lives of users. One-dimensional codes are widely used in commerce, postal services, book management, warehousing, industrial production process control, transportation and other fields. For the image including the one-dimensional code, the electronic device locates the one-dimensional code area in the image, decodes the one-dimensional code, and obtains item information corresponding to the one-dimensional code. Therefore, accurately locating the one-dimensional code area in the image is very important in the application process of the one-dimensional code. [0003] In the prior art, when locating a one-dimensional code area in an image, a plurality of one-dimensional ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06K9/32G06K9/46G06K9/48G06K9/62G06T7/155
CPCG06T2207/20016G06V10/245G06V10/443G06V10/473G06V10/46G06V10/751
Inventor 谢世斌周璐马诗洁
Owner ゼジャンハーレイテクノロジーカンパニーリミテッド
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products