CN118396009A - Automatic bar code identification method, system, storage medium and electronic equipment - Google Patents

Automatic bar code identification method, system, storage medium and electronic equipment Download PDF

Info

Publication number
CN118396009A
CN118396009A CN202410813462.9A CN202410813462A CN118396009A CN 118396009 A CN118396009 A CN 118396009A CN 202410813462 A CN202410813462 A CN 202410813462A CN 118396009 A CN118396009 A CN 118396009A
Authority
CN
China
Prior art keywords
bar code
image
value
code acquisition
data
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
CN202410813462.9A
Other languages
Chinese (zh)
Other versions
CN118396009B (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.)
Shenzhen Yingda Information Technology Co ltd
Original Assignee
Shenzhen Yingda 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 Shenzhen Yingda Information Technology Co ltd filed Critical Shenzhen Yingda Information Technology Co ltd
Priority to CN202410813462.9A priority Critical patent/CN118396009B/en
Priority claimed from CN202410813462.9A external-priority patent/CN118396009B/en
Publication of CN118396009A publication Critical patent/CN118396009A/en
Application granted granted Critical
Publication of CN118396009B publication Critical patent/CN118396009B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Analysis (AREA)

Abstract

The invention relates to the technical field of bar code recognition, in particular to an automatic recognition method, a system, a storage medium and electronic equipment based on bar codes, which comprises the following steps: acquiring bar code data of a bar code acquisition image; acquiring an identification value of a bar code acquisition image based on bar code data, and determining the quality of the bar code acquisition image; if the identification value of the bar code acquisition image is greater than or equal to the identification threshold value of the bar code acquisition image, generating a bar code identification qualified signal; based on the data qualified bar code acquisition image and the change qualified bar code acquisition image, determining an optimal bar code, and completing automatic identification work through a bar code identifier; the invention can effectively evaluate the bar code acquisition quality, can determine qualified bar code images, can identify the bar codes more effectively, and can greatly improve the bar code identification quality.

Description

Automatic bar code identification method, system, storage medium and electronic equipment
Technical Field
The invention relates to the technical field of bar code recognition, in particular to an automatic recognition method, an automatic recognition system, a storage medium and electronic equipment based on bar codes.
Background
Bar codes consist of bars of different widths, different reflectivities (dark portions, usually black) and spaces (light portions, usually white). The bars and spaces are arranged according to a certain coding rule (code system) to express a set of numeric or alphabetic symbol information.
In the prior art, aiming at the movable bar code, a large number of bar code images are acquired in an image acquisition mode, and in the processing process, the bar code images cannot be effectively and rapidly screened to obtain the bar code with the highest quality, so that the accuracy of bar code identification is limited;
and when the bar code moves, the abnormal change of the speed can greatly influence the recognition of the bar code, and the bar code cannot be analyzed according to the problem at present, and is mutually connected with a transmission equipment end, so that the transmission speed of the bar code is automatically controlled, and the high efficiency of bar code recognition is ensured.
Disclosure of Invention
The invention aims to provide an automatic identification method, an automatic identification system, a storage medium and electronic equipment based on bar codes, and the technical problems solved by the invention are as follows: the barcode image can not be effectively and rapidly screened to obtain the barcode with the highest quality, thereby limiting the accuracy of barcode identification.
The aim of the invention can be achieved by the following technical scheme:
An automatic identification method based on bar codes comprises the following steps:
step 1: acquiring bar code data of a bar code acquisition image;
wherein the bar code data comprises the bar code contrast of each frame of bar code image;
Step 2: acquiring an identification value of a bar code acquisition image based on bar code data, and determining the quality of the bar code acquisition image;
the identification value of the bar code acquisition image is obtained by summing the data qualification rate value and the change qualification rate value;
If the identification value of the bar code acquisition image is greater than or equal to the identification threshold value of the bar code acquisition image, generating a bar code identification qualified signal;
If the identification value of the bar code acquisition image is smaller than the identification threshold value of the bar code acquisition image, generating a bar code identification disqualification signal;
step 3: based on the data qualified bar code acquisition image and the change qualified bar code acquisition image, determining an optimal bar code, and completing automatic identification work through a bar code identifier;
The optimal bar code determining process comprises the following steps:
extracting all the data qualified bar code acquisition images to obtain a set of the data qualified bar code acquisition images;
Extracting a change qualified bar code acquisition image from the collection of data qualified bar code acquisition images to obtain an image to be selected;
and obtaining the maximum value of the bar code contrast in the image to be selected, and marking the image to be selected as a selected image.
As a further scheme of the invention: in the step 2, the data qualification rate value of the bar code acquisition image is obtained by the following steps:
acquiring data qualified bar code acquisition images, counting the number of the data qualified bar code acquisition images, and calculating the ratio of the number of the data qualified bar code acquisition images to the total number of the bar code acquisition images to obtain the data qualification rate value of the bar code acquisition images.
As a further scheme of the invention: the method for acquiring the change qualification rate value of the bar code acquisition image comprises the following steps:
Acquiring change qualified bar code acquisition images, counting the number of the change qualified bar code acquisition images, and calculating the ratio of the number of the change qualified bar code acquisition images to the total number of the bar code acquisition images to obtain the change qualified rate value of the bar code acquisition images.
As a further scheme of the invention: the acquisition process of the data qualified bar code acquisition image comprises the following steps:
Acquiring the bar code contrast of each frame of bar code image, if the bar code contrast is larger than the bar code contrast threshold, generating a bar code contrast good signal, and marking the bar code image corresponding to the bar code contrast good signal as a data qualified bar code acquisition image;
if the bar code contrast is smaller than or equal to the bar code contrast threshold, generating a bar code contrast difference signal, and marking a bar code image corresponding to the bar code contrast difference signal as a data unqualified bar code acquisition image.
As a further scheme of the invention: the acquisition process of the change qualified bar code acquisition image comprises the following steps:
obtaining the bar code contrast of each frame of bar code image, and performing difference value calculation with the bar code contrast of the bar code image of the adjacent frame number to obtain the bar code change contrast;
if the bar code change contrast is smaller than or equal to the bar code change contrast threshold, generating a bar code change contrast good signal, and marking a bar code image corresponding to the bar code change contrast good signal as a change qualified bar code acquisition image.
As a further scheme of the invention: the method also comprises the following steps:
based on the unqualified signals of bar code identification, acquiring a moving factor resolution value, and judging to generate object influence signals or object non-influence signals;
The method comprises the steps of analyzing speed abnormal time and signal abnormal time to obtain a moving factor resolution value;
And if the moving factor resolution value is greater than or equal to the moving factor resolution threshold value, generating an object influence signal.
As a further scheme of the invention: the movement factor resolution value is obtained by summing the addition of the time length corresponding ratio and the time point corresponding ratio.
As a further scheme of the invention: the obtaining process of the duration corresponding ratio comprises the following steps:
and calculating the difference value between the total duration of the speed abnormal time and the total duration of the signal abnormal time to obtain a duration corresponding value, and calculating the ratio of the duration corresponding value to the abnormal total duration to obtain a duration corresponding ratio.
As a further scheme of the invention: the time point corresponding ratio obtaining process comprises the following steps:
Acquiring each time point of the speed abnormal time and each time point of the signal abnormal time, extracting non-coincident points of each time point of the speed abnormal time and each time point of the signal abnormal time to obtain a time point corresponding value, and calculating the ratio of the time point corresponding value to the abnormal total time point to obtain a time point corresponding ratio.
As a further scheme of the invention: the acquisition process of the speed abnormality time comprises the following steps:
when the bar code identification disqualification signal is obtained, the abnormal speed of the bar code object is obtained, and the corresponding time of the abnormal speed is marked as speed abnormal time.
As a further scheme of the invention: the acquisition process of the signal abnormal time comprises the following steps:
and acquiring the time generated by the signal corresponding to the data unqualified bar code acquisition image, and marking the time as signal abnormal time.
As a further scheme of the invention: the method also comprises the following steps:
Step 5: acquiring a regulating factor and a preset speed value, and outputting to obtain a speed regulating value; and feeding the obtained speed regulating value back to the object conveying equipment, and adjusting the current preset conveying speed according to the speed regulating value.
As a further scheme of the invention: the acquisition process of the regulatory factor comprises the following steps:
And obtaining the disqualified reflecting duty ratio and the disqualified reflecting duty ratio of the speed of the bar code, and carrying out weighting treatment on the disqualified reflecting duty ratio and the disqualified reflecting duty ratio of the speed of the bar code to obtain the regulating factor.
As a further scheme of the invention: the acquisition mode of the bar code disqualification reflecting duty ratio is as follows:
And carrying out mean value calculation on the data failure rate value of the bar code acquisition image and the change failure rate value of the bar code acquisition image to obtain the bar code failure reflection duty ratio.
As a further scheme of the invention: the data reject rate value of the bar code acquisition image is obtained by the following steps:
Acquiring data unqualified bar code acquisition images, counting the number of the data unqualified bar code acquisition images, and calculating the ratio of the number of the data unqualified bar code acquisition images to the total number of the bar code acquisition images to obtain the data unqualified rate of the bar code acquisition images.
As a further scheme of the invention: the acquisition process of the change failure rate value of the bar code acquisition image comprises the following steps:
counting the number of the unqualified bar code acquisition images, and calculating the ratio of the number of the unqualified bar code acquisition images to the total number of the bar code acquisition images to obtain the unqualified rate of the bar code acquisition images.
As a further scheme of the invention: the speed disqualification reflecting duty ratio is obtained by the following steps:
And calculating the ratio of the abnormal speed deviation mean value to the real-time moving speed threshold value to obtain the speed disqualification reflecting duty ratio.
As a further scheme of the invention: the acquisition process of the abnormal speed deviation mean value comprises the following steps:
Calculating the difference value between the abnormal speed and the real-time moving speed threshold value to obtain an abnormal speed deviation value, adding and summing all abnormal speed deviation values in the total duration of the speed abnormal time to obtain an average value, and obtaining an abnormal speed deviation average value;
As a further scheme of the invention: the system is used for executing the method, and comprises the following steps:
the bar code acquisition module: acquiring bar code data of a bar code acquisition image;
wherein the bar code data comprises the bar code contrast of each frame of bar code image;
And a bar code evaluation module: acquiring an identification value of a bar code acquisition image based on bar code data, and determining the quality of the bar code acquisition image;
The identification value of the bar code acquisition image is obtained by summing the data qualification rate value and the change qualification rate value;
If the identification value of the bar code acquisition image is greater than or equal to the identification threshold value of the bar code acquisition image, generating a bar code identification qualified signal;
And (3) an identification optimization module: based on the data qualified bar code acquisition image and the change qualified bar code acquisition image, determining an optimal bar code, and completing automatic identification work through a bar code identifier;
The optimal bar code determining process comprises the following steps:
extracting all the data qualified bar code acquisition images to obtain a set of the data qualified bar code acquisition images;
Extracting a change qualified bar code acquisition image from the collection of data qualified bar code acquisition images to obtain an image to be selected;
and obtaining the maximum value of the bar code contrast in the image to be selected, and marking the image to be selected as a selected image.
A storage medium having stored therein a computer software program which when executed by a processor implements the barcode auto-recognition method described above.
An electronic device, comprising:
A memory for storing a computer software program;
And the processor is used for reading and executing the computer software program so as to realize the automatic bar code identification method.
The invention has the beneficial effects that:
(1) The invention acquires bar code data of a bar code acquisition image; acquiring an identification value of a bar code acquisition image based on bar code data, and determining the quality of the bar code acquisition image; based on the data qualified bar code acquisition image and the change qualified bar code acquisition image, determining an optimal bar code, and completing automatic identification work through a bar code identifier; the invention acquires the moving image containing the bar code, analyzes and obtains the data qualification rate and the change qualification rate by utilizing the bar code data containing the bar code deformation degree and the bar code contrast, and can effectively evaluate the bar code acquisition quality, confirm the qualified bar code image, identify the bar code more and greatly improve the bar code identification quality;
(2) The method comprises the steps of acquiring a moving factor resolution value based on a bar code identification unqualified signal, judging, and generating whether an object affects the signal; because the moving speed of the bar code is too high, the scanning gun can not capture and identify the bar code in time, the influence judgment is carried out on the reflecting time dimension between the abnormal speed of the object and the unqualified bar code data, thereby effectively and accurately analyzing the influence factors, and being convenient for accurately regulating and controlling the factors with poor bar code identification efficiency according to the feedback influence factors;
(3) When the object is obtained and the signal is not influenced, a technician is arranged to perform fault inspection on the bar code acquisition equipment preferentially; when an object influence signal is obtained, a regulating factor and a preset speed value are obtained, and the speed regulating value is output; feeding the obtained speed regulation value back to object transmission equipment, and adjusting the current preset transmission speed according to the speed regulation value; based on the factors causing the difficulty in identifying the bar code, the invention analyzes the generated influence degree according to the disqualification degree of the bar code and the disqualification rate of the bar code at the current speed, and controls the transmission speed of bar code objects, so that the automatic identification effect of the bar code can be completed with high quality at a reasonable speed.
Drawings
The invention is further described below with reference to the accompanying drawings.
FIG. 1 is a block flow diagram of an automatic identification method based on bar codes provided in embodiment 1 of the present invention;
FIG. 2 is a block flow diagram of an automatic identification method based on bar codes according to embodiment 2 of the present invention;
FIG. 3 is a block flow diagram of an automatic identification method based on bar codes according to embodiment 3 of the present invention;
FIG. 4 is a system block diagram of an automatic barcode-based recognition system according to embodiment 4 of the present invention;
FIG. 5 is a system block diagram of an electronic device based on the automatic barcode recognition method provided in embodiment 5 of the present invention;
fig. 6 is a system block diagram of a storage medium based on the automatic barcode recognition method provided in embodiment 6 of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1
Referring to fig. 1, the present invention is an automatic identification method based on bar codes, which is suitable for a scene of a movable bar code (i.e. the bar code is arranged on an object, and the object moves through a conveyor belt), and comprises the following steps:
step 1: acquiring bar code data of a bar code acquisition image;
wherein the bar code data comprises bar code contrast or bar code deformability;
in some embodiments, a bar code video on each object is acquired through bar code acquisition equipment, each frame of bar code image is obtained by dividing based on the bar code video, and then the bar code contrast of each frame of bar code image is acquired;
It should be explained that: bar code contrast refers to the difference in shade between the bar color (typically black or dark) and the background color (typically white or light) in the bar code. The larger the contrast ratio is, the higher the recognition rate of the bar code is;
the bar code contrast can be calculated by measuring the reflectivity of the bar color and the background color; reflectivity refers to the ability of the surface of an object to reflect light; in a bar code, the greater the difference between the Reflectance (RL) of the bar and the Reflectance (RD) of the void, the higher the contrast;
The calculation formula of the contrast (PCS) is: pcs= (RL-RD)/rl×100%. This formula can help us quantify the degree of contrast;
In other embodiments, the barcode video on each object is acquired through the barcode acquisition device, each frame of barcode image is obtained based on the barcode video, and the barcode deformation degree of each frame of barcode image is acquired;
It should be explained that: barcode deformability refers to the difference in deformation between the bar color (typically black or dark) and the background color (typically white or light) in the barcode. The larger the bar code deformation degree is, the lower the recognition rate of the bar code is;
The calculation process of the bar code deformation degree is as follows:
Obtaining each black bar length value and width value, and standard black bar length value and width value (standard black bar length value and width value can be measured before being identified or directly acquired from bar code generation process); performing difference value calculation on the black strip length value and the standard black strip length value to obtain a black strip length deformation value, and performing difference value calculation on the black strip length value and the standard black strip width value to obtain a black strip width deformation value;
performing product calculation on the black stripe length deformation value and the black stripe width deformation value to obtain a deformation area value of each black stripe;
Obtaining the number of tangent points of each black strip, and marking the deformation point value of each black strip;
Weighting the deformation area value and the deformation point number value of each black strip to obtain the deformation degree of each black strip;
Summing the deformation degrees of all the black bars to obtain the deformation degree of the bar code;
Illustratively, the barcode acquisition device may employ a barcode scanner, a barcode acquisition device disclosed in patent number CN109598173B, or the like;
the method for weighting the deformation area value and the deformation point value of each black bar is as follows:
Marking the deformation area value and the deformation point value as Bs and Bd, and calculating the deformation degree DBH of each black bar through a formula DBH=a1×Bs+a2×Bd; a1 and a2 are weight proportion coefficients, the value of a1 is 0.61, and the value of a2 is 0.49;
Step 2: acquiring an identification value of a bar code acquisition image based on bar code data, and determining the quality of the bar code acquisition image;
In some embodiments, obtaining a data pass rate value and a change pass rate value of the barcode acquisition image from the barcode data;
Summing the data qualification rate value and the change qualification rate value to obtain an identification value of the bar code acquisition image, and comparing the identification value of the bar code acquisition image with an identification threshold of the bar code acquisition image;
If the identification value of the bar code acquisition image is greater than or equal to the identification threshold value of the bar code acquisition image, generating a bar code identification qualified signal;
If the identification value of the bar code acquisition image is smaller than the identification threshold value of the bar code acquisition image, generating a bar code identification disqualification signal;
wherein, the value range of the recognition threshold value of the bar code acquisition image is 1.6-2.0;
It should be explained that: the bar code identification qualified signal indicates that the bar code acquisition equipment has higher qualification and stability when acquiring the moving bar code, and a large number of bar codes which can be directly identified by the bar code identifier can be obtained; the unqualified bar code recognition signal indicates that the bar code acquisition equipment has lower qualification and stability when acquiring the moving bar code, so that a small number of bar codes which can be directly recognized by the bar code recognizer can be obtained;
specifically, the data qualification rate value of the bar code acquisition image is obtained by the following steps:
Acquiring data qualified bar code acquisition images, counting the number of the data qualified bar code acquisition images, and calculating the ratio of the number of the data qualified bar code acquisition images to the total number of the bar code acquisition images to obtain the data qualification rate value of the bar code acquisition images;
the method for acquiring the change qualification rate value of the bar code acquisition image comprises the following steps:
acquiring change qualified bar code acquisition images, counting the number of the change qualified bar code acquisition images, and calculating the ratio of the number of the change qualified bar code acquisition images to the total number of the bar code acquisition images to obtain the change qualified rate value of the bar code acquisition images;
illustratively, the data qualified bar code acquisition image acquisition process is:
acquiring the bar code contrast of each frame of bar code image, and comparing the bar code contrast with a bar code contrast threshold;
if the bar code contrast is larger than the bar code contrast threshold, generating a bar code contrast good signal, and marking a bar code image corresponding to the bar code contrast good signal as a data qualified bar code acquisition image;
if the bar code contrast is smaller than or equal to the bar code contrast threshold, generating a bar code contrast difference signal, and marking a bar code image corresponding to the bar code contrast difference signal as a data unqualified bar code acquisition image;
the acquisition process of the change qualified bar code acquisition image comprises the following steps:
obtaining the bar code contrast of each frame of bar code image, and performing difference value calculation with the bar code contrast of the bar code image of the adjacent frame number to obtain the bar code change contrast;
acquiring the bar code change contrast of each frame of bar code image, and comparing the bar code change contrast with a bar code change contrast threshold;
If the bar code change contrast is larger than the bar code change contrast threshold, generating a bar code change contrast difference signal, and marking a bar code image corresponding to the bar code change contrast difference signal as a change disqualified bar code acquisition image;
If the bar code change contrast is smaller than or equal to the bar code change contrast threshold, generating a bar code change contrast good signal, and marking a bar code image corresponding to the bar code change contrast good signal as a change qualified bar code acquisition image;
another exemplary process for acquiring a data qualified barcode acquisition image is:
Acquiring the bar code deformation degree of each frame of bar code image, and comparing the bar code deformation degree with a bar code deformation degree threshold;
if the bar code deformation degree is smaller than the bar code deformation degree threshold value, generating a bar code deformation degree good signal, and marking a bar code image corresponding to the bar code deformation degree good signal as a data qualified bar code acquisition image;
If the bar code deformation degree is greater than or equal to the bar code deformation degree threshold value, generating a bar code deformation degree difference signal, and marking a bar code image corresponding to the bar code deformation degree difference signal as a data unqualified bar code acquisition image;
the acquisition process of the change qualified bar code acquisition image comprises the following steps:
Obtaining the bar code deformation degree of each frame of bar code image, and carrying out difference value calculation on the bar code deformation degree of the bar code image of the adjacent frame number to obtain the bar code change deformation degree;
Acquiring the bar code change deformation degree of each frame of bar code image, and comparing the bar code change deformation degree with a bar code change deformation degree threshold;
If the bar code change deformation degree is smaller than the bar code change deformation degree threshold, generating a bar code change deformation degree difference signal, and marking a bar code image corresponding to the bar code change deformation degree difference signal as a change disqualified bar code acquisition image;
If the bar code change deformation degree is greater than or equal to the bar code change deformation degree threshold, generating a bar code change deformation degree good signal, and marking a bar code image corresponding to the bar code change deformation degree good signal as a change qualified bar code acquisition image;
step 3: based on the data qualified bar code acquisition image and the change qualified bar code acquisition image, determining an optimal bar code, and completing automatic identification work through a bar code identifier;
In some embodiments, all data-qualified barcode acquisition images are extracted to obtain a collection of data-qualified barcode acquisition images;
Extracting a change qualified bar code acquisition image from the collection of data qualified bar code acquisition images to obtain an image to be selected;
Obtaining the maximum value of the bar code contrast in the image to be selected, marking the image to be selected as a selected image, and identifying the bar code of the selected image;
In other embodiments, all of the data-qualified barcode acquisition images are extracted, resulting in a collection of data-qualified barcode acquisition images;
Extracting a change qualified bar code acquisition image from the collection of data qualified bar code acquisition images to obtain an image to be selected;
Obtaining the minimum value of the deformation degree of the bar code in the image to be selected, marking the image to be selected as a selected image, and identifying the bar code of the selected image;
The technical scheme of the embodiment of the invention comprises the following steps: acquiring bar code data of a bar code acquisition image; acquiring an identification value of a bar code acquisition image based on bar code data, and determining the quality of the bar code acquisition image; based on the data qualified bar code acquisition image and the change qualified bar code acquisition image, determining an optimal bar code, and completing automatic identification work through a bar code identifier; the invention acquires the moving image containing the bar code, analyzes and obtains the data qualification rate and the change qualification rate by utilizing the bar code data containing the bar code deformation degree and the bar code contrast, and can effectively evaluate the bar code acquisition quality, confirm the qualified bar code image, identify the bar code more and greatly improve the bar code identification quality.
Example 2
Referring to fig. 2, the present invention is an automatic barcode-based identification method, which is suitable for a scene of a movable barcode (i.e. the barcode is disposed on an object, and the object moves through a conveyor belt), and further includes the following steps:
step 4: based on the unqualified signals of bar code recognition, acquiring a moving factor resolution value, judging, and generating whether an object affects the signals;
wherein, whether the object influence signal comprises an object influence signal or an object non-influence signal;
In some embodiments, when a bar code identification failure signal is obtained, obtaining the abnormal speed of the bar code object, and marking the time corresponding to the abnormal speed as speed abnormal time;
Acquiring time generated by a signal corresponding to the data unqualified bar code acquisition image, and marking the time as signal abnormal time;
Analyzing the speed abnormal time and the signal abnormal time to obtain a moving factor resolution value;
comparing the mobile factor resolution value with a mobile factor resolution threshold;
if the moving factor resolution value is smaller than the moving factor resolution threshold value, generating an object influence signal;
If the moving factor resolution value is greater than or equal to the moving factor resolution threshold, generating an object no-influence signal;
It should be explained that: the object influence signal indicates that the abnormality of the object movement and the abnormality of the bar code data have larger overlapping property in time, and the object movement greatly influences the acquisition of the qualification of the bar code data; the object does not influence the signal to indicate that the abnormality of the movement of the object and the abnormality of the bar code data have smaller overlapping property in time, and the movement of the object has smaller influence on the acquisition of the qualification of the bar code data;
the process for acquiring the abnormal speed of the bar code object comprises the following steps:
acquiring the real-time moving speed of the bar code object in the bar code acquisition time, and comparing the real-time moving speed with a real-time moving speed threshold;
if the real-time moving speed is greater than or equal to the real-time moving speed threshold, generating a speed abnormal signal, and marking the real-time moving speed as an abnormal speed;
if the real-time moving speed is smaller than the real-time moving speed threshold, generating a speed normal signal, and marking the real-time moving speed as a normal speed;
illustratively, the speed anomaly time and the signal anomaly time are analyzed as follows:
Acquiring the total duration of the speed abnormal time and the total duration of the signal abnormal time, performing difference calculation on the total duration of the speed abnormal time and the total duration of the signal abnormal time to obtain a duration corresponding value, and performing ratio calculation on the duration corresponding value and the abnormal total duration (the abnormal total duration is the sum of the total duration of the speed abnormal time and the total duration of the signal abnormal time) to obtain a duration corresponding ratio;
Acquiring each time point of the speed abnormal time and each time point of the signal abnormal time, extracting the number of non-coincident points of each time point of the speed abnormal time and each time point of the signal abnormal time to obtain a time point corresponding value, and calculating the ratio of the time point corresponding value to the number of abnormal total time points (the total abnormal time point is the sum of the number of time points of the speed abnormal time and the time point of the signal abnormal time) to obtain a time point corresponding ratio;
Summing the time length corresponding ratio and the time point corresponding ratio, and calculating to obtain a moving factor resolution value;
The technical scheme of the embodiment of the invention comprises the following steps: based on the unqualified signals of bar code recognition, acquiring a moving factor resolution value, judging, and generating whether an object affects the signals; because the moving speed of the bar code is too high, the scanning gun can not capture and identify the bar code in time, the influence judgment is carried out on the reflecting time dimension between the abnormal speed of the object and the unqualified bar code data, thereby effectively and accurately analyzing the influence factors, and being convenient for accurately regulating and controlling the factors with poor bar code identification efficiency according to the feedback influence factors.
Example 3
Referring to fig. 3, the present invention is an automatic barcode-based identification method, which is suitable for a scene of a movable barcode (i.e. the barcode is disposed on an object, and the object moves through a conveyor belt), and further includes the following steps:
step 5: based on whether the feedback object affects the signal, completing processing work of unqualified recognition of the corresponding bar code;
in some embodiments, when the object is obtained without affecting the signal, the technician is arranged to preferentially perform fault checking on the bar code acquisition device;
when an object influence signal is obtained, a regulating factor and a preset speed value are obtained, and the speed regulating value is output; feeding the obtained speed regulation value back to object transmission equipment, and adjusting the current preset transmission speed according to the speed regulation value;
Specifically, the regulatory factor is obtained by the following steps:
Obtaining a bar code disqualification reflecting duty ratio and a speed disqualification reflecting duty ratio, and carrying out weighting treatment on the bar code disqualification reflecting duty ratio and the speed disqualification reflecting duty ratio to obtain a regulating factor;
Further, the bar code disqualification reflecting duty ratio is obtained by the following steps:
acquiring data unqualified bar code acquisition images, counting the number of the data unqualified bar code acquisition images, and calculating the ratio of the number of the data unqualified bar code acquisition images to the total number of the bar code acquisition images to obtain the data unqualified rate of the bar code acquisition images;
acquiring a change disqualified bar code acquisition image, counting the number of the change disqualified bar code acquisition images, and calculating the ratio of the number of the change disqualified bar code acquisition images to the total number of the bar code acquisition images to obtain a change disqualified rate value of the bar code acquisition images;
Performing average value calculation on the data failure rate value of the bar code acquisition image and the change failure rate value of the bar code acquisition image to obtain a bar code failure reflection duty ratio;
The speed disqualification reflecting duty ratio is obtained by the following steps:
Acquiring the total duration and the abnormal speed of the speed abnormal time, performing difference calculation on the abnormal speed and a real-time moving speed threshold value to obtain an abnormal speed deviation value, adding and summing all abnormal speed deviation values in the total duration of the speed abnormal time to obtain an average value of abnormal speed deviation;
Calculating the ratio of the abnormal speed deviation mean value to the real-time moving speed threshold value to obtain the speed disqualification reflection duty ratio;
Illustratively, the weighting processing manner of the bar code disqualification reflecting duty ratio and the speed disqualification reflecting duty ratio is as follows:
Marking the bar code disqualification reflecting duty ratio and the speed disqualification reflecting duty ratio as BBt and BBv, and calculating to obtain a regulating factor KT through a formula KT=b1× BBt +b2× BBv, wherein b1 and b2 are weight proportion coefficients, b1 takes a value of 0.34, and b2 takes a value of 0.66;
The scheme of the embodiment of the invention comprises the following steps: when the object is obtained and the signal is not influenced, arranging technicians to perform fault inspection on the bar code acquisition equipment preferentially; when an object influence signal is obtained, a regulating factor and a preset speed value are obtained, and the speed regulating value is output; feeding the obtained speed regulation value back to object transmission equipment, and adjusting the current preset transmission speed according to the speed regulation value; based on the factors causing the difficulty in identifying the bar code, the invention analyzes the generated influence degree according to the disqualification degree of the bar code and the disqualification rate of the bar code at the current speed, and controls the transmission speed of bar code objects, so that the automatic identification effect of the bar code can be completed with high quality at a reasonable speed.
Example 4
Referring to fig. 4, the present invention is an automatic barcode-based recognition system, comprising:
the bar code acquisition module: acquiring bar code data of a bar code acquisition image;
in some embodiments, the bar code video on each object is acquired through bar code acquisition equipment, each frame of bar code image is obtained based on the division of the bar code video, and then the bar code contrast of each frame of bar code image is acquired;
In other embodiments, the barcode video on each object is acquired through the barcode acquisition device, each frame of barcode image is obtained based on the barcode video, and the barcode deformation degree of each frame of barcode image is acquired;
And a bar code evaluation module: acquiring an identification value of a bar code acquisition image based on bar code data, and determining the quality of the bar code acquisition image;
Wherein, in some embodiments, the data qualification rate and the change qualification rate of the barcode acquisition image are obtained according to the barcode data;
Summing the data qualification rate value and the change qualification rate value to obtain an identification value of the bar code acquisition image, and comparing the identification value of the bar code acquisition image with an identification threshold of the bar code acquisition image;
If the identification value of the bar code acquisition image is greater than or equal to the identification threshold value of the bar code acquisition image, generating a bar code identification qualified signal;
If the identification value of the bar code acquisition image is smaller than the identification threshold value of the bar code acquisition image, generating a bar code identification disqualification signal;
wherein, the value range of the recognition threshold value of the bar code acquisition image is 1.6-2.0;
specifically, the data qualification rate value of the bar code acquisition image is obtained by the following steps:
Acquiring data qualified bar code acquisition images, counting the number of the data qualified bar code acquisition images, and calculating the ratio of the number of the data qualified bar code acquisition images to the total number of the bar code acquisition images to obtain the data qualification rate value of the bar code acquisition images;
the method for acquiring the change qualification rate value of the bar code acquisition image comprises the following steps:
acquiring change qualified bar code acquisition images, counting the number of the change qualified bar code acquisition images, and calculating the ratio of the number of the change qualified bar code acquisition images to the total number of the bar code acquisition images to obtain the change qualified rate value of the bar code acquisition images;
And (3) an identification optimization module: based on the data qualified bar code acquisition image and the change qualified bar code acquisition image, determining an optimal bar code, and completing automatic identification work through a bar code identifier;
The optimal bar code determining process comprises the following steps:
extracting all the data qualified bar code acquisition images to obtain a set of the data qualified bar code acquisition images;
Extracting a change qualified bar code acquisition image from the collection of data qualified bar code acquisition images to obtain an image to be selected;
Obtaining the maximum value of the bar code contrast in the image to be selected, and marking the image to be selected as a selected image;
Factor resolution module: when a bar code identification disqualification signal is obtained, obtaining the abnormal speed of a bar code object, and marking the corresponding time of the abnormal speed as speed abnormal time;
Acquiring time generated by a signal corresponding to the data unqualified bar code acquisition image, and marking the time as signal abnormal time;
Analyzing the speed abnormal time and the signal abnormal time to obtain a moving factor resolution value;
comparing the mobile factor resolution value with a mobile factor resolution threshold;
If the moving factor resolution value is greater than or equal to the moving factor resolution threshold, generating an object influence signal;
If the moving factor resolution value is smaller than the moving factor resolution threshold value, generating an object no-influence signal;
the process for acquiring the abnormal speed of the bar code object comprises the following steps:
acquiring the real-time moving speed of the bar code object in the bar code acquisition time, and comparing the real-time moving speed with a real-time moving speed threshold;
if the real-time moving speed is greater than or equal to the real-time moving speed threshold, generating a speed abnormal signal, and marking the real-time moving speed as an abnormal speed;
if the real-time moving speed is smaller than the real-time moving speed threshold, generating a speed normal signal, and marking the real-time moving speed as a normal speed;
illustratively, the speed anomaly time and the signal anomaly time are analyzed as follows:
Acquiring the total duration of the speed abnormal time and the total duration of the signal abnormal time, performing difference calculation on the total duration of the speed abnormal time and the total duration of the signal abnormal time to obtain a duration corresponding value, and performing ratio calculation on the duration corresponding value and the abnormal total duration (the abnormal total duration is the sum of the total duration of the speed abnormal time and the total duration of the signal abnormal time) to obtain a duration corresponding ratio;
Acquiring each time point of the speed abnormal time and each time point of the signal abnormal time, extracting non-coincident points of each time point of the speed abnormal time and each time point of the signal abnormal time to obtain a time point corresponding value, and calculating a ratio of the time point corresponding value to an abnormal total time point (the abnormal total time point is the sum of each time point of the speed abnormal time and each time point of the signal abnormal time) to obtain a time point corresponding ratio;
Summing the time length corresponding ratio and the time point corresponding ratio, and calculating to obtain a moving factor resolution value;
And the automatic control module is used for: when the object is obtained and the signal is not influenced, arranging technicians to perform fault inspection on the bar code acquisition equipment preferentially;
when an object influence signal is obtained, a regulating factor and a preset speed value are obtained, and the speed regulating value is output; feeding the obtained speed regulation value back to object transmission equipment, and adjusting the current preset transmission speed according to the speed regulation value;
Specifically, the regulatory factor is obtained by the following steps:
Obtaining a bar code disqualification reflecting duty ratio and a speed disqualification reflecting duty ratio, and carrying out weighting treatment on the bar code disqualification reflecting duty ratio and the speed disqualification reflecting duty ratio to obtain a regulating factor;
Further, the bar code disqualification reflecting duty ratio is obtained by the following steps:
acquiring data unqualified bar code acquisition images, counting the number of the data unqualified bar code acquisition images, and calculating the ratio of the number of the data unqualified bar code acquisition images to the total number of the bar code acquisition images to obtain the data unqualified rate of the bar code acquisition images;
acquiring a change disqualified bar code acquisition image, counting the number of the change disqualified bar code acquisition images, and calculating the ratio of the number of the change disqualified bar code acquisition images to the total number of the bar code acquisition images to obtain a change disqualified rate value of the bar code acquisition images;
Performing average value calculation on the data failure rate value of the bar code acquisition image and the change failure rate value of the bar code acquisition image to obtain a bar code failure reflection duty ratio;
The speed disqualification reflecting duty ratio is obtained by the following steps:
Acquiring the total duration and the abnormal speed of the speed abnormal time, performing difference calculation on the abnormal speed and a real-time moving speed threshold value to obtain an abnormal speed deviation value, adding and summing all abnormal speed deviation values in the total duration of the speed abnormal time to obtain an average value of abnormal speed deviation;
And calculating the ratio of the abnormal speed deviation mean value to the real-time moving speed threshold value to obtain the speed disqualification reflecting duty ratio.
Example 5
Referring to fig. 5, fig. 5 is a schematic diagram of an embodiment of an electronic device according to an embodiment of the invention. As shown in fig. 5, an embodiment of the present invention provides an electronic device 500, including a memory 510, a processor 520, and a computer program 511 stored in the memory 510 and executable on the processor 520, wherein the processor 520 executes the computer program 511 to implement the following steps:
step 1: acquiring bar code data of a bar code acquisition image;
wherein the bar code data comprises the bar code contrast of each frame of bar code image;
Step 2: acquiring an identification value of a bar code acquisition image based on bar code data, and determining the quality of the bar code acquisition image;
The identification value of the bar code acquisition image is obtained by summing the data qualification rate value and the change qualification rate value;
If the identification value of the bar code acquisition image is greater than or equal to the identification threshold value of the bar code acquisition image, generating a bar code identification qualified signal;
step 3: based on the data qualified bar code acquisition image and the change qualified bar code acquisition image, determining an optimal bar code, and completing automatic identification work through a bar code identifier;
The optimal bar code determining process comprises the following steps:
extracting all the data qualified bar code acquisition images to obtain a set of the data qualified bar code acquisition images;
Extracting a change qualified bar code acquisition image from the collection of data qualified bar code acquisition images to obtain an image to be selected;
Obtaining the maximum value of the bar code contrast in the image to be selected, and marking the image to be selected as a selected image;
step 4: based on the unqualified signals of bar code recognition, acquiring a moving factor resolution value, judging, and generating whether an object affects the signals;
The method comprises the steps of analyzing speed abnormal time and signal abnormal time to obtain a moving factor resolution value;
If the moving factor resolution value is greater than or equal to the moving factor resolution threshold, generating an object influence signal;
Step 5: acquiring a regulating factor and a preset speed value, and outputting to obtain a speed regulating value; and feeding the obtained speed regulating value back to the object conveying equipment, and adjusting the current preset conveying speed according to the speed regulating value.
Example 6
Referring to fig. 6, fig. 6 is a schematic diagram of an embodiment of a computer readable storage medium according to an embodiment of the invention. As shown in fig. 6, the present embodiment provides a computer-readable storage medium 600 having stored thereon a computer program 611, which computer program 611 when executed by a processor implements the steps of:
step 1: acquiring bar code data of a bar code acquisition image;
wherein the bar code data comprises the bar code contrast of each frame of bar code image;
Step 2: acquiring an identification value of a bar code acquisition image based on bar code data, and determining the quality of the bar code acquisition image;
the identification value of the bar code acquisition image is obtained by summing the data qualification rate value and the change qualification rate value;
If the identification value of the bar code acquisition image is greater than or equal to the identification threshold value of the bar code acquisition image, generating a bar code identification qualified signal;
step 3: based on the data qualified bar code acquisition image and the change qualified bar code acquisition image, determining an optimal bar code, and completing automatic identification work through a bar code identifier;
The optimal bar code determining process comprises the following steps:
extracting all the data qualified bar code acquisition images to obtain a set of the data qualified bar code acquisition images;
Extracting a change qualified bar code acquisition image from the collection of data qualified bar code acquisition images to obtain an image to be selected;
Obtaining the maximum value of the bar code contrast in the image to be selected, and marking the image to be selected as a selected image;
step 4: based on the unqualified signals of bar code recognition, acquiring a moving factor resolution value, judging, and generating whether an object affects the signals;
The method comprises the steps of analyzing speed abnormal time and signal abnormal time to obtain a moving factor resolution value;
If the moving factor resolution value is greater than or equal to the moving factor resolution threshold, generating an object influence signal;
Step 5: acquiring a regulating factor and a preset speed value, and outputting to obtain a speed regulating value; and feeding the obtained speed regulating value back to the object conveying equipment, and adjusting the current preset conveying speed according to the speed regulating value.
In the foregoing embodiments, the descriptions of the embodiments are focused on, and for those portions of one embodiment that are not described in detail, reference may be made to the related descriptions of other embodiments.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
The foregoing describes one embodiment of the present invention in detail, but the description is only a preferred embodiment of the present invention and should not be construed as limiting the scope of the invention. All equivalent changes and modifications within the scope of the present invention are intended to be covered by the present invention.

Claims (21)

1. The automatic identification method based on the bar code is characterized by comprising the following steps of:
step 1: acquiring bar code data of a bar code acquisition image;
wherein the bar code data comprises the bar code contrast of each frame of bar code image;
Step 2: acquiring an identification value of a bar code acquisition image based on bar code data, and determining the quality of the bar code acquisition image;
the identification value of the bar code acquisition image is obtained by summing the data qualification rate value and the change qualification rate value;
If the identification value of the bar code acquisition image is greater than or equal to the identification threshold value of the bar code acquisition image, generating a bar code identification qualified signal;
If the identification value of the bar code acquisition image is smaller than the identification threshold value of the bar code acquisition image, generating a bar code identification disqualification signal;
step 3: based on the data qualified bar code acquisition image and the change qualified bar code acquisition image, determining an optimal bar code, and completing automatic identification work through a bar code identifier;
The optimal bar code determining process comprises the following steps:
extracting all the data qualified bar code acquisition images to obtain a set of the data qualified bar code acquisition images;
Extracting a change qualified bar code acquisition image from the collection of data qualified bar code acquisition images to obtain an image to be selected;
and obtaining the maximum value of the bar code contrast in the image to be selected, and marking the image to be selected as a selected image.
2. The automatic identification method based on bar code according to claim 1, wherein in step 2, the data qualification rate of the bar code collected image is obtained by:
counting the number of the data qualified bar code acquisition images, and calculating the ratio of the number of the data qualified bar code acquisition images to the total number of the bar code acquisition images to obtain the data qualification rate value of the bar code acquisition images.
3. The automatic identification method based on the bar code according to claim 2, wherein the obtaining mode of the rate of change of the bar code collected image is as follows:
Counting the number of the change qualified bar code acquisition images, and calculating the ratio of the number of the change qualified bar code acquisition images to the total number of the bar code acquisition images to obtain the change qualified rate value of the bar code acquisition images.
4. The automatic identification method based on bar code according to claim 3, wherein the acquisition process of the data qualified bar code acquired image is as follows:
Acquiring the bar code contrast of each frame of bar code image, if the bar code contrast is larger than the bar code contrast threshold, generating a bar code contrast good signal, and marking the bar code image corresponding to the bar code contrast good signal as a data qualified bar code acquisition image;
if the bar code contrast is smaller than or equal to the bar code contrast threshold, generating a bar code contrast difference signal, and marking a bar code image corresponding to the bar code contrast difference signal as a data unqualified bar code acquisition image.
5. The automatic identification method based on bar code according to claim 4, wherein the acquisition process of the acquired image of the qualified bar code is:
obtaining the bar code contrast of each frame of bar code image, and performing difference value calculation with the bar code contrast of the bar code image of the adjacent frame number to obtain the bar code change contrast;
if the bar code change contrast is smaller than or equal to the bar code change contrast threshold, generating a bar code change contrast good signal, and marking a bar code image corresponding to the bar code change contrast good signal as a change qualified bar code acquisition image.
6. The automatic bar code based identification method of claim 5, further comprising the steps of:
step 4: based on the unqualified signals of bar code identification, acquiring a moving factor resolution value, and judging to generate object influence signals or object non-influence signals;
The method comprises the steps of analyzing speed abnormal time and signal abnormal time to obtain a moving factor resolution value;
and if the moving factor resolution value is smaller than the moving factor resolution threshold value, generating an object influence signal.
7. The automatic bar code based identification method of claim 6, wherein the moving factor resolution value is calculated by summing the time length correspondence ratio and the time point correspondence ratio.
8. The automatic identification method based on bar code according to claim 7, wherein the obtaining process of the duration correspondence ratio is:
and calculating the difference value between the total duration of the speed abnormal time and the total duration of the signal abnormal time to obtain a duration corresponding value, and calculating the ratio of the duration corresponding value to the abnormal total duration to obtain a duration corresponding ratio.
9. The automatic identification method based on bar code according to claim 8, wherein the obtaining process of the time point correspondence ratio is:
Acquiring each time point of the speed abnormal time and each time point of the signal abnormal time, extracting the number of non-coincident points of each time point of the speed abnormal time and each time point of the signal abnormal time to obtain a time point corresponding value, and calculating the ratio of the time point corresponding value to the abnormal total time point to obtain a time point corresponding ratio.
10. The automatic bar code-based identification method as claimed in claim 9, wherein the speed anomaly time obtaining process is as follows:
when the bar code identification disqualification signal is obtained, the abnormal speed of the bar code object is obtained, and the corresponding time of the abnormal speed is marked as speed abnormal time.
11. The automatic identification method based on bar code as claimed in claim 10, wherein the signal abnormal time obtaining process is as follows:
and acquiring the time generated by the signal corresponding to the data unqualified bar code acquisition image, and marking the time as signal abnormal time.
12. The automatic bar code based identification method of claim 6, further comprising the steps of:
Step 5: acquiring a regulating factor and a preset speed value, and outputting to obtain a speed regulating value; and feeding the obtained speed regulating value back to the object conveying equipment, and adjusting the current preset conveying speed according to the speed regulating value.
13. The automatic identification method based on bar code of claim 12, wherein the process of obtaining the regulatory factor is:
And obtaining the disqualified reflecting duty ratio and the disqualified reflecting duty ratio of the speed of the bar code, and carrying out weighting treatment on the disqualified reflecting duty ratio and the disqualified reflecting duty ratio of the speed of the bar code to obtain the regulating factor.
14. The automatic identification method based on bar code according to claim 13, wherein the obtaining mode of the bar code disqualification reflecting duty ratio is:
And carrying out mean value calculation on the data failure rate value of the bar code acquisition image and the change failure rate value of the bar code acquisition image to obtain the bar code failure reflection duty ratio.
15. The automatic identification method based on the bar code according to claim 14, wherein the acquiring process of the data failure rate value of the bar code acquired image is as follows:
Acquiring data unqualified bar code acquisition images, counting the number of the data unqualified bar code acquisition images, and calculating the ratio of the number of the data unqualified bar code acquisition images to the total number of the bar code acquisition images to obtain the data unqualified rate of the bar code acquisition images.
16. The automatic identification method based on bar code of claim 15, wherein the obtaining process of the change failure rate value of the bar code collected image is:
counting the number of the unqualified bar code acquisition images, and calculating the ratio of the number of the unqualified bar code acquisition images to the total number of the bar code acquisition images to obtain the unqualified rate of the bar code acquisition images.
17. The automatic bar code based identification method of claim 16, wherein the speed failure reflection duty ratio is obtained by:
And calculating the ratio of the abnormal speed deviation mean value to the real-time moving speed threshold value to obtain the speed disqualification reflecting duty ratio.
18. The automatic identification method based on bar code as claimed in claim 17, wherein the process of obtaining the average value of the abnormal speed deviation is:
And carrying out difference calculation on the abnormal speed and the real-time moving speed threshold value to obtain an abnormal speed deviation value, adding and summing all the abnormal speed deviation values in the total duration of the speed abnormal time to obtain an average value, and obtaining an abnormal speed deviation average value.
19. An automatic barcode-based recognition system for performing the method of any one of the preceding claims 1-18, the system comprising:
the bar code acquisition module: acquiring bar code data of a bar code acquisition image;
wherein the bar code data comprises the bar code contrast of each frame of bar code image;
And a bar code evaluation module: acquiring an identification value of a bar code acquisition image based on bar code data, and determining the quality of the bar code acquisition image;
The identification value of the bar code acquisition image is obtained by summing the data qualification rate value and the change qualification rate value;
If the identification value of the bar code acquisition image is greater than or equal to the identification threshold value of the bar code acquisition image, generating a bar code identification qualified signal;
And (3) an identification optimization module: based on the data qualified bar code acquisition image and the change qualified bar code acquisition image, determining an optimal bar code, and completing automatic identification work through a bar code identifier;
The optimal bar code determining process comprises the following steps:
extracting all the data qualified bar code acquisition images to obtain a set of the data qualified bar code acquisition images;
Extracting a change qualified bar code acquisition image from the collection of data qualified bar code acquisition images to obtain an image to be selected;
and obtaining the maximum value of the bar code contrast in the image to be selected, and marking the image to be selected as a selected image.
20. A storage medium having stored therein a computer software program which when executed by a processor implements the barcode auto-recognition method of any one of claims 1-18.
21. An electronic device, comprising:
A memory for storing a computer software program;
A processor for reading and executing the computer software program to implement the automatic barcode recognition method of any one of claims 1-18.
CN202410813462.9A 2024-06-24 Automatic bar code identification method, system, storage medium and electronic equipment Active CN118396009B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410813462.9A CN118396009B (en) 2024-06-24 Automatic bar code identification method, system, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410813462.9A CN118396009B (en) 2024-06-24 Automatic bar code identification method, system, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN118396009A true CN118396009A (en) 2024-07-26
CN118396009B CN118396009B (en) 2024-10-29

Family

ID=

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040118916A1 (en) * 2002-12-18 2004-06-24 Duanfeng He System and method for verifying RFID reads
US20160034913A1 (en) * 2014-07-30 2016-02-04 Hewlett-Packard Development Company, L.P. Selection of a frame for authentication
US11003874B1 (en) * 2019-11-12 2021-05-11 Zebra Technologies Corporation Devices and methods for reading picklists
CN116432677A (en) * 2023-06-12 2023-07-14 北京紫光青藤微系统有限公司 Method and device for identifying bar code, controller and bar code identification terminal
CN116796771A (en) * 2023-06-30 2023-09-22 京东方科技集团股份有限公司 Bar code symbol detection and acquisition method, bar code symbol detection system and related equipment
CN117540762A (en) * 2023-11-27 2024-02-09 南京汇川图像视觉技术有限公司 Bar code identification method, device, equipment and readable storage medium
CN118013990A (en) * 2024-01-18 2024-05-10 西安富立叶微电子有限责任公司 Code scanning method, system, device and medium for industrial DPM bar code self-learning contrast

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040118916A1 (en) * 2002-12-18 2004-06-24 Duanfeng He System and method for verifying RFID reads
US20160034913A1 (en) * 2014-07-30 2016-02-04 Hewlett-Packard Development Company, L.P. Selection of a frame for authentication
US11003874B1 (en) * 2019-11-12 2021-05-11 Zebra Technologies Corporation Devices and methods for reading picklists
CN116432677A (en) * 2023-06-12 2023-07-14 北京紫光青藤微系统有限公司 Method and device for identifying bar code, controller and bar code identification terminal
CN116796771A (en) * 2023-06-30 2023-09-22 京东方科技集团股份有限公司 Bar code symbol detection and acquisition method, bar code symbol detection system and related equipment
CN117540762A (en) * 2023-11-27 2024-02-09 南京汇川图像视觉技术有限公司 Bar code identification method, device, equipment and readable storage medium
CN118013990A (en) * 2024-01-18 2024-05-10 西安富立叶微电子有限责任公司 Code scanning method, system, device and medium for industrial DPM bar code self-learning contrast

Similar Documents

Publication Publication Date Title
CN106127779B (en) The defect inspection method and system of view-based access control model identification
US20170004612A1 (en) Optical film defect detection method and system thereof
US20210344892A1 (en) Method and system for determining optimal exposure time and number of exposures in structured light-based 3d camera
US6918539B2 (en) Method of and device for reading optical data code
US20070285537A1 (en) Image quality analysis with test pattern
CN111815555A (en) Metal additive manufacturing image detection method and device combining anti-neural network with local binary
CN117358615B (en) Automatic code-spraying printing defect detection method and system
CN117089977B (en) Dynamic monitoring method, system and medium for grey cloth production
US20240131619A1 (en) Method for monitoring a laser machining process on workpieces
CN114140385A (en) Printed circuit board defect detection method and system based on deep learning
CN117711295A (en) Display module control method, device, chip and medium based on artificial intelligence
CN111738026A (en) System and method for evaluating symbols
CN118396009B (en) Automatic bar code identification method, system, storage medium and electronic equipment
JP2010071826A (en) Teacher data preparation method, and image sorting method and image sorter
CN118396009A (en) Automatic bar code identification method, system, storage medium and electronic equipment
CN116758060B (en) Vertical basket of flowers visual detection system of battery piece
CN114330404B (en) Two-dimensional code imprinting effect verification method, system and storage medium
US8403221B2 (en) Method and apparatus for reading barcode information
CN113267506A (en) Wood board AI visual defect detection device, method, equipment and medium
CN109952502A (en) For tuning the susceptibility of modulated chip and determining system, method and the non-transitory computer-readable media of the process window for modulated chip
CN116934745B (en) Quality detection method and detection system for electronic component plugging clip
CN217332186U (en) Plank AI visual defect detection device
CN116523882B (en) Vision-based optical target area accuracy detection method and system
CN117593301B (en) Machine vision-based memory bank damage rapid detection method and system
CN114029723B (en) High-precision assembling method for assembling manipulator based on multi-source sensing

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