Unlock instant, AI-driven research and patent intelligence for your innovation.

Barcode and two-dimensional code distinguishing method

A two-dimensional code and bar code technology, applied in the field of bar code and two-dimensional code distinction, can solve the problems of easy to cause wrong distinction and decrease the recognition rate, and achieve the effect of improving the accuracy rate, improving the recognition speed and improving the recognition rate.

Active Publication Date: 2016-04-13
HANGZHOU SYNOCHIP DATA SECURITY TECH CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method only uses the characteristics that the barcode area tends to be more rectangular and the two-dimensional code area tends to be more square. The distinguishing method is relatively simple, and it is easy to make wrong distinctions, resulting in a decline in the recognition rate.
[0007] To sum up, there is currently no effective method for distinguishing barcodes and two-dimensional codes in the barcode and two-dimensional code recognition module, so finding an effective method for distinguishing barcodes and two-dimensional codes has great practical value

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
  • Barcode and two-dimensional code distinguishing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The present invention will be further described below in conjunction with specific examples, but the present invention is not limited to these specific implementations. Those skilled in the art will realize that the present invention covers all alternatives, modifications and equivalents as may be included within the scope of the claims.

[0031] refer to figure 1 , a method for distinguishing barcodes and two-dimensional codes, the steps of which are as follows:

[0032] 1) Collect grayscale images, the images collected here are CMOS images. The image acquisition module consists of an image sensor chip (CMOS) and a lens group, and is connected to other modules through a standard image sensor interface.

[0033] 2) Initially locate the image, first normalize the image, and then calculate the variance in blocks. If the variance is greater than a certain threshold of 100-200, the block is considered to be the foreground, otherwise the block is the background, and finall...

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 barcode and two-dimensional code distinguishing method. The method comprises: acquiring a gray level image; performing initial positioning on the gray level image to determine a foreground region; performing horizontal edge detection on an image in the foreground region, calculating a weighted value of each foreground pixel point by using a horizontal edge detection operator at first, and then performing binarization on a weighted image; detecting straight lines in each row of the foreground region from top to bottom, making statistics on the number of successfully detected horizontal straight lines, and when the number of the horizontal straight lines is greater than a preset number threshold, judging that the image is a barcode and ending a process, otherwise, continuing to perform detection; performing vertical edge detection on the image in the foreground region, calculating the weighted value of each foreground pixel point by using a vertical edge detection operator at first, and then performing binarization on the weighted image; and detecting straight lines in each column of the foreground region from left to right, making statistics on the number of successfully detected vertical straight lines, and when the number of the vertical straight lines is greater than the preset number threshold, judging that the image is the barcode, otherwise, judging that the image is a two-dimensional code and ending the process.

Description

technical field [0001] The invention relates to a method for distinguishing barcodes and two-dimensional codes. Background technique [0002] With the development of intelligent identification technology, barcode and two-dimensional code identification technology has been widely used in all aspects of our life because of its convenience and speed, and has become an indispensable part of our life. However, the barcode and two-dimensional code image recognition technology implemented on the embedded platform needs to recognize a variety of different types of barcodes and two-dimensional codes at the same time. The scheme is described as follows: [0003] Option One: [0004] No distinction is made between barcodes and QR codes. For an acquired image, the barcode and QR code recognition modules perform barcode recognition and QR code recognition respectively. If the recognition is correct, return, otherwise try barcode recognition and QR code respectively. identify. Obvious...

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): G06K7/14
CPCG06K7/1413G06K7/1417
Inventor 罗美美杨波
Owner HANGZHOU SYNOCHIP DATA SECURITY TECH CO LTD