CN113111675A - Method and system for rapidly identifying bar code based on bar code scanner - Google Patents

Method and system for rapidly identifying bar code based on bar code scanner Download PDF

Info

Publication number
CN113111675A
CN113111675A CN202110419420.3A CN202110419420A CN113111675A CN 113111675 A CN113111675 A CN 113111675A CN 202110419420 A CN202110419420 A CN 202110419420A CN 113111675 A CN113111675 A CN 113111675A
Authority
CN
China
Prior art keywords
bar code
code
module
barcode
unit
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
CN202110419420.3A
Other languages
Chinese (zh)
Other versions
CN113111675B (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.)
Guangzhou Xunbao Electronics Technology Co ltd
Original Assignee
Guangzhou Xunbao Electronics Technology 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 Guangzhou Xunbao Electronics Technology Co ltd filed Critical Guangzhou Xunbao Electronics Technology Co ltd
Priority to CN202110419420.3A priority Critical patent/CN113111675B/en
Publication of CN113111675A publication Critical patent/CN113111675A/en
Application granted granted Critical
Publication of CN113111675B publication Critical patent/CN113111675B/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/146Methods for optical code recognition the method including quality enhancement steps
    • G06K7/1473Methods for optical code recognition the method including quality enhancement steps error correction
    • 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/1408Methods for optical code recognition the method being specifically adapted for the type of code

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Character Input (AREA)

Abstract

The invention discloses a method and a system for rapidly identifying a bar code based on a bar code scanner, which relate to the technical field of bar code identification and comprise a computer terminal, a bar code template library, an image identification module, an image conversion module, a data extraction module, a data processing module, a bar code correction module, a storage module and a data output module, wherein a bar code obtained by the bar code scanner is matched with a bar code reference file in the bar code template library, then reference information in a corresponding bar code reference file is obtained, the bar code is identified according to the reference information, and bar code information is obtained, so that different types of bar codes can be compatible; when the deviation appears in the decoding direction of sequence code, the bar code is corrected to the bar code correction module, can also appear extra lines, shade or fold etc. through the bar code correction module simultaneously and influence when sweeping the condition of code rate in the bar code surface, carries out the automatic correction to sweeping the sign indicating number process, has promoted greatly and has swept the sign indicating number success rate.

Description

Method and system for rapidly identifying bar code based on bar code scanner
Technical Field
The invention belongs to the technical field of bar code identification, and particularly relates to a method and a system for quickly identifying a bar code based on a bar code scanner.
Background
The bar code is a symbol formed by combining lines and blanks according to a certain coding rule and used for representing certain data such as letters, numbers and the like. When the identification is carried out, a bar code reader (namely a bar code scanner, namely a bar code scanning gun or a bar code reader) is used for scanning to obtain a group of reflected light signals, the reflected light signals are converted into a group of electronic signals corresponding to lines and blanks through photoelectric conversion, the electronic signals are restored into corresponding characters and numbers after being decoded, and then the characters and numbers are transmitted to a computer. The bar code technology is an automatic identification technology which is generated and developed in computer application and practice and widely applied to the fields of commerce, postal service, book management, storage, industrial production process control, traffic and the like, has the advantages of high input speed, high accuracy, low cost, strong reliability and the like, and plays an important role in the current automatic identification technology.
Patent document CN109145667A discloses a method, a system, a device and a storage medium for fast bar code identification based on a bar code scanner, which comprises the following steps: matching corresponding historical biological characteristics according to the real-time biological characteristics of the user, and matching corresponding habit information according to the historical biological characteristics; and adjusting the focal length of the bar code scanner to the habitual focal length according to the habitual information, and identifying the bar code. The method, the system, the equipment and the storage medium for rapidly identifying the bar code based on the bar code scanner have the beneficial effects that: the habit information of the user is matched through the real-time biological characteristics of the user, and the focal length of the code scanner is adjusted to the habit focal length of the user, so that the user can quickly identify the bar code by using the code scanner according to the habit, and the time for adjusting the focal length of the code scanner is shortened; and the habitual focal length is obtained by averaging the first focal length, the second focal length and the third focal length, so that the accurate habitual focal length is obtained.
In the prior art, at least the following disadvantages exist: 1. different types of barcodes can not be compatibly identified, so that in practical application, when the barcodes of different types are faced, a plurality of code scanners are often required to scan codes respectively; 2. in the process of scanning the code, the requirement on the state of the bar code is high, so that when the bar code is in a bad state, the success rate of scanning the code is reduced.
Disclosure of Invention
The invention aims to provide a method and a system for quickly identifying a bar code based on a bar code scanner.
The technical problem to be solved by the invention is as follows: how to realize compatible identification of different types of barcodes.
The purpose of the invention can be realized by the following technical scheme: a system for rapidly identifying bar codes based on a bar code scanner comprises a computer terminal, a bar code template library, an image identification module, an image conversion module, a data extraction module, a data processing module, a bar code correction module, a storage module and a data output module;
further, the barcode template library is used for storing a plurality of barcode templates, importing the needed barcode templates through a computer terminal, and generating a barcode reference file, wherein the specific generation process comprises the following steps:
step T1: converting the imported bar code template into a picture file, and then uploading the picture file to an image conversion module;
step T2: intercepting a bar code area in the picture file, and then converting the bar code area into a dot matrix reference picture;
step T3: regenerating a bar code reference file according to the lattice reference image, and sending the bar code reference file to a bar code template library for storage; the file information of the bar code reference file at least comprises a bar code type, a bar code identification rule, a standard reference bar code capable of being compiled and a decoding direction.
Further, the image recognition module is used for recognizing the bar code, and the specific recognition process comprises the following steps:
step S1: taking the code scanner as a base point, making an extension line along the code scanning direction of the code scanner to obtain a maximum effective code scanning distance point of the code scanner, marking the maximum effective code scanning distance point of the code scanner as a point a, taking the point a as a circle center to make a circle with radius r and perpendicular to the extension line, and connecting the circle with the code scanner so as to obtain an effective code scanning area of the code scanner;
step S2: when a shelter appears in the effective code scanning area, timing the duration of the appearance of the shelter, recording the duration of the appearance of the shelter as t, and when the duration of the appearance of the shelter is more than or equal to t0, photographing the shelter through a code scanner to obtain a photo of the shelter;
step S3: and uploading the obtained shelter photo to an image conversion module.
Further, the image conversion module is configured to convert the obstruction photo obtained by the image recognition module, and the specific conversion process includes the following steps:
step Z1: identifying whether the bar code exists on the obtained shielding object photo, automatically deleting the shielding object photo when the bar code does not exist on the shielding object photo, and sending a prompt of 'code scanning failure' to the computer terminal through the data output module;
step Z2: when the bar code exists on the shielding object photo, the bar code area in the shielding object photo is intercepted to obtain a bar code area image, and the bar code area image is converted into a dot matrix image;
step Z3: and sending the dot matrix obtained in the step Z2 to a bar code template library.
Further, the data processing module is configured to process the barcode data stream, and the specific processing process includes the following steps:
step C1: converting the bar code data stream into a sequence code consisting of n unit codes, comparing the number of unit codes of the standard reference bar code capable of being compiled with the number of unit codes in the sequence code, if the number of the unit codes is consistent with that of the unit codes, carrying out the next step, if the number of the unit codes is inconsistent with that of the unit codes, sending the sequence code to a computer terminal through a data output module, and sending a prompt of 'code scanning failure' to the computer terminal through the data output module;
step C2: marking each unit code in the sequence code as an ith unit code, wherein i is 1,2, … … n; the n-bit sequence code can be composed of numbers, letters or a combination of the numbers and the letters;
step C3: sequentially acquiring an m-n unit code, and matching the m-n unit code with an m-n unit code in a standard reference bar code which can be compiled, thereby determining the decoding direction of the sequence code;
step C4: finally, the bar code information is obtained according to the decoding direction, the bar code information is sent to the computer terminal through the data output module, and meanwhile the bar code information and the sending time of the bar code information are uploaded to the storage module to be stored.
Further, the data extraction module is used for acquiring barcode information in a barcode, and the specific acquisition process comprises the following steps:
step Q1: matching the obtained dot matrix with a bar code reference file in a bar code template library, marking the successfully matched bar code reference file, and acquiring file information of the successfully matched bar code reference file;
step Q2: determining the type of the bar code according to the reference information of the bar code reference file, and then extracting the bar code information in the bar code graph according to the bar code identification rule of the type of the bar code to obtain a bar code data stream;
step Q3: and sending the bar code data stream extracted in the step Q2 to a data processing module.
Further, the barcode correction module is configured to correct a decoding direction of a sequence code when the decoding direction of the sequence code deviates, where a specific correction process includes the following steps:
step CC 1: when the m-n unit codes in the sequence codes are matched with the m-n unit codes in the standard reference bar codes which can be compiled, the sequence of the unit codes in the sequence codes is reversely sequenced;
step CC 2: recording the nth unit code in the sequence code as the 1 st unit code, recording the n-1 st unit code as the 2 nd unit code, and so on to form a new sequence code;
step CC 3: matching the m-n unit codes in the new sequence codes with the m-n unit codes in the standard reference bar codes which can be compiled, obtaining the decoding direction of the new sequence codes, and carrying out the next step according to the new sequence codes, wherein m is more than 0 and less than n, and m is a positive integer;
the bar code correction module is also used for automatically correcting the code scanning process when extra lines, shadows, folds and the like appear on the surface of the bar code and influence the code scanning rate, and the specific correction process comprises the following steps:
step J1: marking complete unit codes in the bar codes, acquiring the lengths of the finished unit codes, and marking the lengths of the unit codes as l, so that the length of each unit code in the bar codes is l;
step J2: marking incomplete unit codes in the bar codes, acquiring whether local complete areas exist in the incomplete unit codes or not, and acquiring the width d of the incomplete unit codes through the local complete areas;
step J3: forming a new unit code according to the length l and the width d of the obtained unit code; and the new unit codes are arranged in sequence to generate sequence codes.
A method for quickly identifying a bar code based on a bar code scanner specifically comprises the following steps:
the method comprises the following steps: acquiring bar code information through a bar code scanner, and uploading the bar code information to a system for rapidly identifying bar codes;
step two: identifying and converting the obtained bar code information through a system for quickly identifying the bar code;
step three: and outputting an identification result according to the converted bar code information.
The invention has the beneficial effects that: 1. importing a bar code template through a computer terminal, then generating a bar code reference file, and sending the bar code reference file to a bar code template library for storage; matching the bar code obtained by the bar code scanner with a bar code reference file in a bar code template library, then obtaining reference information in the corresponding bar code reference file, and identifying the bar code according to the reference information to obtain bar code information; the bar codes of different types can be compatible, and the situation that different bar codes need to use different bar codes is avoided;
2. when the deviation appears in the decoding direction of sequence code, correct the bar code through setting up the bar code and correct the module, can also appear extra lines, shade or fold etc. through the bar code simultaneously and influence when sweeping the condition of code rate on the bar code surface, carry out the automatic correction to sweeping the sign indicating number process to even make the state of bar code have the part unusual, still can accomplish to sweep the sign indicating number, promoted greatly and swept a sign indicating number success rate.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic block diagram of a method and a system for rapidly recognizing a barcode based on a barcode scanner.
Detailed Description
As shown in fig. 1, a method for rapidly identifying a barcode based on a barcode scanner specifically includes the following steps:
the method comprises the following steps: acquiring bar code information through a bar code scanner, and uploading the bar code information to a system for rapidly identifying bar codes;
step two: identifying and converting the obtained bar code information through a system for quickly identifying the bar code;
step three: and outputting an identification result according to the converted bar code information.
A system for rapidly identifying bar codes based on a bar code scanner comprises a computer terminal, a bar code template library, an image identification module, an image conversion module, a data extraction module, a data processing module, a bar code correction module, a storage module and a data output module;
example 1
The bar code template library is used for storing various bar code templates, the required bar code templates are imported through a computer terminal, and bar code reference files are generated, and the specific generation process comprises the following steps:
step T1: converting the imported bar code template into a picture file, and then uploading the picture file to an image conversion module;
step T2: intercepting a bar code area in the picture file, and then converting the bar code area into a dot matrix reference picture;
step T3: regenerating a bar code reference file according to the lattice reference image, and sending the bar code reference file to a bar code template library for storage; the file information of the bar code reference file at least comprises a bar code type, a bar code identification rule, a standard reference bar code which can be compiled and a decoding direction;
the image recognition module is used for recognizing the bar code, and the specific recognition process comprises the following steps:
step S1: taking the code scanner as a base point, making an extension line along the code scanning direction of the code scanner to obtain a maximum effective code scanning distance point of the code scanner, marking the maximum effective code scanning distance point of the code scanner as a point a, taking the point a as a circle center to make a circle with radius r and perpendicular to the extension line, and connecting the circle with the code scanner so as to obtain an effective code scanning area of the code scanner;
step S2: when a shelter appears in the effective code scanning area, timing the duration of the appearance of the shelter, recording the duration of the appearance of the shelter as t, and when the duration of the appearance of the shelter is more than or equal to t0, photographing the shelter through a code scanner to obtain a photo of the shelter;
step S3: uploading the obtained shelter photo to an image conversion module;
the image conversion module is used for converting the shelter photo acquired by the image recognition module, and the specific conversion process comprises the following steps:
step Z1: identifying whether the bar code exists on the obtained shielding object photo, automatically deleting the shielding object photo when the bar code does not exist on the shielding object photo, and sending a prompt of 'code scanning failure' to the computer terminal through the data output module;
step Z2: when the bar code exists on the shielding object photo, the bar code area in the shielding object photo is intercepted to obtain a bar code area image, and the bar code area image is converted into a dot matrix image;
step Z3: and sending the dot matrix obtained in the step Z2 to a bar code template library.
The data extraction module is used for acquiring bar code information in a bar code, and the specific acquisition process comprises the following steps:
step Q1: matching the obtained dot matrix with a bar code reference file in a bar code template library, marking the successfully matched bar code reference file, and acquiring file information of the successfully matched bar code reference file;
step Q2: determining the type of the bar code according to the reference information of the bar code reference file, and then extracting the bar code information in the bar code graph according to the bar code identification rule of the type of the bar code to obtain a bar code data stream;
step Q3: sending the barcode data stream extracted in the step Q2 to a data processing module;
the data processing module is used for processing the bar code data stream, and the specific processing process comprises the following steps:
step C1: converting the bar code data stream into a sequence code consisting of n unit codes, comparing the number of unit codes of the standard reference bar code capable of being compiled with the number of unit codes in the sequence code, if the number of the unit codes is consistent with that of the unit codes, carrying out the next step, if the number of the unit codes is inconsistent with that of the unit codes, sending the sequence code to a computer terminal through a data output module, and sending a prompt of 'code scanning failure' to the computer terminal through the data output module;
step C2: marking each unit code in the sequence code as an ith unit code, wherein i is 1,2, … … n; the n-bit sequence code can be composed of numbers, letters or a combination of the numbers and the letters;
step C3: sequentially acquiring an m-n unit code, and matching the m-n unit code with an m-n unit code in a standard reference bar code which can be compiled, thereby determining the decoding direction of the sequence code;
step C4: finally, the bar code information is obtained according to the decoding direction, the bar code information is sent to the computer terminal through the data output module, meanwhile, the bar code information and the sending time of the bar code information are uploaded to the storage module to be stored, and a user can trace all the bar code information through the computer terminal.
Example 2
The bar code template library is used for storing various bar code templates, the required bar code templates are imported through a computer terminal, and bar code reference files are generated, and the specific generation process comprises the following steps:
step T1: converting the imported bar code template into a picture file, and then uploading the picture file to an image conversion module;
step T2: intercepting a bar code area in the picture file, and then converting the bar code area into a dot matrix reference picture;
step T3: regenerating a bar code reference file according to the lattice reference image, and sending the bar code reference file to a bar code template library for storage; the file information of the bar code reference file at least comprises a bar code type, a bar code identification rule, a standard reference bar code which can be compiled and a decoding direction;
the image recognition module is used for recognizing the bar code, and the specific recognition process comprises the following steps:
step S1: taking the code scanner as a base point, making an extension line along the code scanning direction of the code scanner to obtain a maximum effective code scanning distance point of the code scanner, marking the maximum effective code scanning distance point of the code scanner as a point a, taking the point a as a circle center to make a circle with radius r and perpendicular to the extension line, and connecting the circle with the code scanner so as to obtain an effective code scanning area of the code scanner;
step S2: when a shelter appears in the effective code scanning area, timing the duration of the appearance of the shelter, recording the duration of the appearance of the shelter as t, and when the duration of the appearance of the shelter is more than or equal to t0, photographing the shelter through a code scanner to obtain a photo of the shelter;
step S3: uploading the obtained shelter photo to an image conversion module;
the image conversion module is used for converting the shelter photo acquired by the image recognition module, and the specific conversion process comprises the following steps:
step Z1: identifying whether the bar code exists on the obtained shielding object photo, automatically deleting the shielding object photo when the bar code does not exist on the shielding object photo, and sending a prompt of 'code scanning failure' to the computer terminal through the data output module;
step Z2: when the bar code exists on the shielding object photo, the bar code area in the shielding object photo is intercepted to obtain a bar code area image, and the bar code area image is converted into a dot matrix image;
step Z3: and sending the dot matrix obtained in the step Z2 to a bar code template library.
The data extraction module is used for acquiring bar code information in a bar code, and the specific acquisition process comprises the following steps:
step Q1: matching the obtained dot matrix with a bar code reference file in a bar code template library, marking the successfully matched bar code reference file, and acquiring file information of the successfully matched bar code reference file;
step Q2: determining the type of the bar code according to the reference information of the bar code reference file, and then extracting the bar code information in the bar code graph according to the bar code identification rule of the type of the bar code to obtain a bar code data stream;
step Q3: sending the barcode data stream extracted in the step Q2 to a data processing module;
the data processing module is used for processing the bar code data stream, and the specific processing process comprises the following steps:
step C1: converting the bar code data stream into a sequence code consisting of n unit codes, comparing the number of unit codes of the standard reference bar code capable of being compiled with the number of unit codes in the sequence code, if the number of the unit codes is consistent with that of the unit codes, carrying out the next step, if the number of the unit codes is inconsistent with that of the unit codes, sending the sequence code to a computer terminal through a data output module, and sending a prompt of 'code scanning failure' to the computer terminal through the data output module;
step C2: marking each unit code in the sequence code as an ith unit code, wherein i is 1,2, … … n; the n-bit sequence code can be composed of numbers, letters or a combination of the numbers and the letters;
step C3: and sequentially acquiring the m-n unit codes, matching the m-n unit codes with the m-n unit codes in the standard reference bar code which can be compiled, if the matching is successful, carrying out the next step, and if the matching is failed, correcting through a bar code correction module.
Step C4: finally, the bar code information is obtained according to the decoding direction, the bar code information is sent to the computer terminal through the data output module, meanwhile, the bar code information and the sending time of the bar code information are uploaded to the storage module to be stored, and a user can trace all the bar code information through the computer terminal.
The bar code correction module is used for correcting when the decoding direction of the sequence code has deviation, and the specific correction process comprises the following steps:
step CC 1: when the m-n unit codes in the sequence codes are matched with the m-n unit codes in the standard reference bar codes which can be compiled, the sequence of the unit codes in the sequence codes is reversely sequenced;
step CC 2: recording the nth unit code in the sequence code as the 1 st unit code, recording the n-1 st unit code as the 2 nd unit code, and so on to form a new sequence code;
step CC 3: and matching the m-n unit codes in the new sequence codes with the m-n unit codes in the standard reference bar codes which can be compiled, obtaining the decoding direction of the new sequence codes, and carrying out the next step according to the new sequence codes, wherein m is more than 0 and less than n, and m is a positive integer.
Example 3
The bar code correction module is also used for automatically correcting the code scanning process when extra lines, shadows, folds and the like appear on the surface of the bar code and influence the code scanning rate, and the specific correction process comprises the following steps:
step J1: marking complete unit codes in the bar codes, acquiring the lengths of the finished unit codes, and marking the lengths of the unit codes as l, so that the length of each unit code in the bar codes is l;
step J2: marking incomplete unit codes in the bar codes, acquiring whether local complete areas exist in the incomplete unit codes or not, and acquiring the width d of the incomplete unit codes through the local complete areas;
step J3: forming a new unit code according to the length l and the width d of the obtained unit code; and the new unit codes are arranged in sequence to generate sequence codes.
The working principle of the invention is as follows: importing a bar code template through a computer terminal, generating a bar code reference file, and then sending the bar code reference file to a bar code template library for storage; firstly, obtaining a shelter photo in an effective code scanning area of a code scanner through the code scanner; converting the image of the shielding object obtained by the image recognition module into a dot matrix image through an image conversion module, obtaining bar code information in a bar code through a data extraction module, matching the obtained dot matrix image with a bar code reference file in a bar code template library, marking the successfully matched bar code reference file, and obtaining file information of the successfully matched bar code reference file; determining the type of the bar code according to the reference information of the bar code reference file, and then extracting the bar code information in the bar code graph according to the bar code identification rule of the type of the bar code to obtain a bar code data stream; processing a bar code data stream through a data processing module, converting the bar code data stream into a sequence code consisting of n unit codes, comparing the number of the unit codes of the standard reference bar code capable of being compiled with the number of the unit codes in the sequence code, marking each unit code in the sequence code, sequentially acquiring the m-n unit codes, and matching the m-n unit codes with the m-n unit codes in the standard reference bar code capable of being compiled so as to determine the decoding direction of the sequence code; finally, the bar code information is obtained according to the decoding direction, the bar code information is sent to the computer terminal through the data output module, meanwhile, the bar code information and the sending time of the bar code information are uploaded to the storage module to be stored, and a user can trace all the bar code information through the computer terminal.
The foregoing is illustrative and explanatory of the structure of the invention, and various modifications, additions or substitutions in a similar manner to the specific embodiments described may be made by those skilled in the art without departing from the structure or scope of the invention as defined in the claims. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.

Claims (7)

1. A system for rapidly identifying a bar code based on a bar code scanner is characterized by comprising a computer terminal, a bar code template library, an image identification module, an image conversion module, a data extraction module, a data processing module, a bar code correction module, a storage module and a data output module;
the data processing module is used for processing the bar code data stream, and the specific processing process comprises the following steps:
step C1: converting the bar code data stream into a sequence code consisting of n unit codes, comparing the number of unit codes of the standard reference bar code capable of being compiled with the number of unit codes in the sequence code, if the number of the unit codes is consistent with that of the unit codes, carrying out the next step, if the number of the unit codes is inconsistent with that of the unit codes, sending the sequence code to a computer terminal through a data output module, and sending a prompt of 'code scanning failure' to the computer terminal through the data output module;
step C2: marking each unit code in the sequence code as an ith unit code, wherein i is 1,2, … … n; the n-bit sequence code can be composed of numbers, letters or a combination of the numbers and the letters;
step C3: sequentially acquiring an m-n unit code, and matching the m-n unit code with an m-n unit code in a standard reference bar code which can be compiled, thereby determining the decoding direction of the sequence code;
step C4: finally, the bar code information is obtained according to the decoding direction, the bar code information is sent to the computer terminal through the data output module, and meanwhile the bar code information and the sending time of the bar code information are uploaded to the storage module to be stored.
2. The system of claim 1, wherein the barcode template library is configured to store a plurality of barcode templates, import a required barcode template through a computer terminal, and generate a barcode reference file.
3. The system of claim 1, wherein the image recognition module is used for recognizing a barcode.
4. The system for rapidly recognizing the barcode based on the barcode scanner of claim 1, wherein the image conversion module is configured to convert the image of the obstruction captured by the image recognition module.
5. The system for rapidly recognizing the barcode based on the barcode reader of claim 1, wherein the data extraction module is configured to obtain barcode information in the barcode.
6. The system of claim 1, wherein the barcode correction module is configured to correct a deviation of a decoding direction of the serial code, and the barcode correction module is further configured to automatically correct a scanning process when a situation affecting the scanning rate occurs on a surface of the barcode.
7. A method for quickly identifying a bar code based on a bar code scanner is characterized by comprising the following steps:
the method comprises the following steps: acquiring bar code information through a bar code scanner, and uploading the bar code information to a system for rapidly identifying bar codes;
step two: identifying and converting the obtained bar code information through a system for quickly identifying the bar code;
step three: and outputting an identification result according to the converted bar code information.
CN202110419420.3A 2021-04-19 2021-04-19 Method and system for rapidly identifying bar code based on bar code scanner Active CN113111675B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110419420.3A CN113111675B (en) 2021-04-19 2021-04-19 Method and system for rapidly identifying bar code based on bar code scanner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110419420.3A CN113111675B (en) 2021-04-19 2021-04-19 Method and system for rapidly identifying bar code based on bar code scanner

Publications (2)

Publication Number Publication Date
CN113111675A true CN113111675A (en) 2021-07-13
CN113111675B CN113111675B (en) 2021-10-12

Family

ID=76718504

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110419420.3A Active CN113111675B (en) 2021-04-19 2021-04-19 Method and system for rapidly identifying bar code based on bar code scanner

Country Status (1)

Country Link
CN (1) CN113111675B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5523552A (en) * 1994-10-19 1996-06-04 Symbol Technologies, Inc. Method and apparatus to scan randomly oriented two-dimensional bar code symbols
CN101833641A (en) * 2010-06-01 2010-09-15 福建新大陆电脑股份有限公司 Bar code decoding chip
JP2013088956A (en) * 2011-10-14 2013-05-13 Keyence Corp Hand-held laser scanner
CN104680111A (en) * 2014-06-26 2015-06-03 赫盛光电(上海)有限公司 Image type high-speed bar code scanning method
CN104899542A (en) * 2015-05-27 2015-09-09 广州市韦尔讯信息科技有限公司 Image-type CMOS barcode rapid recognition method and apparatus
CN107729792A (en) * 2017-10-23 2018-02-23 广州市韦尔讯信息科技有限公司 Image-type CMOS mobile payments method for quickly identifying and device
CN108073849A (en) * 2016-11-18 2018-05-25 杭州海康威视数字技术股份有限公司 Code detection method, apparatus and system
CN110726425A (en) * 2019-10-14 2020-01-24 中国科学院光电技术研究所 Image type decoding method of single-ring absolute type photoelectric code disc

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5523552A (en) * 1994-10-19 1996-06-04 Symbol Technologies, Inc. Method and apparatus to scan randomly oriented two-dimensional bar code symbols
CN101833641A (en) * 2010-06-01 2010-09-15 福建新大陆电脑股份有限公司 Bar code decoding chip
JP2013088956A (en) * 2011-10-14 2013-05-13 Keyence Corp Hand-held laser scanner
CN104680111A (en) * 2014-06-26 2015-06-03 赫盛光电(上海)有限公司 Image type high-speed bar code scanning method
CN104899542A (en) * 2015-05-27 2015-09-09 广州市韦尔讯信息科技有限公司 Image-type CMOS barcode rapid recognition method and apparatus
CN108073849A (en) * 2016-11-18 2018-05-25 杭州海康威视数字技术股份有限公司 Code detection method, apparatus and system
CN107729792A (en) * 2017-10-23 2018-02-23 广州市韦尔讯信息科技有限公司 Image-type CMOS mobile payments method for quickly identifying and device
CN110726425A (en) * 2019-10-14 2020-01-24 中国科学院光电技术研究所 Image type decoding method of single-ring absolute type photoelectric code disc

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
戴扬 等: "二维条形码编码与译码的计算机实现", 《数据采集与处理》 *

Also Published As

Publication number Publication date
CN113111675B (en) 2021-10-12

Similar Documents

Publication Publication Date Title
US4973829A (en) Bar code reading method
CA2282764C (en) System and method for ocr assisted bar code decoding
US7447362B2 (en) System and method of enabling a cellular/wireless device with imaging capabilities to decode printed alphanumeric characters
US8561899B2 (en) Time-varying barcodes for information exchange
JPH1093817A (en) Document picture matching method, medium capable of computer reading and document picture matching device
CN109657515B (en) Decoding method and device for one-dimensional bar code
CN103607524A (en) Cigarette case 32-bit code image acquisition and processing device and cigarette case 32-bit code identification method
CN111754445B (en) Coding and decoding method and system for optical fiber label with hidden information
CN106709474A (en) Handwritten telephone number identification, verification and information sending system
CN111539236A (en) Method for reading multiple bar codes at one time
CN111401095A (en) Method, device, equipment and storage medium for identifying damaged two-dimensional code
CN113111675B (en) Method and system for rapidly identifying bar code based on bar code scanner
CN104217189A (en) Self-learning identification method of barcode used for test strip
CN108021839B (en) Error correction reading method and system for QR (quick response) code
CN114298078B (en) Decoding method of stained one-dimensional bar code
CN101042726A (en) Method for implementing continuance recognizing bar-code in terminal
CN114997884A (en) Dual anti-counterfeiting authentication system based on tea cake image and information code
EP2088533A1 (en) Apparatus and methods for decoding digital codes
Lopresti et al. Certifiable optical character recognition
EP0596280B1 (en) Method and apparatus for determining the type of an electronically stored image of a document
CN110348265B (en) Novel matrix code restoration method based on parallel coordinate system
CN103345779A (en) Smart phone two-dimensional code attendance system and method
CN101840501B (en) Method and device for decoding bar code image
CN108804963A (en) A kind of method and apparatus obtaining ID values
CN217880322U (en) Device for simultaneously scanning and processing multiple identification codes

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