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

Bar code identifying method and device

A barcode recognition and barcode technology, applied in the field of barcode recognition, can solve the problem of low recognition performance and achieve the effect of improving recognition performance

Inactive Publication Date: 2014-04-02
深圳市宝捷信科技有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the embodiments of the present invention is to provide a barcode recognition method and device, aiming to solve the problem that the prior art does not realize the recognition and judgment of barcodes with unknown dimensions, and the recognition performance is not high

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
  • Bar code identifying method and device
  • Bar code identifying method and device
  • Bar code identifying method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0037] figure 1 The implementation flow of the barcode recognition method provided by the first embodiment of the present invention is shown, and the details are as follows:

[0038] In step S101, the barcode image to be recognized after binarization processing and the coordinates of multiple scanning starting points of the image are acquired.

[0039] In the specific implementation process, the color barcode image to be recognized is first obtained from the camera, and the color barcode image is grayscaled, and then the grayscaled image is obtained, and the histogram of the image is calculated. is composed of black brightness and white brightness, then there will be a peak near the black brightness area and a peak near the white brightness area in the histogram, so an optimal brightness value between the two peaks can be determined, and the image Segmentation, if the distance between the two peaks is relatively close and less than the preset distance value, it is considered ...

Embodiment 2

[0072] Figure 6 It shows the process of obtaining the optimal brightness value in the barcode recognition method provided by the second embodiment of the present invention, specifically performing grayscale processing on the color image to be recognized, and after obtaining the histogram of the grayscale image, the image is processed Binarization processing (binarization is 0, 1), obtains the process as the optimal brightness value or threshold value of binarization, but is not limited to the acquisition process of this embodiment, detailed description is as follows:

[0073] In step S601, a first peak value in the histogram and a first gray value corresponding to the first peak value are obtained.

[0074] Specifically, the first peak value is the number of a certain gray value that appears most in the gray image, that is, the maximum value in the histogram, represented by maxBucketCount, and the first gray value corresponding to the maximum value is obtained value, that is...

Embodiment 3

[0089] Figure 7 The process of judging the type of two-dimensional barcode in the barcode recognition method provided by the third embodiment of the present invention is shown, and the details are as follows:

[0090] In step S701, when it is judged that the dimension of the barcode is two-dimensional, it is judged whether there is a feature matching one type of barcode feature in the preset multi-barcode type table in the circumscribed rectangle.

[0091] Among them, the preset multiple barcode type table is pre-configured before the barcode is recognized. It is configured with various types of barcodes and corresponding barcode features, so as to facilitate the use of barcode recognition, and the user can add or add at any time as needed. Other types of barcodes can be added to this type list, which has good scalability. The placement of each barcode type in the table is sorted according to the frequency of the barcode type used, that is, to configure the detection and rec...

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 is applicable to the technical field of bar code identification and provides a bar code identifying method and device. The bar code identifying method comprises the following steps of: obtaining a binary bar code image to be identified and coordinates of a plurality of scanning original points of the image; respectively scanning the image in an up direction, a down direction, a left direction and a right direction row by row and column by column from each scanning original point according to a pre-set sequence of a plurality of the scanning original points, so as to obtain a circumscribed rectangle of a bar code in the image; and judging and obtaining a dimension quantity of the bar code according to the characteristics of the circumscribed rectangle and / or characteristics information of the bar code in the circumscribed rectangle. The purpose of identifying and judging the bar code with an unknown dimension quantity is realized, and the identification property is improved.

Description

technical field [0001] The invention belongs to the technical field of barcode identification, in particular to a barcode identification method and device. Background technique [0002] Barcode technology is an emerging technology developed on the basis of information technology and computer technology that integrates coding, printing, identification, data collection and processing. Due to its fast, accurate, reliable and low-cost identification, it is widely used in business, library management, warehouse, post and telecommunications, transportation and industrial control, and is bound to play an important role in the emerging "Internet of Things" applications . [0003] Common electronic barcodes are widely used one-dimensional barcodes. The international encoding standards include EAN-8, EAN-13, UPC-A and UPC-E. These standards have been widely used. However, The amount of information contained in it is quite small, and it is limited to the use of numbers, which is no l...

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 Patents(China)
IPC IPC(8): G06K7/10
Inventor 李佐广李运秀梁日雄李耀华彭青峰于兆和张俊
Owner 深圳市宝捷信科技有限公司