CN111797647A - Bar code decoding method and device - Google Patents

Bar code decoding method and device Download PDF

Info

Publication number
CN111797647A
CN111797647A CN202010652102.7A CN202010652102A CN111797647A CN 111797647 A CN111797647 A CN 111797647A CN 202010652102 A CN202010652102 A CN 202010652102A CN 111797647 A CN111797647 A CN 111797647A
Authority
CN
China
Prior art keywords
bar code
barcode
image
character sequence
target
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
CN202010652102.7A
Other languages
Chinese (zh)
Other versions
CN111797647B (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.)
Beijing Jingdong Zhenshi Information Technology Co Ltd
Original Assignee
Beijing Jingdong Zhenshi Information 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 Beijing Jingdong Zhenshi Information Technology Co Ltd filed Critical Beijing Jingdong Zhenshi Information Technology Co Ltd
Priority to CN202010652102.7A priority Critical patent/CN111797647B/en
Publication of CN111797647A publication Critical patent/CN111797647A/en
Application granted granted Critical
Publication of CN111797647B publication Critical patent/CN111797647B/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/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • 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/1456Methods for optical code recognition including a method step for retrieval of the optical code determining the orientation of the optical code with respect to the reader and correcting therefore
    • 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 application discloses a bar code decoding method and a bar code decoding device, which relate to the technical field of information processing, and the specific implementation scheme is as follows: acquiring a bar code image corresponding to a bar code, wherein the bar code comprises: the system comprises an original bar code, a front side bar code positioned at the front end of the original bar code and a rear side bar code positioned at the rear end of the original bar code; determining position information of an original bar code in the bar code image and a target bar code image corresponding to the position information based on a result of performing a first decoding operation on the front-side bar code and the rear-side bar code; and executing a second decoding operation on the target bar code image, and determining a character string corresponding to the target bar code image, wherein the second decoding operation is used for decoding the bar code in the target bar code image based on a single-line scanning mode. The scheme solves the problem that the bar code is difficult to identify due to pulse noise, and improves the anti-interference capability of bar code identification.

Description

Bar code decoding method and device
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to the technical field of information processing, and particularly relates to a bar code decoding method and device.
Background
At present, bar codes are more and more widely applied, and the identification mode of the bar codes is that the bar codes are identified through a mobile phone, a camera is used for framing, a framing image is scanned according to lines after being binarized, and the continuous white or black pixel number is recorded according to the front and back sequence of the scanning result. When the bar code has pulse noise due to fuzzy printing, that is, each line of the bar code has some white noise, the bar code is difficult to be analyzed and identified in a decoding mode of line scanning.
Disclosure of Invention
The application provides a barcode decoding method, a barcode decoding device, barcode decoding equipment and a storage medium.
According to a first aspect of the present application, there is provided a barcode decoding method, the method including: acquiring a bar code image corresponding to a bar code, wherein the bar code comprises: the system comprises an original bar code, a front side bar code positioned at the front end of the original bar code and a rear side bar code positioned at the rear end of the original bar code; determining position information of an original bar code in the bar code image and a target bar code image corresponding to the position information based on a result of performing a first decoding operation on the front-side bar code and the rear-side bar code; and executing a second decoding operation on the target bar code image, and determining a character string corresponding to the target bar code image, wherein the second decoding operation is used for decoding the bar code in the target bar code image based on a single-line scanning mode.
In some embodiments, the barcode reference width of the front-side barcode and/or the back-side barcode is greater than the barcode reference width of the original barcode; the front bar code and/or the back bar code has a certain distance with the original bar code.
In some embodiments, determining the position information of the original barcode in the barcode image and the target barcode image corresponding to the position information based on a result of performing the first decoding operation on the front-side barcode and the back-side barcode includes: performing a first decoding operation on the front-side bar code and the rear-side bar code by using a line scanning method to obtain the following information of each line of the front-side bar code: the first character sequence, the coordinates of the position of the starting point, the first length and the following information of each line of the rear-side bar code: a second character sequence, an end point position coordinate and a second length; determining the slope of the bar code image according to the coordinates of the starting point position of each line of the front side bar code and/or the coordinates of the ending point position of each line of the rear side bar code; according to the slope of the bar code image and the following information of each line of the front bar code: the first character sequence, the coordinates of the position of the starting point, the first length and the following information of each line of the rear-side bar code: the second character sequence, the coordinates of the end point position and the second length determine the following information of the front side bar code: the first character sequence, the coordinates of the position of the starting point, the first length and the following information of the rear barcode: a second character sequence, an end point position coordinate and a second length; the following information from the front barcode: the first character sequence, the coordinates of the position of the starting point, the first length and the following information of the rear barcode: determining the position information of the original bar code in the bar code image by the second character sequence, the position coordinates of the end point and the second length; and determining a target bar code image corresponding to the position information according to the position information.
In some embodiments, before performing the first decoding operation on the front-side barcode and the back-side barcode by using the line scanning method, the method further includes: and (3) carrying out binarization processing on the front side bar code image and/or the rear side bar code image to obtain the binarized front side bar code image and/or rear side bar code image.
In some embodiments, the method further comprises: and correcting the bar code image based on the slope of the bar code image to obtain the corrected bar code image.
In some embodiments, performing a second decoding operation on the target barcode image to determine a character string corresponding to the target barcode image includes: carrying out binarization processing on the target bar code image to obtain a binarization image corresponding to the target bar code image; projecting the binary image; identifying the projection result, and generating a character sequence corresponding to the binary image, wherein the character sequence is used for representing the distribution condition of black pixels and white pixels of the bar code in the binary image; and matching the character sequence according to the encoding rule, and determining the character string corresponding to the target bar code image.
In some embodiments, identifying the projection result and generating a character sequence corresponding to the binarized image includes: identifying the projection result by using a line scanning method to generate a character sequence of each line corresponding to the projection result; and carrying out statistical analysis on the character sequences of each row to generate a character sequence corresponding to the binary image.
In some embodiments, after the projection result is identified and the character sequence corresponding to the binarized image is generated, the method further includes: and selecting the character sequence corresponding to the binary image to generate the selected character sequence.
In some embodiments, the method further comprises: based on the length of the bar code image, checking a character string corresponding to the target bar code image; and determining a final character string corresponding to the target bar code image in response to the verification passing.
According to a second aspect of the present application, there is provided a barcode decoding apparatus, the apparatus comprising: the acquisition unit is configured to acquire a barcode image corresponding to a barcode, wherein the barcode includes: the system comprises an original bar code, a front side bar code positioned at the front end of the original bar code and a rear side bar code positioned at the rear end of the original bar code; a first decoding unit configured to determine position information of an original barcode in a barcode image and a target barcode image corresponding to the position information based on a result of performing a first decoding operation on the front-side barcode and the rear-side barcode; and the second decoding unit is configured to execute a second decoding operation on the target bar code image and determine a character string corresponding to the target bar code image, wherein the second decoding operation decodes the bar code in the target bar code image based on a single-line scanning mode.
In some embodiments, the barcode reference width of the front barcode and/or the rear barcode in the acquisition unit is greater than the barcode reference width of the original barcode; the front side bar code and/or the rear side bar code in the acquisition unit has a certain distance with the original bar code.
In some embodiments, the first decoding unit comprises: a first decoding module configured to perform a first decoding operation on the front-side barcode and the back-side barcode by using a line scanning method, so as to obtain the following information of each line of the front-side barcode: the first character sequence, the coordinates of the position of the starting point, the first length and the following information of each line of the rear-side bar code: a second character sequence, an end point position coordinate and a second length; the slope determining module is configured to determine the slope of the bar code image according to the coordinates of the position of the starting point of each line of the front-side bar code and/or the coordinates of the position of the ending point of each line of the rear-side bar code; the statistical module is configured to calculate the following information according to the slope of the barcode image and the front-side barcode of each line: the first character sequence, the coordinates of the position of the starting point, the first length and the following information of each line of the rear-side bar code: the second character sequence, the coordinates of the end point position and the second length determine the following information of the front side bar code: the first character sequence, the coordinates of the position of the starting point, the first length and the following information of the rear barcode: a second character sequence, an end point position coordinate and a second length; a position determination module configured to determine the position of the front-side barcode based on: the first character sequence, the coordinates of the position of the starting point, the first length and the following information of the rear barcode: determining the position information of the original bar code in the bar code image by the second character sequence, the position coordinates of the end point and the second length; and the image determining module is configured to determine a target bar code image corresponding to the position information according to the position information.
In some embodiments, the first decoding unit further comprises: and the first processing module is used for carrying out binarization processing on the front side bar code image and/or the rear side bar code image to obtain the front side bar code image and/or the rear side bar code image after binarization processing.
In some embodiments, the apparatus further comprises: and the correcting unit is configured to correct the bar code image based on the slope of the bar code image to obtain a corrected bar code image.
In some embodiments, the second decoding unit comprises: the second processing module is configured to carry out binarization processing on the target bar code image to obtain a binarization image corresponding to the target bar code image; a projection module configured to project the binarized image; the second decoding module is configured to identify the projection result and generate a character sequence corresponding to the binary image, wherein the character sequence is used for representing the distribution condition of black pixels and white pixels of the bar code in the binary image; and the matching module is configured to match the character sequence according to the encoding rule and determine a character string corresponding to the target bar code image.
In some embodiments, the second decoding module is further configured to identify the projection result by using a line scanning method, and generate a character sequence of each line corresponding to the projection result; and carrying out statistical analysis on the character sequences of each row to generate a character sequence corresponding to the binary image.
In some embodiments, the second decoding unit further comprises: and the selection module is configured to select the character sequence corresponding to the binary image and generate the selected character sequence.
In some embodiments, the apparatus further comprises: the verification unit is configured to verify a character string corresponding to the target bar code image based on the length of the bar code image; and determining a final character string corresponding to the target bar code image in response to the verification passing.
According to a third aspect of the present application, there is provided an electronic device comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method as described in any one of the implementations of the first aspect.
According to a fourth aspect of the present application, there is provided a non-transitory computer readable storage medium having stored thereon computer instructions, wherein the computer instructions are for causing a computer to perform the method as described in any one of the implementations of the first aspect.
According to the technology of the application, a bar code image corresponding to a bar code is acquired, wherein the bar code comprises: the method comprises the steps of determining position information of an original bar code in a bar code image and a target bar code image corresponding to the position information based on a result of executing a first decoding operation on the front bar code and the rear bar code, executing a second decoding operation on the target bar code image, determining a character string corresponding to the target bar code image, and adding a front bar code and a rear bar code which are independently coded for determining the position information and the image of the original bar code based on the original bar code in order to identify a pulse noise bar code.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present application, nor do they limit the scope of the present application. Other features of the present application will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application.
FIG. 1 is a schematic diagram of a first embodiment of a barcode decoding method according to the present application;
FIG. 2 is a diagram of a barcode decoding method that can implement an embodiment of the present application;
FIG. 3 is a schematic diagram of a second embodiment of a barcode decoding method according to the present application;
FIG. 4 is a schematic block diagram of one embodiment of a barcode decoding apparatus according to the present application;
FIG. 5 is a block diagram of an electronic device for implementing a barcode decoding method according to an embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 shows a schematic diagram 100 of a first embodiment of a barcode decoding method according to the present application. The bar code decoding method comprises the following steps:
step 101, acquiring a barcode image corresponding to a barcode.
In this embodiment, the execution main body may obtain a barcode image corresponding to the barcode from other electronic devices or locally in a wired connection manner or a wireless connection manner, and the barcode may be obtained by scanning through various electronic devices. Wherein, the bar code includes: the original bar code, the front bar code positioned at the front end of the original bar code and the rear bar code positioned at the rear end of the original bar code. It should be noted that the wireless connection means may include, but is not limited to, 3G, 4G, 5G connection, WiFi connection, bluetooth connection, WiMAX connection, Zigbee connection, uwb (ultra wideband) connection, and other wireless connection means now known or developed in the future.
And 102, determining the position information of the original bar code in the bar code image and a target bar code image corresponding to the position information based on the result of executing the first decoding operation on the front-side bar code and the rear-side bar code.
In this embodiment, the executing body may determine the position information of the original barcode in the barcode image and the target barcode image corresponding to the position information based on a result of performing the first decoding operation on the front-side barcode in the barcode image and the rear-side barcode in the barcode image.
And 103, executing a second decoding operation on the target bar code image, and determining a character string corresponding to the target bar code image.
In this embodiment, the executing body may execute a second decoding operation on the target barcode image to determine a character string corresponding to the target barcode image. And the second decoding operation decodes the bar code in the target bar code image based on a single-line scanning mode.
With continued reference to fig. 2, the barcode decoding method 200 of the present embodiment is executed in an electronic device 201. The electronic device 201 first obtains a barcode image 202 corresponding to a barcode, then the electronic device 201 determines position information of an original barcode in the barcode image and a target barcode image 203 corresponding to the position information based on a result of performing a first decoding operation on a front-side barcode in the barcode image and a rear-side barcode in the barcode image, and finally the electronic device 201 performs a second decoding operation on the target barcode image to determine a character string 204 corresponding to the target barcode image.
The barcode decoding method provided by the above embodiment of the present application adopts a barcode image corresponding to a barcode, where the barcode includes: the method comprises the steps of determining position information of an original bar code in a bar code image and a target bar code image corresponding to the position information based on a result of executing a first decoding operation on the front bar code and the rear bar code, executing a second decoding operation on the target bar code image, determining a character string corresponding to the target bar code image, and adding a front bar code and a rear bar code which are independently coded for determining the position information and the image of the original bar code based on the original bar code in order to identify a pulse noise bar code.
With further reference to FIG. 3, a schematic diagram 300 of a second embodiment of a barcode decoding method is shown. The process of the method comprises the following steps:
step 301, acquiring a barcode image corresponding to the barcode.
In this embodiment, the execution main body may obtain a barcode image corresponding to a barcode from other electronic devices or locally in a wired connection manner or a wireless connection manner, where the barcode includes: the original bar code, the front bar code positioned at the front end of the original bar code and the rear bar code positioned at the rear end of the original bar code.
In some optional implementation manners of this embodiment, the barcode reference width of the front barcode and/or the rear barcode is greater than the barcode reference width of the original barcode; the front bar code and/or the back bar code has a certain distance with the original bar code. The front bar code and the rear bar code adopt coding specifications different from those of the original bar code, so that the anti-interference capability of the bar codes is improved, the bar codes are easier and simpler to identify, and the accuracy and the efficiency of the bar code identification are improved; the original bar codes are separated from the original bar codes by a certain distance, so that the bar codes can be compatible with various types of original bar codes, and the application range is wider.
Step 302, performing a first decoding operation on the front-side barcode and the back-side barcode by using a line scanning method to obtain the following information of each line of the front-side barcode: the first character sequence, the coordinates of the position of the starting point, the first length and the following information of each line of the rear-side bar code: a second character sequence, coordinates of the end point position and a second length.
In this embodiment, the executing body may execute a first decoding operation on the front-side barcode and the back-side barcode by using a line scanning method, so as to obtain a first character sequence of each line of the front-side barcode, a start point position coordinate of each line of the front-side barcode, a first length of each line of the front-side barcode, a second character sequence of each line of the back-side barcode, an end point position coordinate of each line of the back-side barcode, and a second length of each line of the back-side barcode.
In some optional implementations of this embodiment, before performing the first decoding operation on the front-side barcode and the back-side barcode by using the line scanning method, the method may further include: and (3) carrying out binarization processing on the front side bar code image and/or the rear side bar code image to obtain the binarized front side bar code image and/or rear side bar code image. The gray judgment is carried out on the front side bar code image and the rear side bar code image, namely the judgment of black pixel points or white pixel points is carried out, the possibility of white noise interference existing in the front side bar code and the rear side bar code is avoided, and the accuracy of bar code identification is further improved.
Step 303, determining the slope of the barcode image according to the coordinates of the starting point position of each line of the front-side barcode and/or the coordinates of the ending point position of each line of the rear-side barcode.
In this embodiment, the executing body may perform linear regression on the coordinates of the start point position of each line of the front barcode and the coordinates of the end point position of each line of the rear barcode, respectively, and determine the slope of the barcode image based on the comparison of the two linear regression results.
In some optional implementations of this embodiment, the method further includes: and correcting the bar code image based on the slope of the bar code image to obtain the corrected bar code image. The image is corrected by utilizing the slope of the image, so that the problem of the inclination of the bar code is solved, the error of subsequent projection is reduced, and the accuracy of image decoding is improved.
Step 304, according to the slope of the bar code image and the following information of each line of the front side bar code: the first character sequence, the coordinates of the position of the starting point, the first length and the following information of each line of the rear-side bar code: the second character sequence, the coordinates of the end point position and the second length determine the following information of the front side bar code: the first character sequence, the coordinates of the position of the starting point, the first length and the following information of the rear barcode: a second character sequence, coordinates of the end point position and a second length.
In this embodiment, the execution main body may select a result with the largest number of parameters in the statistical result by using a grouping statistical sorting method according to the first character sequence of each row of the front-side barcode, the start point position coordinate of each row of the front-side barcode, the first length of each row of the front-side barcode, and the slope of the barcode image, so as to determine the first character sequence of the front-side barcode, the start point position coordinate of the front-side barcode, and the first length of the front-side barcode, and simultaneously select a result with the largest number of parameters in the statistical result by using a grouping statistical sorting method according to the second character sequence of each row of the back-side barcode, the end point position coordinate of each row of the back-side barcode, the second length of each row of the back-side barcode, and the slope of the barcode image, so as to determine the second character sequence of the back-side barcode, the end point position coordinate of the back-side barcode, and the second. And analyzing the sequence of the rows, and selecting the result with the same number and the most number in each column after sequencing as the final result of the column, so that the problem of possible recognition error in the result is avoided, and the decoding accuracy is improved.
Step 305, according to the following information of the front side bar code: the first character sequence, the coordinates of the position of the starting point, the first length and the following information of the rear barcode: and determining the position information of the original bar code in the bar code image by the second character sequence, the position coordinates of the end point and the second length.
In this embodiment, the execution main body may obtain the position information of the original barcode in the barcode image through data statistics and operation according to the first character sequence of the front barcode, the start point position coordinate of the front barcode, the first length of the front barcode, the second character sequence of the rear barcode, the end point position coordinate of the rear barcode, and the second length of the rear barcode. The position information is represented by coordinates of each corner of the original barcode.
And step 306, determining a target bar code image corresponding to the position information according to the position information.
In this embodiment, the execution subject may determine the target barcode image based on the obtained position information.
And 307, executing a second decoding operation on the target bar code image, and determining a character string corresponding to the target bar code image.
In some optional implementation manners of this embodiment, the performing a second decoding operation on the target barcode image to determine a character string corresponding to the target barcode image includes: carrying out binarization processing on the target bar code image to obtain a binarization image corresponding to the target bar code image; projecting the binary image; identifying the projection result, and generating a character sequence corresponding to the binary image, wherein the character sequence is used for representing the distribution condition of black pixels and white pixels of the bar code in the binary image; and matching the character sequence according to the encoding rule, and determining the character string corresponding to the target bar code image. The encoding specification may be the same as the original stripe code encoding specification, such as code128 encoding, code39 encoding, and code93 encoding. Through carrying out grey scale judgement to the bar code, the judgement of black pixel or white pixel has avoided having white noise to disturb in the bar code promptly, has promoted the interference killing feature of bar code discernment, has improved the rate of accuracy of bar code discernment.
For example, each row of white pixels is denoted as ' ″, and black pixels are denoted as ' X ', then each row may be denoted as (XXXX.. XX... XXXX.. XX.. XXXX). After projection and counting all rows and columns, the image is expressed as (black: 10,9,9,10, white 9,9, black 9,9, white 10,10,10, black 10,10,10,10, 9,9,9, white 10,10,10,10 black 10,10,9, 10,10, white 10,10,10, 9,9), and the sequence is matched with the original code128, and a character string corresponding to the target barcode image (such as JDLD 2351000435) is identified.
In some optional implementation manners of this embodiment, identifying the projection result, and generating a character sequence corresponding to the binarized image includes: identifying the projection result by using a line scanning method to generate a character sequence of each line corresponding to the projection result; and carrying out statistical analysis on the character sequences of each row to generate a character sequence corresponding to the binary image. The identification process is refined, and the identification precision is improved.
In some optional implementation manners of this embodiment, after identifying the projection result and generating a character sequence corresponding to the binarized image, the method further includes: and selecting the character sequence corresponding to the binary image to generate the selected character sequence. By selecting the character sequences of all the lines, the decoding process is simplified, and the decoding efficiency is improved.
308, checking a character string corresponding to the target bar code image based on the length of the bar code image; and determining a final character string corresponding to the target bar code image in response to the verification passing.
In this embodiment, the execution main body may check a character string corresponding to the target barcode image based on the determined length of the barcode image, and after the execution main body receives an instruction that the check is passed, determine the character string corresponding to the target barcode image obtained after the check as a final character string corresponding to the target barcode image. The length of the barcode image can be determined according to the first character sequence of the front barcode and the second character sequence of the rear barcode, such as: the character sequence is defined in advance, and the length of the barcode image is calculated to be 1 × 10+8 ═ 18 from the first character sequence (denoted by 1) and the second character sequence (denoted by 8).
In this embodiment, the specific operation of step 307 is substantially the same as the operation of step 103 in the embodiment shown in fig. 1, and is not described herein again.
As can be seen from fig. 3, compared with the embodiment corresponding to fig. 1, the schematic diagram 300 of the barcode decoding method in this embodiment performs a first decoding operation on the front-side barcode and the rear-side barcode by using a line scanning method, determines a slope of the barcode image based on a result of performing linear regression on a start point position coordinate of each line of the front-side barcode and/or a result of performing linear regression on an end point position coordinate of each line of the rear-side barcode, further determines position information of an original barcode in the barcode image and a target barcode image corresponding to the position information, verifies a character string corresponding to the target barcode image based on a length of the barcode image, determines a final character string corresponding to the target barcode image in response to passing verification, and implements a barcode decoding method that verifies a character sequence of the target barcode image by using the length of the barcode image, the accuracy of the image recognition degree is further improved.
With further reference to fig. 4, as an implementation of the methods shown in the above-mentioned figures, the present application provides an embodiment of a barcode decoding apparatus, which corresponds to the embodiment of the method shown in fig. 1, and which can be applied in various electronic devices.
As shown in fig. 4, the barcode decoding apparatus 400 of the present embodiment includes: an obtaining unit 401, a first decoding unit 402, and a second decoding unit 403, where the obtaining unit is configured to obtain a barcode image corresponding to a barcode, where the barcode includes: the system comprises an original bar code, a front side bar code positioned at the front end of the original bar code and a rear side bar code positioned at the rear end of the original bar code; a first decoding unit configured to determine position information of an original barcode in a barcode image and a target barcode image corresponding to the position information based on a result of performing a first decoding operation on the front-side barcode and the rear-side barcode; and the second decoding unit is configured to execute a second decoding operation on the target bar code image and determine a character string corresponding to the target bar code image, wherein the second decoding operation decodes the bar code in the target bar code image based on a single-line scanning mode.
In this embodiment, specific processing of the obtaining unit 401, the first decoding unit 402, and the second decoding unit 403 of the barcode decoding apparatus 400 and technical effects thereof can refer to the related descriptions of step 101 to step 103 in the embodiment corresponding to fig. 1, and are not described herein again.
In some optional implementation manners of this embodiment, the barcode reference width of the front barcode and/or the rear barcode in the acquisition unit is greater than the barcode reference width of the original barcode; the front side bar code and/or the rear side bar code in the acquisition unit has a certain distance with the original bar code.
In some optional implementations of this embodiment, the first decoding unit includes: a first decoding module configured to perform a first decoding operation on the front-side barcode and the back-side barcode by using a line scanning method, so as to obtain the following information of each line of the front-side barcode: the first character sequence, the coordinates of the position of the starting point, the first length and the following information of each line of the rear-side bar code: a second character sequence, an end point position coordinate and a second length; the slope determining module is configured to determine the slope of the bar code image according to the coordinates of the position of the starting point of each line of the front-side bar code and/or the coordinates of the position of the ending point of each line of the rear-side bar code; the statistical module is configured to calculate the following information according to the slope of the barcode image and the front-side barcode of each line: the first character sequence, the coordinates of the position of the starting point, the first length and the following information of each line of the rear-side bar code: the second character sequence, the coordinates of the end point position and the second length determine the following information of the front side bar code: the first character sequence, the coordinates of the position of the starting point, the first length and the following information of the rear barcode: a second character sequence, an end point position coordinate and a second length; a position determination module configured to determine the position of the front-side barcode based on: the first character sequence, the coordinates of the position of the starting point, the first length and the following information of the rear barcode: determining the position information of the original bar code in the bar code image by the second character sequence, the position coordinates of the end point and the second length; and the image determining module is configured to determine a target bar code image corresponding to the position information according to the position information.
In some optional implementations of this embodiment, the first decoding unit further includes: and the first processing module is used for carrying out binarization processing on the front side bar code image and/or the rear side bar code image to obtain the front side bar code image and/or the rear side bar code image after binarization processing.
In some optional implementations of this embodiment, the apparatus further includes: and the correcting unit is configured to correct the bar code image based on the slope of the bar code image to obtain a corrected bar code image.
In some optional implementations of this embodiment, the second decoding unit includes: the second processing module is configured to carry out binarization processing on the target bar code image to obtain a binarization image corresponding to the target bar code image; a projection module configured to project the binarized image; the second decoding module is configured to identify the projection result and generate a character sequence corresponding to the binary image, wherein the character sequence is used for representing the distribution condition of black pixels and white pixels of the bar code in the binary image; and the matching module is configured to match the character sequence according to the encoding rule and determine a character string corresponding to the target bar code image.
In some optional implementations of this embodiment, the second decoding module is further configured to identify the projection result by using a line scanning method, and generate a character sequence of each line corresponding to the projection result; and carrying out statistical analysis on the character sequences of each row to generate a character sequence corresponding to the binary image.
In some optional implementations of this embodiment, the second decoding unit further includes: and the selection module is configured to select the character sequence corresponding to the binary image and generate the selected character sequence.
In some optional implementations of this embodiment, the apparatus further includes: the verification unit is configured to verify a character string corresponding to the target bar code image based on the length of the bar code image; and determining a final character string corresponding to the target bar code image in response to the verification passing.
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
Fig. 5 is a block diagram of an electronic device according to the barcode decoding method of the embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 5, the electronic apparatus includes: one or more processors 501, memory 502, and interfaces for connecting the various components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). In fig. 5, one processor 501 is taken as an example.
Memory 502 is a non-transitory computer readable storage medium as provided herein. The memory stores instructions executable by the at least one processor, so that the at least one processor executes the barcode decoding method provided by the application. The non-transitory computer-readable storage medium of the present application stores computer instructions for causing a computer to perform the barcode decoding method provided herein.
The memory 502, which is a non-transitory computer-readable storage medium, may be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as program instructions/modules corresponding to the barcode decoding method in the embodiment of the present application (for example, the acquisition unit 401, the first decoding unit 402, and the second decoding unit 403 shown in fig. 4). The processor 501 executes various functional applications of the server and data processing by running non-transitory software programs, instructions and modules stored in the memory 502, that is, the barcode decoding method in the above method embodiment is implemented.
The memory 502 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created from use of the barcode decoding electronic device, and the like. Further, the memory 502 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 502 optionally includes memory located remotely from the processor 501, which may be connected to the barcode decoding electronics via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device of the barcode decoding method may further include: an input device 503 and an output device 504. The processor 501, the memory 502, the input device 503 and the output device 504 may be connected by a bus or other means, and fig. 5 illustrates the connection by a bus as an example.
The input device 503 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the barcode decoding electronic apparatus, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, a pointing stick, one or more mouse buttons, a track ball, a joystick, or other input device. The output devices 504 may include a display device, auxiliary lighting devices (e.g., LEDs), and haptic feedback devices (e.g., vibrating motors), among others. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here may be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user may interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
According to the technical scheme of the embodiment of the application, the method for acquiring the barcode image corresponding to the barcode comprises the following steps: the method comprises the steps of determining position information of an original bar code in a bar code image and a target bar code image corresponding to the position information based on a result of executing a first decoding operation on the front bar code and the rear bar code, executing a second decoding operation on the target bar code image, determining a character string corresponding to the target bar code image, and adding a front bar code and a rear bar code which are independently coded for determining the position information and the image of the original bar code based on the original bar code in order to identify a pulse noise bar code. Meanwhile, a first decoding operation is executed on the front-side bar code and the rear-side bar code by using a line scanning method, the slope of a bar code image is determined based on a result of linear regression on the position coordinates of the starting points of the rows of the front-side bar code and/or a result of linear regression on the position coordinates of the ending points of the rows of the rear-side bar code, the position information of the original bar code in the bar code image and a target bar code image corresponding to the position information are further determined, a character string corresponding to the target bar code image is verified based on the length of the bar code image, and a final character string corresponding to the target bar code image is determined in response to passing of verification.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present application can be achieved, and the present invention is not limited herein.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (14)

1. A method of barcode decoding, the method comprising:
acquiring a barcode image corresponding to a barcode, wherein the barcode comprises: the system comprises an original bar code, a front side bar code positioned at the front end of the original bar code and a rear side bar code positioned at the rear end of the original bar code;
determining position information of an original bar code in the bar code image and a target bar code image corresponding to the position information based on a result of performing a first decoding operation on the front-side bar code and the rear-side bar code;
and executing a second decoding operation on the target bar code image, and determining a character string corresponding to the target bar code image, wherein the second decoding operation is used for decoding the bar code in the target bar code image based on a single-line scanning mode.
2. The method of claim 1, wherein the barcode reference width of the front-side barcode and/or the rear-side barcode is greater than the barcode reference width of the original barcode; the front side bar code and/or the rear side bar code has a certain distance with the original bar code.
3. The method of claim 1, wherein the determining the position information of the original barcode in the barcode image and the target barcode image corresponding to the position information based on a result of performing the first decoding operation on the front-side barcode and the back-side barcode comprises:
performing a first decoding operation on the front-side bar code and the rear-side bar code by using a line scanning method to obtain the following information of each line of the front-side bar code: the first character sequence, the coordinates of the position of the starting point, the first length and the following information of each line of the rear-side bar code: a second character sequence, an end point position coordinate and a second length;
determining the slope of the bar code image according to the coordinates of the starting point position of each line of the front side bar code and/or the coordinates of the ending point position of each line of the rear side bar code;
according to the slope of the bar code image and the following information of each line of the front side bar code: the first character sequence, the coordinates of the position of the starting point, the first length and the following information of each line of the rear-side bar code: determining the following information of the front-side bar code by using a second character sequence, the coordinates of the end point position and a second length: the first character sequence, the coordinates of the position of the starting point, the first length and the following information of the rear side bar code: a second character sequence, an end point position coordinate and a second length;
according to the following information of the front side bar code: the first character sequence, the coordinates of the position of the starting point, the first length and the following information of the rear side bar code: determining the position information of the original bar code in the bar code image by using a second character sequence, the position coordinates of the end point and a second length;
and determining a target bar code image corresponding to the position information according to the position information.
4. The method of claim 3, wherein prior to performing a first decoding operation on the front-side barcode and the back-side barcode using a line scanning method, further comprising:
and carrying out binarization processing on the front side bar code image and/or the rear side bar code image to obtain the front side bar code image and/or the rear side bar code image after binarization processing.
5. The method of claim 3, further comprising:
and correcting the bar code image based on the slope of the bar code image to obtain the corrected bar code image.
6. The method of claim 1, wherein the performing a second decoding operation on the target barcode image to determine a character string corresponding to the target barcode image comprises:
carrying out binarization processing on the target bar code image to obtain a binarization image corresponding to the target bar code image;
projecting the binary image; identifying the projection result, and generating a character sequence corresponding to the binary image, wherein the character sequence is used for representing the distribution condition of black pixels and white pixels of the bar code in the binary image;
and matching the character sequence according to an encoding rule, and determining a character string corresponding to the target bar code image.
7. The method according to claim 6, wherein the recognizing the projection result and generating the character sequence corresponding to the binarized image comprises:
identifying the projection result by using a line scanning method to generate a character sequence of each line corresponding to the projection result;
and carrying out statistical analysis on the character sequences of each row to generate a character sequence corresponding to the binary image.
8. The method according to claim 6, wherein after identifying the projection result and generating the character sequence corresponding to the binarized image, the method further comprises:
and selecting the character sequence corresponding to the binary image to generate the selected character sequence.
9. The method of claim 1, further comprising:
based on the length of the bar code image, checking a character string corresponding to the target bar code image;
and responding to the passing of the verification, and determining a final character string corresponding to the target bar code image.
10. A barcode decoding apparatus, the apparatus comprising:
the acquisition unit is configured to acquire a barcode image corresponding to a barcode, wherein the barcode comprises: the system comprises an original bar code, a front side bar code positioned at the front end of the original bar code and a rear side bar code positioned at the rear end of the original bar code;
a first decoding unit configured to determine position information of an original barcode in the barcode image and a target barcode image corresponding to the position information based on a result of performing a first decoding operation on the front-side barcode and the rear-side barcode;
and the second decoding unit is configured to perform a second decoding operation on the target barcode image and determine a character string corresponding to the target barcode image, wherein the second decoding operation decodes the barcode in the target barcode image based on a single-line scanning mode.
11. The apparatus of claim 10, wherein the first decoding unit comprises:
a first decoding module configured to perform a first decoding operation on the front-side barcode and the back-side barcode by using a line scanning method to obtain the following information of each line of the front-side barcode: the first character sequence, the coordinates of the position of the starting point, the first length and the following information of each line of the rear-side bar code: a second character sequence, an end point position coordinate and a second length;
a slope determination module configured to determine a slope of the barcode image according to coordinates of a start point position of each row of the front-side barcode and/or coordinates of an end point position of each row of the rear-side barcode;
a counting module configured to calculate the following information according to the slope of the barcode image and the following information of each line of the front-side barcode: the first character sequence, the coordinates of the position of the starting point, the first length and the following information of each line of the rear-side bar code: determining the following information of the front-side bar code by using a second character sequence, the coordinates of the end point position and a second length: the first character sequence, the coordinates of the position of the starting point, the first length and the following information of the rear side bar code: a second character sequence, an end point position coordinate and a second length;
a position determination module configured to determine the position of the front-side barcode based on: the first character sequence, the coordinates of the position of the starting point, the first length and the following information of the rear side bar code: determining the position information of the original bar code in the bar code image by using a second character sequence, the position coordinates of the end point and a second length;
an image determination module configured to determine a target barcode image corresponding to the location information according to the location information.
12. The apparatus of claim 10, wherein the second decoding unit comprises:
the processing module is configured to carry out binarization processing on the target bar code image to obtain a binarization image corresponding to the target bar code image;
a projection module configured to project the binarized image;
the second decoding module is configured to identify the projection result and generate a character sequence corresponding to the binarized image, wherein the character sequence is used for representing the distribution condition of black pixels and white pixels of a barcode in the binarized image;
and the matching module is configured to match the character sequence according to an encoding rule and determine a character string corresponding to the target bar code image.
13. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-9.
14. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-9.
CN202010652102.7A 2020-07-08 2020-07-08 Bar code decoding method and device Active CN111797647B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010652102.7A CN111797647B (en) 2020-07-08 2020-07-08 Bar code decoding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010652102.7A CN111797647B (en) 2020-07-08 2020-07-08 Bar code decoding method and device

Publications (2)

Publication Number Publication Date
CN111797647A true CN111797647A (en) 2020-10-20
CN111797647B CN111797647B (en) 2023-11-03

Family

ID=72810438

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010652102.7A Active CN111797647B (en) 2020-07-08 2020-07-08 Bar code decoding method and device

Country Status (1)

Country Link
CN (1) CN111797647B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112260872A (en) * 2020-10-22 2021-01-22 北京理工大学 Identification heterogeneous recognition method and system based on character string matching
CN117574930A (en) * 2024-01-15 2024-02-20 北京航空航天大学杭州创新研究院 Method and device for generating three-dimensional bar code information, electronic equipment and readable medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1677872A (en) * 2004-03-30 2005-10-05 深圳市朗科科技有限公司 Bar-code decoding method
US20090166425A1 (en) * 2007-12-27 2009-07-02 Kabushiki Kaisha Toshiba Bar Code Processing Apparatus, Sorting Apparatus and Bar Code Processing Method
CN101833645A (en) * 2010-06-01 2010-09-15 福建新大陆电脑股份有限公司 Bar code decoding method based on code word combination
CN101882210A (en) * 2010-06-01 2010-11-10 福建新大陆电脑股份有限公司 Matrix two-dimensional barcode decoding chip and decoding method thereof
CN107016317A (en) * 2017-03-02 2017-08-04 浙江华睿科技有限公司 A kind of bar code decoding method and device
CN108763998A (en) * 2018-04-17 2018-11-06 维沃移动通信有限公司 Barcode recognition method and terminal device
CN110659529A (en) * 2019-09-03 2020-01-07 珠海市杰理科技股份有限公司 Bar code identification method and device, computer equipment and storage medium
CN111144161A (en) * 2020-04-03 2020-05-12 支付宝(杭州)信息技术有限公司 Barcode identification method and device, commodity information determination method and payment method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1677872A (en) * 2004-03-30 2005-10-05 深圳市朗科科技有限公司 Bar-code decoding method
US20090166425A1 (en) * 2007-12-27 2009-07-02 Kabushiki Kaisha Toshiba Bar Code Processing Apparatus, Sorting Apparatus and Bar Code Processing Method
CN101833645A (en) * 2010-06-01 2010-09-15 福建新大陆电脑股份有限公司 Bar code decoding method based on code word combination
CN101882210A (en) * 2010-06-01 2010-11-10 福建新大陆电脑股份有限公司 Matrix two-dimensional barcode decoding chip and decoding method thereof
CN107016317A (en) * 2017-03-02 2017-08-04 浙江华睿科技有限公司 A kind of bar code decoding method and device
CN108763998A (en) * 2018-04-17 2018-11-06 维沃移动通信有限公司 Barcode recognition method and terminal device
CN110659529A (en) * 2019-09-03 2020-01-07 珠海市杰理科技股份有限公司 Bar code identification method and device, computer equipment and storage medium
CN111144161A (en) * 2020-04-03 2020-05-12 支付宝(杭州)信息技术有限公司 Barcode identification method and device, commodity information determination method and payment method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘勇;: "基于快速面阵相机与图像处理的条码识别算法", 廊坊师范学院学报(自然科学版), no. 01 *
崔冲;刘志;梁荣华;: "复杂背景下二维条码检测技术", 浙江工业大学学报, no. 05 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112260872A (en) * 2020-10-22 2021-01-22 北京理工大学 Identification heterogeneous recognition method and system based on character string matching
CN117574930A (en) * 2024-01-15 2024-02-20 北京航空航天大学杭州创新研究院 Method and device for generating three-dimensional bar code information, electronic equipment and readable medium
CN117574930B (en) * 2024-01-15 2024-04-12 北京航空航天大学杭州创新研究院 Method and device for generating three-dimensional bar code information, electronic equipment and readable medium

Also Published As

Publication number Publication date
CN111797647B (en) 2023-11-03

Similar Documents

Publication Publication Date Title
CN110806865B (en) Animation generation method, device, equipment and computer readable storage medium
CN111797647A (en) Bar code decoding method and device
CN110852379B (en) Training sample generation method and device for target object recognition
CN111275190A (en) Neural network model compression method and device, image processing method and processor
CN112241716B (en) Training sample generation method and device
CN112001169A (en) Text error correction method and device, electronic equipment and readable storage medium
CN111625157A (en) Fingertip key point detection method, device, equipment and readable storage medium
CN111488821B (en) Method and device for identifying countdown information of traffic signal lamp
CN112149741A (en) Training method and device of image recognition model, electronic equipment and storage medium
CN111310507B (en) Identification method, device and equipment for identification code
CN111861991A (en) Method and device for calculating image definition
WO2022007495A1 (en) Method and terminal for identifying barcode
CN114511743A (en) Detection model training method, target detection method, device, equipment, medium and product
CN111523292B (en) Method and device for acquiring image information
CN112311952A (en) Image processing method, system and device
CN112270303A (en) Image recognition method and device and electronic equipment
CN111563541A (en) Training method and device of image detection model
CN110798681A (en) Monitoring method and device of imaging equipment and computer equipment
CN113657398B (en) Image recognition method and device
CN112150380B (en) Method, apparatus, electronic device, and readable storage medium for correcting image
CN111507944B (en) Determination method and device for skin smoothness and electronic equipment
CN111738325A (en) Image recognition method, device, equipment and storage medium
CN113298211A (en) Barcode generation and barcode identification method and device
CN112287757B (en) Water body identification method and device, electronic equipment and storage medium
CN111507267B (en) Document orientation detection method, device, equipment and storage medium

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