CN201927037U - Decoding device of bar code image - Google Patents

Decoding device of bar code image Download PDF

Info

Publication number
CN201927037U
CN201927037U CN2010202130967U CN201020213096U CN201927037U CN 201927037 U CN201927037 U CN 201927037U CN 2010202130967 U CN2010202130967 U CN 2010202130967U CN 201020213096 U CN201020213096 U CN 201020213096U CN 201927037 U CN201927037 U CN 201927037U
Authority
CN
China
Prior art keywords
bar code
module
image
search
decoding
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.)
Expired - Fee Related
Application number
CN2010202130967U
Other languages
Chinese (zh)
Inventor
王贤福
胡伦育
蔡小丹
张清财
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujian Newland Computer Co Ltd
Original Assignee
Fujian Newland Computer Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Fujian Newland Computer Co Ltd filed Critical Fujian Newland Computer Co Ltd
Priority to CN2010202130967U priority Critical patent/CN201927037U/en
Application granted granted Critical
Publication of CN201927037U publication Critical patent/CN201927037U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The utility model provides a decoding device of a bar code image, which comprises a searching module, a decoding module connected with the searching module, and an erasing module connected with the decoding module. Through the decoding device of the bar code image, the requirement on the memory space can be reduced during the decoding process.

Description

A kind of decoding device of bar code image
[technical field]
The utility model relates to a kind of bar code decoding technology, particularly a kind of many yards decoding devices with the bar code image of figure.
[background technology]
Bar Code is present most widely used automatic identification technology.The common bar code that mostly is, the bar code information capacity is less, generally has only tens bytes.Bar code is made up of one group of bar, null symbol of arranging by certain coding rule, and its principle is to utilize the thickness of bar code and the lines of black and white to come representative information.
Two-dimensional bar code is the bar code of the chequered with black and white figure identifying recording layer symbolic information that (on the two-dimensional directional) distributes on the plane according to certain rules with certain specific geometric figure.Two-dimensional bar code has bigger information capacity, certain verifying function, good error correcting capability.On coding, its ingenious notion that constitutes " 0 " " 1 " bit stream of computer-internal logical foundations of having utilized, use several and the corresponding geometrical body of scale-of-two to represent the literal numerical information, discern to read automatically by image input device or photoelectric scanning device and handle automatically with realization information.
In the bar code decoding process, run into the situation that has a plurality of bar codes on the two field picture through regular meeting.As shown in Figure 1, for this many yards situations with figure, the software decode process of prior art is often noted the information of all bar codes on the image earlier, and then carries out subsequent treatment, this Flame Image Process and coding/decoding method need bigger storage space, thereby have increased system cost.
[utility model content]
The problem that needs big storage space when the many yards bar code images with figure being decoded in order to solve prior art, the utility model provides a kind of decoding device of bar code image, and this decoding device is erased to the bar code that has searched according to decoded result and reduced the requirement of decode procedure to storage space.
The utility model provides a kind of decoding device of bar code image, and this decoding device comprises: search module; Decoder module is connected with described search module; And the module of erasing, be connected with described decoder module.
By said apparatus, the bar code that searches is erased and bar code image is searched for again according to decoded result, reduced the requirement of decode procedure to storage space.
[description of drawings]
The utility model is described in further detail below in conjunction with drawings and Examples, in the accompanying drawing:
Fig. 1 is that prior art is to many yards Flame Image Process and the coding/decoding methods with the bar code image of figure;
Fig. 2 is the decoding device according to the bar code image of the utility model one preferred embodiment;
Fig. 3 is the coding/decoding method synoptic diagram according to the bar code image of the utility model one preferred embodiment; And
Fig. 4 is the process flow diagram according to the coding/decoding method of the bar code image of the utility model one preferred embodiment.
[embodiment]
The decoding device that the utility model provides a kind of coding/decoding method of bar code image and used this method, this method and decoding device are erased to the bar code that has searched according to decoded result and are reduced the requirement of decode procedure to storage space.In general, bar code image is made of pixel, and each pixel has certain pixel value, for example gray-scale value, chromatic value and place value etc.With the gray-scale value is example, no matter is that bar code or two-dimensional bar code can obtain gray level image or will be converted into gray level image by the coloured image that camera system obtains by pretreatment unit by camera system.This bar code can be made up of a plurality of modules of arranging by rectangular in form.In the gray level image of actual photographed, each module is made up of a plurality of pixels respectively, and each pixel has certain gray-scale value again.Because the bar code of which kind of type no matter, the gray-scale value on the bar code image between the black and white module has certain difference, so generally the identical homochromy image-region of each grey scale pixel value is considered to not be bar code.In addition, decoding device can't search information such as bar code border, version, form when each grey scale pixel value of bar code image is identical, and decoding device can't further be decoded.In view of this, the utility model is after decoding to a certain bar code and obtaining correct bar code information, can be a certain fixed value with the original gray value reset all to pixel that should bar code in the storage space, avoid when searching for bar code image again decoding once more to this bar code, for example the original gray value reset all with the whole pixels of this bar code is a fixed value, and preferably resets to 0 or 255.
Fig. 2 is the decoding device 10 according to the bar code image of the utility model one preferred embodiment.As shown in Figure 2, the decoding device 10 of the utility model bar code image comprises search module 11, decoder module 12 and the module 13 of erasing.Search module 11 is used for bar code image is scanned, with the search bar code.Decoder module 12 is used for the bar code that searches is decoded.After this bar code being decoded and obtain to be correctly decoded information, the module of erasing 13 is used for the original gray value to whole pixels that should the bar code zone in the storer is reset to a certain fixed value.
The decoding device 10 of the utility model bar code image can be used for existing the bar code image of two or more bar codes to decode on the two field picture.The code system of these bar codes can be identical or different and can be a kind of or its combination in bar code or the two-dimensional bar code.
Fig. 3 is the coding/decoding method synoptic diagram according to the bar code image of the utility model one preferred embodiment.As shown in Figure 3, there are bar code 1, bar code 2 and 3 three bar codes of bar code on the bar code image.At the gray level image that obtains bar code image and after being stored into this gray level image in the memory RAM, each pixel of each bar code is respectively to having a pixel coordinate (not shown) and an original gray value (not shown), pixel coordinate has write down the locational space of this pixel, and gray-scale value has write down this gray values of pixel points.The gray level image of 11 pairs of bar code images of search module scans with the search bar code.After search module 11 searches bar code 1, the bar code 1 that searches is decoded by decoder module.After bar code 1 that 12 pairs of search modules 11 of decoder module search decoded correct bar code information, the module of erasing 13 all was set to 0 (not shown) according to the pixel coordinate of bar code 1 correspondence with the original gray value of whole pixels of corresponding bar code 1 region in the storer.Then, search module 11 scans to search for next bar code the gray level image of bar code image again.Because it is 0 that the original gray value of the interior corresponding bar code 1 whole pixels of storer all has been reset, be that original bar code 1 becomes entirely in vain, thereby make search module 11 can't search original bar code 1, search module 11 continues scanning and searches bar code 2, the bar code 2 that 12 pairs of search modules 11 of decoder module search is decoded, and after decoding the correct bar code information of bar code 2, module 13 all is set to 0 (not shown) according to the pixel coordinate of bar code 2 correspondences with the original gray value of the whole pixels in corresponding bar code 2 regions in the storer by erasing.In like manner, when search module 11 scans the gray level image of bar code image again, search module 11 can't search original bar code 2, search module 11 will search bar code 3, the bar code 3 that 12 pairs of search modules 11 of decoder module search is decoded, and after decoding the correct bar code information of bar code 3, module 13 all is set to 0 (not shown) according to the pixel coordinate of bar code 3 correspondences with the original gray value of whole pixels of corresponding bar code 3 regions in the storer by erasing.Search module 11 scans the gray level image of bar code image again, and for this search, search module 11 can't search bar code, and the decoding of 10 pairs of these bar code images of decoding device is finished.
In a preferred embodiment, search module 11 is divided into a plurality of zones with bar code image, and successively these a plurality of zones is searched for.If search module 11 searches the bar code characteristic boundary in a zone, but decoding device 10 can't go out correct bar code information to the bar code decoding that search module 11 searches, 13 need of the module of then erasing all are set to 0 (not shown) with the original gray value of the pixel of characteristic boundary, like this then search module 11 will can not search the characteristic boundary of this bar code next time when scanning, thus make search module 11 search less than this bar code.If search module 11 can't search the bar code characteristic boundary in a zone, then search module 11 will continue to scan other zones and finish until decoding.
In the utility model, the action of erasing of the module of erasing 13 is not limited to whole gray values of pixel points in the corresponding region of bar code are reset, but the corresponding region partial pixel point of the bar code of only need resetting makes search module 11 can't search corresponding bar code and gets final product.Fig. 4 is the process flow diagram according to coding/decoding method one preferred embodiment of the utility model bar code image.This method specifically may further comprise the steps:
Step S1: obtain the gray level image of bar code image, and deposit this gray level image in storer;
Step S2: the gray level image to bar code image scans, with the search bar code;
Step S3: the bar code that searches is decoded;
Step S4: the bar code that searches is erased according to decoded result, erase step comprises: the pixel value of corresponding region interior pixel point that will decode the bar code of correct bar code information according to the pixel coordinate of bar code resets to a fixed value, and the pixel value of characteristic boundary pixel that can't decode the bar code of correct bar code information according to the pixel coordinate of bar code resets to a fixed value.Preferred embodiment, pixel value is a gray-scale value, and gray-scale value is 0 or 255.
Step S5: the gray level image to the bar code image after erasing scans again, to search for next bar code.
By said method, the bar code that searches is erased and bar code image is searched for again according to decoded result, reduced the requirement of decode procedure to storage space.
In the above-described embodiments, only the utility model has been carried out exemplary description, but those skilled in the art can carry out various modifications to the utility model after reading present patent application under the situation that does not break away from spirit and scope of the present utility model.

Claims (1)

1. the decoding device of a bar code image is characterized in that, described decoding device comprises:
Search module;
Decoder module is connected with described search module; And
The module of erasing is connected with described decoder module.
CN2010202130967U 2010-06-01 2010-06-01 Decoding device of bar code image Expired - Fee Related CN201927037U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010202130967U CN201927037U (en) 2010-06-01 2010-06-01 Decoding device of bar code image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010202130967U CN201927037U (en) 2010-06-01 2010-06-01 Decoding device of bar code image

Publications (1)

Publication Number Publication Date
CN201927037U true CN201927037U (en) 2011-08-10

Family

ID=44430877

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010202130967U Expired - Fee Related CN201927037U (en) 2010-06-01 2010-06-01 Decoding device of bar code image

Country Status (1)

Country Link
CN (1) CN201927037U (en)

Similar Documents

Publication Publication Date Title
US6081627A (en) Two-dimensional code reader
CN105989317B (en) Two-dimensional code identification method and device
CN102880850B (en) A kind of method of Quick Response Code batch scanning and scanning device
CN103955660B (en) Method for recognizing batch two-dimension code images
US20050242186A1 (en) 2D rectangular code symbol scanning device and 2D rectangular code symbol scanning method
JP2007317184A (en) Two-dimensional bar code, and encoding and decoding method thereof
CN101504716A (en) QR two-dimension bar code recognition method and system based on field programmable gate array
CN101930532A (en) Mobile phone-based camera quick response matrix code recognizing and reading method
CN103929644A (en) Video fingerprint database building method and device and video fingerprint recognition method and device
CN101908128B (en) Aztec Code bar code decoding chip and decoding method thereof
CN103632724A (en) Nonvolatile storage chip sin burning method and system
CN106845314B (en) A kind of method for rapidly positioning of two dimensional code
CN105095937A (en) Visual identification method based on linear clustering circular array graphic code
CN108256375A (en) A kind of one-dimensional bar code scan method
CN102521559B (en) 417 bar code identification method based on sub-pixel edge detection
CN111291846B (en) Two-dimensional code generation, decoding and identification method, device and equipment
CN101840501B (en) Method and device for decoding bar code image
CN201927037U (en) Decoding device of bar code image
CN100454327C (en) Identification method for data matrix code
WO2014020820A1 (en) Mark reading device and mark reading method
CN204360383U (en) A kind of bar code recognizing apparatus of high pixel image processing
CN203606835U (en) Two-dimensional barcode decoding recognition device
CN201927035U (en) Bar code decoding device and binaryzation device thereof
US10380463B2 (en) Image processing device, setting support method, and non-transitory computer-readable media
CN105611195A (en) Image sensor, application processor and method for processing bad pixel

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110810

Termination date: 20170601

CF01 Termination of patent right due to non-payment of annual fee