CN112560534A - Multi-parameter configuration static sequential decoding output method - Google Patents

Multi-parameter configuration static sequential decoding output method Download PDF

Info

Publication number
CN112560534A
CN112560534A CN202011569259.XA CN202011569259A CN112560534A CN 112560534 A CN112560534 A CN 112560534A CN 202011569259 A CN202011569259 A CN 202011569259A CN 112560534 A CN112560534 A CN 112560534A
Authority
CN
China
Prior art keywords
image
code
groups
parameter
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.)
Granted
Application number
CN202011569259.XA
Other languages
Chinese (zh)
Other versions
CN112560534B (en
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.)
Suzhou Spree Intelligent System Co Ltd
Original Assignee
Suzhou Spree Intelligent System 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 Suzhou Spree Intelligent System Co Ltd filed Critical Suzhou Spree Intelligent System Co Ltd
Priority to CN202011569259.XA priority Critical patent/CN112560534B/en
Publication of CN112560534A publication Critical patent/CN112560534A/en
Application granted granted Critical
Publication of CN112560534B publication Critical patent/CN112560534B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods 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/1404Methods for optical code recognition
    • G06K7/1439Methods for optical code recognition including a method step for retrieval of the optical code
    • G06K7/1443Methods for optical code recognition including a method step for retrieval of the optical code locating of the code in an image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods 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/1404Methods for optical code recognition
    • G06K7/146Methods for optical code recognition the method including quality enhancement steps

Abstract

The invention provides a multi-parameter configuration static sequence decoding output method, which comprises N image barcodes, wherein N is more than or equal to 2, the N image barcodes are all positioned in a scanning area of a code scanning device and are fixed in position, the code scanning device is connected with a computer and is controlled by the computer, M groups of parameter configurations are arranged in the computer, M is more than or equal to 2, a tool interface is arranged at a PC (personal computer) end, decoding parameters such as a code system of each group of barcodes to be decoded are configured and stored in the code scanning device according to the image barcodes in an application scene, the device is correspondingly configured and decodes, and decoding data are output according to the sequence of the configuration parameters.

Description

Multi-parameter configuration static sequential decoding output method
Technical Field
The invention relates to image bar code decoding, in particular to a multi-parameter configuration static decoding output method.
Background
Bar code technology is an automatic identification technology that has been created and developed in the practical use of computers. It is designed for realizing automatic scanning of information, and is an effective means for realizing rapid, accurate and reliable data acquisition. The application of the bar code technology solves the bottleneck problems of data entry and data acquisition, and provides favorable technical support for logistics management. A bar code is a symbol consisting of a set of regular bars and spaces and corresponding characters, which is used to represent certain information. The core content of the bar code technology is that the photoelectric scanning equipment is used for recognizing and reading the bar code symbols to realize the automatic recognition of the machine, and the data is rapidly and accurately recorded into a computer for data processing, thereby achieving the purpose of automatic management.
In some application scenarios, image barcodes to be scanned by a user are close to each other, for example, a mobile phone packing box and the like, a plurality of barcodes are generally attached to the same surface, different barcodes need different configurations such as exposure gains, and equipment cannot accurately provide corresponding configurations for different barcodes. On an actual production line, decoded data is required to be output according to a specified sequence, but the current decoding equipment cannot achieve the effect.
Disclosure of Invention
The invention aims to solve the problem that decoded data cannot be output according to a required sequence when a plurality of image bar codes which are relatively close and have fixed positions are scanned in the prior art, and provides a multi-parameter static sequence decoding output method.
In order to achieve the purpose, the invention adopts the following technical scheme:
a multi-parameter configuration static sequential decoding output method comprises the following steps:
s1: placing the object to be detected with the N bar codes in front of decoding equipment to enable all image bar codes to be located in a scanning area of the decoding equipment, wherein N is more than or equal to 2;
s2: inputting M groups of parameter configurations including ROI parameters into a tool interface of a PC (personal computer), wherein M is more than or equal to N, the ROI parameters are used for selecting and locking corresponding image bar codes in a frame mode, and when the code system of each image bar code is known, turning to S3; when the code system of the image bar code is uncertain, the step goes to S5;
s3: coding systems of corresponding image barcodes are respectively input in the group of each group of ROI parameters, and N groups of parameter configurations correspond to the N image barcodes one by one;
s4: the PC end outputs the configured N groups of parameter configurations to decoding equipment, the decoding equipment locks the corresponding N image barcodes according to the N groups of ROI parameters and the code system and decodes the image barcodes one by one, and the N groups of image barcodes are turned to S7 after all the image barcodes are decoded;
s5: configuring M groups of code systems to a PC (personal computer), wherein the M groups of code systems comprise all code systems of N image barcodes;
s6: the PC end outputs the configured M groups of parameters to decoding equipment, the decoding equipment locks N image bar codes according to the N groups of ROI parameters, the image bar codes with unknown code systems correspond to the M groups of code systems one by one until the correct code systems are configured and decoded, and the S7 is switched to after all the N groups of image bar codes are decoded;
s7: and outputting the decoding data of the N groups of image bar codes in sequence according to the ROI parameter configuration sequence.
Preferably, a tool interface is configured in the computer, the tool interface comprises parameter values of M groups of parameter configurations, and an operator changes and configures the parameters from the tool interface.
Preferably, the parameter configuration comprises the category, exposure gain, decoding timeout time, ROI, image filter, mirror image, and reverse color of each group of image barcodes to be decoded.
Preferably, the category of the image barcode includes QR Code, Datamatrix, Code 49, Code one, Code 16K, PDF 417.
Preferably, the ROI parameters are used to define the position, length and width of the image barcode and frame the image barcode for configuration decoding.
Preferably, the number of sets of parameter configurations may be increased or decreased.
Preferably, the object to be detected is a packing box on a production line, and the number and the position of the image bar codes on the packing box are known and fixed.
According to the multi-parameter configuration static sequence decoding output method, a tool interface is arranged at a PC (personal computer) end, decoding parameters such as the code system of each group of bar codes to be decoded are configured and stored in code scanning equipment according to image bar codes in an application scene, the equipment is correspondingly configured and decodes, and decoding data is output according to the sequence of the configuration parameters, so that the decoding data of a plurality of bar codes in the same scanning area can be output according to a specified sequence, the time of manual sequencing is reduced, and the efficiency is improved.
Drawings
FIG. 1 is a flow chart of a multi-parameter static sequential decoding output method;
FIG. 2 is a tool interface for a multi-parameter static sequential decoding output method.
Detailed Description
In order to further understand the objects, structures, features and functions of the present invention, the following embodiments are described in detail.
A multi-parameter static sequential decoding output method as shown in fig. 1 and fig. 2, comprising the steps of:
s1: placing the object to be detected with the N bar codes in front of decoding equipment to enable all image bar codes to be located in a scanning area of the decoding equipment, wherein N is more than or equal to 2;
s2: inputting M groups of parameter configurations including ROI parameters into a tool interface of a PC (personal computer), wherein M is more than or equal to N, the ROI parameters are used for selecting and locking corresponding image bar codes in a frame mode, and when the code system of each image bar code is known, turning to S3; when the code system of the image bar code is uncertain, the step goes to S5;
s3: coding systems of corresponding image barcodes are respectively input in the group of each group of ROI parameters, and N groups of parameter configurations correspond to the N image barcodes one by one;
s4: the PC end outputs the configured N groups of parameter configurations to decoding equipment, the decoding equipment locks the corresponding N image barcodes according to the N groups of ROI parameters and the code system and decodes the image barcodes one by one, and the N groups of image barcodes are turned to S7 after all the image barcodes are decoded;
s5: configuring M groups of code systems to a PC (personal computer), wherein the M groups of code systems comprise all code systems of N image barcodes;
s6: the PC end outputs the configured M groups of parameters to decoding equipment, the decoding equipment locks N image bar codes according to the N groups of ROI parameters, the image bar codes with unknown code systems correspond to the M groups of code systems one by one until the correct code systems are configured and decoded, and the S7 is switched to after all the N groups of image bar codes are decoded;
s7: and outputting the decoding data of the N groups of image bar codes in sequence according to the ROI parameter configuration sequence.
The application scene of the invention can be on a production line, a mobile phone box or other packaging boxes, etc., wherein a plurality of image bar codes with similar positions are pasted on the same packaging surface, the positions of the bar codes are fixed and known, the number of the bar codes is known, the position, the length and the width of the bar codes and other corresponding configuration parameters are framed by corresponding ROI parameters, the image bar codes are framed and decoded, and after all the image bar codes are decoded, the decoded data is output according to the sequence of the configured ROI parameters, thus the aim of decoding and sequentially outputting the plurality of bar codes through multi-parameter configuration can be realized.
And a tool interface is configured in the computer, the tool interface comprises M groups of parameter values for parameter configuration, and an operator changes and configures the parameters from the tool interface. And performing man-machine interaction through a tool interface, and performing parameter configuration according to an application scene, the number, the position, the code system and the like of the barcodes which need to be detected actually.
The parameter configuration comprises the category, exposure gain, decoding timeout time, ROI, image filter, mirror image and reverse color of each group of image bar codes to be decoded. The image bar Code category includes Code systems such as QR Code, Datamatrix (including Datamatrix reverse), Code 49, Code one, and Code 16K, PDF417, and is mainly a two-dimensional bar Code. The ROI parameters are used for limiting the position, the length and the width of the image bar code and framing the image bar code for configuration decoding, and the method is suitable for static code scanning, the number and the position of the bar code are known, so that ROI X and ROI Y can be configured, the position of the bar code in a scanning area is locked, the width and the length of the bar code are limited by configuring ROI width and ROI height, the size of the bar code is further limited, the image bar code can be precisely framed, and rapid locking and matching are conveniently carried out. The configurations of the image filter, the mirror image, the reverse color and the like are the same as the decoding configuration principle commonly used at present, and the method is used for enabling the scanned bar code image to be clearer, accelerating the code scanning speed and increasing the decoding accuracy.
The number of sets of parameter configurations may be increased or decreased. The number of the parameter configuration groups can be changed and matched according to the number of image barcodes needing to be decoded.
In an embodiment, there are 3 image barcodes to be decoded, including a QR code, a Datamatrix reverse, and a Datamatrix, which are respectively located at position a, position B, and position C, and the decoded data is required to be output according to the sequence of the barcode at position a, position B, and position C, then the ROI parameters of the barcodes at position a and position B are sequentially input in the tool interface in sequence, and the corresponding barcode system QR code, Datamatrix reverse, and Datamatrix are respectively input or selected under 3 sets of ROI parameters, and the parameters such as ROI, image filter, mirror image, and reverse of the barcode image are configured in the parameter configuration set where the QR code is located, and the exposure gain, decoding timeout time, ROI, image filter, mirror image, and reverse of the barcode image are configured in the parameter configuration set where the Datamatrix reverse is located, and the parameters such as the barcode of the Datamatrix image in the Datamatrix configuration set are configured in the Datamatrix parameter configuration set, Image filter, mirror image, reverse color, etc. And after the configuration is finished, the image bar codes are stored in a code scanning device, the code scanning device respectively decodes according to the configured parameters, after all the 3 image bar codes are decoded, the decoded data are sequentially output according to the configured ROI parameter sequence, namely the decoded data of the image bar codes at the position A, the position B and the position C are respectively output, and the purpose that the plurality of image bar codes sequentially output the decoded data according to the required permission is achieved.
In an embodiment, a total of 3 image barcodes are to be decoded and located at a position a, a position B and a position C, respectively, and decoded data of the 3 image barcodes are required to be output according to the sequence of the barcode at the position a, the barcode at the position B and the barcode at the position C, wherein the 3 image barcodes include a QR code, a Datamatrix reverse and a Datamatrix, but what code system is specifically and respectively unknown for the 3 image barcodes. Sequentially inputting the ROI parameters of the bar codes at the positions A, B and C in the tool interface in sequence, respectively configuring parameters such as exposure gain, decoding timeout time, mirror image, reverse color and the like in the group where each ROI parameter is positioned, and configuring or checking 3 code systems such as QR code, Datamatrix reverse and Datamatrix to the tool interface at the PC end. During decoding, 3 image barcodes at the position A, the position B and the position C are respectively selected according to the configured ROI parameters, the 3 image barcodes are sequentially tried to be matched with the 3 code systems of the QR code, the Datamatrix reverse and the Datamatrix until the matching is successful and the 3 image barcodes are decoded, and after the 3 image barcodes are decoded, the decoded data are output according to the configured ROI sequence, namely the decoded data of the image barcodes at the position A, the position B and the position C are respectively output, so that the aim of sequentially outputting the decoded data by the image barcodes according to required permission is fulfilled.
Therefore, the multi-parameter configuration static sequence decoding output method is suitable for static decoding, namely the position of the bar code is fixed, bar code framing and parameter configuration are convenient, the output decoding data sequence is limited through the parameter configuration sequence of the characteristics of an operator, the purpose that a plurality of image bar codes output the decoding data in sequence according to the required permission is achieved, and the multi-parameter configuration static sequence decoding output method is convenient and flexible to use and suitable for being applied to a production line.
The present invention has been described in relation to the above embodiments, which are only exemplary of the implementation of the present invention. It should be noted that the disclosed embodiments do not limit the scope of the invention. Rather, it is intended that all such modifications and variations be included within the spirit and scope of this invention.

Claims (7)

1. A multi-parameter configuration static sequential decoding output method is characterized by comprising the following steps:
s1: placing the object to be detected with the N bar codes in front of decoding equipment to enable all image bar codes to be located in a scanning area of the decoding equipment, wherein N is more than or equal to 2;
s2: inputting M groups of parameter configurations including ROI parameters into a tool interface of a PC (personal computer), wherein M is more than or equal to N, the ROI parameters are used for selecting and locking corresponding image bar codes in a frame mode, and when the code system of each image bar code is known, turning to S3; when the code system of the image bar code is uncertain, the step goes to S5;
s3: coding systems of corresponding image barcodes are respectively input in the group of each group of ROI parameters, and N groups of parameter configurations correspond to the N image barcodes one by one;
s4: the PC end outputs the configured N groups of parameter configurations to decoding equipment, the decoding equipment locks the corresponding N image barcodes according to the N groups of ROI parameters and the code system and decodes the image barcodes one by one, and the N groups of image barcodes are turned to S7 after all the image barcodes are decoded;
s5: configuring M groups of code systems to a PC (personal computer), wherein the M groups of code systems comprise all code systems of N image barcodes;
s6: the PC end outputs the configured M groups of parameters to decoding equipment, the decoding equipment locks N image bar codes according to the N groups of ROI parameters, the image bar codes with unknown code systems correspond to the M groups of code systems one by one until the correct code systems are configured and decoded, and the S7 is switched to after all the N groups of image bar codes are decoded;
s7: and outputting the decoding data of the N groups of image bar codes in sequence according to the ROI parameter configuration sequence.
2. The multi-parameter static sequential decoding output method of claim 1, wherein: and a tool interface is configured in the computer, the tool interface comprises M groups of parameter values for parameter configuration, and an operator changes and configures the parameters from the tool interface.
3. The multi-parameter static sequential decoding output method of claim 2, wherein: the parameter configuration comprises the category, exposure gain, decoding timeout time, ROI, image filter, mirror image and reverse color of each group of image bar codes to be decoded.
4. The multi-parameter static sequential decoding output method of claim 3, wherein: the categories of the image barcode include QR Code, Datamatrix, Code 49, Code one, Code 16K, PDF 417.
5. The multi-parameter static sequential decoding output method of claim 3, wherein: and the ROI parameters are used for limiting the position, the length and the width of the image bar code and selecting the image bar code for configuration and decoding.
6. The multi-parameter static sequential decoding output method of claim 3, wherein: the number of sets of parameter configurations may be increased or decreased.
7. The multi-parameter static sequential decoding output method of claim 1, wherein: the object to be detected is a packing box on a production line, and the number and the position of image bar codes on the packing box are known and fixed.
CN202011569259.XA 2020-12-26 2020-12-26 Multi-parameter configuration static sequential decoding output method Active CN112560534B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011569259.XA CN112560534B (en) 2020-12-26 2020-12-26 Multi-parameter configuration static sequential decoding output method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011569259.XA CN112560534B (en) 2020-12-26 2020-12-26 Multi-parameter configuration static sequential decoding output method

Publications (2)

Publication Number Publication Date
CN112560534A true CN112560534A (en) 2021-03-26
CN112560534B CN112560534B (en) 2023-02-28

Family

ID=75033246

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011569259.XA Active CN112560534B (en) 2020-12-26 2020-12-26 Multi-parameter configuration static sequential decoding output method

Country Status (1)

Country Link
CN (1) CN112560534B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113761963A (en) * 2021-09-13 2021-12-07 福州符号信息科技有限公司 Method for using parameter table and bar code reading equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5825006A (en) * 1994-03-04 1998-10-20 Welch Allyn, Inc. Optical reader having improved autodiscrimination features
CN102629312A (en) * 2012-01-10 2012-08-08 广州优库电子有限公司 Omnidirectional multiple line laser bar code reading device and method thereof
CN107403123A (en) * 2016-03-30 2017-11-28 兄弟工业株式会社 The image analysis equipment of bar code image in recognition target image
CN109241806A (en) * 2018-08-10 2019-01-18 北京龙贝世纪科技股份有限公司 A kind of multi-code recognition methods and identifying system simultaneously

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5825006A (en) * 1994-03-04 1998-10-20 Welch Allyn, Inc. Optical reader having improved autodiscrimination features
CN102629312A (en) * 2012-01-10 2012-08-08 广州优库电子有限公司 Omnidirectional multiple line laser bar code reading device and method thereof
CN107403123A (en) * 2016-03-30 2017-11-28 兄弟工业株式会社 The image analysis equipment of bar code image in recognition target image
CN109241806A (en) * 2018-08-10 2019-01-18 北京龙贝世纪科技股份有限公司 A kind of multi-code recognition methods and identifying system simultaneously

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113761963A (en) * 2021-09-13 2021-12-07 福州符号信息科技有限公司 Method for using parameter table and bar code reading equipment
CN113761963B (en) * 2021-09-13 2023-06-09 福州符号信息科技有限公司 Method for using parameter table and bar code reading equipment

Also Published As

Publication number Publication date
CN112560534B (en) 2023-02-28

Similar Documents

Publication Publication Date Title
Chai et al. Locating and decoding EAN-13 barcodes from images captured by digital cameras
EP2309426B1 (en) Two-dimensional bar code encoding method, decoding method and device, terminal
US8596540B2 (en) Method and portable apparatus for recognizing barcodes
US6129278A (en) Detecting image cell position with subpixel accuracy
US20200250469A1 (en) Methods for optical character recognition (ocr)
CN109241806A (en) A kind of multi-code recognition methods and identifying system simultaneously
CN103530669A (en) Data information two-dimensional code encoding method
CN112560534B (en) Multi-parameter configuration static sequential decoding output method
CN105787403B (en) A kind of bar code reading method of high pixel image processing and the bar code recognizing apparatus of high pixel image processing
CN113673655B (en) Method and device for determining decoding direction of two-dimensional code, electronic equipment and medium
TW201601068A (en) Image type high-speed barcode scanning method
KR20070015101A (en) Method and the algorithm to transform "1d & 2d black and white barcode "to color code
US20230342575A1 (en) Methods and systems of harvesting data for training machine learning (ml) model
CN110780625B (en) Automatic control method, device and equipment for pre-assembly line and storage medium
EP2441031B1 (en) Decoding a physical image
KR102393764B1 (en) Method and device for identification barcode image
CN101937517B (en) Network-based commodity anti-counterfeiting two-dimensional code redundancy design method
CN101840500B (en) Device based on confidence for code word decoding and method
CN201927035U (en) Bar code decoding device and binaryzation device thereof
Subpratatsavee et al. HC2D barcode reader using embedded camera in Android phone
CN103491537A (en) Method and device for getting access to wireless network
JP4905767B2 (en) Two-dimensional code detection system and two-dimensional code detection program
CN101908133A (en) Method and device for decoding bar code
US8584951B2 (en) Apparatus, method and system for extracting pixel data from an image capture device
CN115759147A (en) Configuration method and configuration system for sequencing template of code reading equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant