CN116484891B - Method for checking two-dimensional code and character code error code on surface of workpiece after electrophoresis - Google Patents

Method for checking two-dimensional code and character code error code on surface of workpiece after electrophoresis Download PDF

Info

Publication number
CN116484891B
CN116484891B CN202310405053.0A CN202310405053A CN116484891B CN 116484891 B CN116484891 B CN 116484891B CN 202310405053 A CN202310405053 A CN 202310405053A CN 116484891 B CN116484891 B CN 116484891B
Authority
CN
China
Prior art keywords
lamp
character code
code
adjusting
identification object
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.)
Active
Application number
CN202310405053.0A
Other languages
Chinese (zh)
Other versions
CN116484891A (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.)
Duzhun Robot Intelligent Technology Suzhou Co ltd
Original Assignee
Duzhun Robot Intelligent Technology Suzhou 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 Duzhun Robot Intelligent Technology Suzhou Co ltd filed Critical Duzhun Robot Intelligent Technology Suzhou Co ltd
Priority to CN202310405053.0A priority Critical patent/CN116484891B/en
Publication of CN116484891A publication Critical patent/CN116484891A/en
Application granted granted Critical
Publication of CN116484891B publication Critical patent/CN116484891B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F21LIGHTING
    • F21VFUNCTIONAL FEATURES OR DETAILS OF LIGHTING DEVICES OR SYSTEMS THEREOF; STRUCTURAL COMBINATIONS OF LIGHTING DEVICES WITH OTHER ARTICLES, NOT OTHERWISE PROVIDED FOR
    • F21V33/00Structural combinations of lighting devices with other articles, not otherwise provided for
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F21LIGHTING
    • F21VFUNCTIONAL FEATURES OR DETAILS OF LIGHTING DEVICES OR SYSTEMS THEREOF; STRUCTURAL COMBINATIONS OF LIGHTING DEVICES WITH OTHER ARTICLES, NOT OTHERWISE PROVIDED FOR
    • F21V21/00Supporting, suspending, or attaching arrangements for lighting devices; Hand grips
    • F21V21/14Adjustable mountings
    • F21V21/15Adjustable mountings specially adapted for power operation, e.g. by remote control
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F21LIGHTING
    • F21VFUNCTIONAL FEATURES OR DETAILS OF LIGHTING DEVICES OR SYSTEMS THEREOF; STRUCTURAL COMBINATIONS OF LIGHTING DEVICES WITH OTHER ARTICLES, NOT OTHERWISE PROVIDED FOR
    • F21V23/00Arrangement of electric circuit elements in or on lighting devices
    • F21V23/04Arrangement of electric circuit elements in or on lighting devices the elements being switches
    • F21V23/0442Arrangement of electric circuit elements in or on lighting devices the elements being switches activated by means of a sensor, e.g. motion or photodetectors
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B15/00Special procedures for taking photographs; Apparatus therefor
    • G03B15/02Illuminating scene
    • 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
    • G06K7/14172D bar codes
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/146Methods for optical code recognition the method including quality enhancement steps
    • G06K7/1465Methods for optical code recognition the method including quality enhancement steps using several successive scans of the optical code
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/165Controlling the light source following a pre-assigned programmed sequence; Logic control [LC]
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/17Operational modes, e.g. switching from manual to automatic mode or prohibiting specific operations
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

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

Abstract

The invention discloses a method for checking two-dimensional codes and character code error codes on the surface of a workpiece after electrophoresis, which comprises the following steps: s01, receiving distance detection data, and adjusting a light mode according to the distance detection data; s02: receiving an association relation aiming at a two-dimensional code and a character code in an image, and defining an identification object according to the association relation; s03: detecting the integrity of the identification object in the image, if the identification object is complete, identifying the identification object, if the identification object is incomplete, adjusting the lamp until the identification object is complete, and then identifying the identification object; s04: and comparing the two-dimensional code recognition result and the character code recognition result in the same recognition object, and if the two-dimensional code recognition result and the character code recognition result are different, sending out warning information. Compared with the prior art, the method and the device can accurately identify the two-dimensional code and the character code on the surface of the workpiece after electrophoresis, and can also realize the checking of the error code.

Description

Method for checking two-dimensional code and character code error code on surface of workpiece after electrophoresis
Technical Field
The invention relates to the technical field of information identification, in particular to a method for checking two-dimensional codes and character code error codes on the surface of a workpiece after electrophoresis.
Background
Many work pieces in the field of new energy vehicles are used for bearing, connecting a power battery or closely contacting with the battery, so that the surfaces of the work pieces are required to be subjected to electrophoresis treatment, the work pieces are prevented from being corroded by power battery leakage or broken down under extreme conditions, serious vehicle safety accidents are caused, the work pieces are integrally blackened after electrophoresis treatment, laser-engraved two-dimensional codes and character codes are black, the work pieces are mixed into a whole after electrophoresis, human eyes are hard to distinguish and can only be barely identified from special angles, the two-dimensional codes are also caused to be engraved by electrophoresis treatment, if the two-dimensional codes are not good in engraving effect, the two-dimensional codes are difficult to identify after electrophoresis treatment, and a common code scanning gun or palm computer (PDA) on the market is used, if a plurality of laser-engraved two-dimensional codes or character codes are in fault in the production process, the phenomenon of engraving the two-dimensional codes or the character codes is caused, if the repeated codes and the fault codes cannot be arranged, and serious influence is caused to the quality tracing of the production management and the subsequent vehicles. In view of this, the inventors of the present application have conducted intensive studies to obtain a method for checking two-dimensional codes and character code error codes on the surface of a workpiece after electrophoresis.
Disclosure of Invention
The invention aims to provide an error code checking method aiming at a two-dimensional code and a character code on the surface of a workpiece after electrophoresis, which can accurately identify the two-dimensional code and the character code on the surface of the workpiece after electrophoresis and check the error code.
The technical aim of the invention is realized by the following technical scheme:
a method for checking two-dimensional codes and character code error codes on the surface of an electrophoresed workpiece comprises the following steps:
s01, receiving distance detection data, and adjusting a light mode according to the distance detection data;
s02: receiving an association relation aiming at a two-dimensional code and a character code in an image, and defining an identification object according to the association relation;
s03: detecting the integrity of the identification object in the image, if the identification object is complete, identifying the identification object, if the identification object is incomplete, adjusting the lamp until the identification object is complete, and then identifying the identification object;
the adjusting process of the lamp comprises the following steps: detecting a missing area in the identification object, sequentially adjusting the brightness of lamps or lamp groups in the lamp according to a preset scheme, detecting whether the size of the missing area is changed, and if so, adjusting the irradiation direction of the lamps or the lamp groups until the missing area is not changed due to the change of the direction; or detecting the missing area in the identification object, sequentially adjusting the irradiation directions of the lamps or the lamp groups in the lamp according to a preset scheme, detecting whether the positions of the missing areas are changed, and if so, adjusting the irradiation directions of the lamps or the lamp groups until the missing areas are not changed due to the change of the directions;
s04: and comparing the two-dimensional code recognition result and the character code recognition result in the same recognition object, and if the two-dimensional code recognition result and the character code recognition result are different, sending out warning information.
In a preferred embodiment, the process of receiving the association relation for the two-dimensional code and the character code in the image comprises the following steps: and receiving the frame selection position, the frame selection size and the frame selection direction, generating a selected frame according to the frame selection position, the frame selection size and the frame selection direction, and positioning the two-dimensional code and the character code in the selected frame as an association relation.
In a preferred embodiment, the adjustment of the direction of illumination of the lamp or the lamp set during the adjustment of the lamp set comprises: and (3) carrying out micro pre-adjustment in the adjustable direction of the lamp or the lamp group, recording the adjustment direction which can generate change in the micro pre-adjustment process, and selecting the direction closest to the image edge in the adjustment direction which can generate change as the adjustment direction.
In a preferred embodiment, the lamp comprises a power supply and a lamp assembly connected with the power supply, the lamp assembly comprises a mounting box and a plurality of lamp groups, the lamp groups are arranged in the mounting box and distributed according to a ring shape, the lamp groups comprise two adjacent light supplementing units, the light supplementing units comprise a mounting seat, a rotation driving mechanism, a rotating shaft, a first adjusting wheel, a second adjusting wheel, a third adjusting wheel, a lamp body and an adjusting plate assembly, the mounting seat comprises a base body, a first longitudinal support and a second longitudinal support, the first longitudinal support and the second longitudinal support are oppositely arranged on the base body, the first longitudinal support is provided with a first chute and a second chute which are arranged in parallel, the second longitudinal support is provided with a third chute and a fourth chute which are arranged in parallel, the rotary driving mechanism, the rotary shaft, the first adjusting wheel, the second adjusting wheel and the third adjusting wheel are arranged in the base body, the rotary shaft is horizontally arranged, the first adjusting wheel is connected with the rotary driving mechanism and is driven to rotate by the rotary driving mechanism, the second adjusting wheel and the third adjusting wheel are arranged on the rotary shaft, the second adjusting wheel is attached to the circumference of the first adjusting wheel, the adjusting plate component comprises a first diffusion plate, a second diffusion plate and a flexible connecting sheet, the flexible connecting sheet bypasses the third adjusting wheel, a friction layer which is in contact with the third adjusting wheel is arranged on the side wall of the flexible connecting sheet, the flexible connecting sheet is connected with the first diffusion plate and the second diffusion plate, two side edges of the first diffusion plate are respectively arranged in the first sliding groove and the third sliding groove, two side edges of the second diffusion plate are respectively arranged in the second sliding groove and the third sliding groove, the lamp body is arranged between the first diffusion plate and the second diffusion plate;
in the step S01, the light mode comprises a long-distance mode, a medium-distance mode and a short-distance mode; setting the remote mode when the distance detection data is in a first range value, wherein in the remote mode, the two light supplementing units of the lamp group are close to each other; when the distance detection data is in a second range value, setting a medium distance mode, wherein the outer light supplementing unit is started and the inner light supplementing unit is closed in the two light supplementing units of the lamp group; and when the distance detection data is in a third range value, setting a short-distance mode, wherein the outer light supplementing unit is closed, and the inner light supplementing unit is opened in the two light supplementing units of the lamp group.
In a preferred embodiment, the first range of values is 1m-2m, the second range of values is set to 0.5m-1m, and the third range of values is set to 0.1m-0.5m.
In a preferred embodiment, the rotary drive is configured as a motor or motorized pulley.
In a preferred embodiment, the flexible connection pads are made of rubber.
In a preferred embodiment, the friction layer is a rubber layer or a quartz stone coating.
Compared with the prior art, the invention provides a method for checking two-dimensional codes and character code error codes on the surface of a workpiece after electrophoresis, in practical application, the method is realized through handheld equipment, the handheld equipment comprises a PDA and a lamp, the PDA is connected with the lamp, a distance sensor is arranged on the PDA, when the method is used, the distance between the handheld equipment and the workpiece is detected through the distance sensor, the two-dimensional codes and character codes on the workpiece are required to be controlled to be positioned in a preset area of a picture shot by the PDA, and according to the detected distance, the light supplementing mode is judged, so that the corresponding light mode is selected, the accurate light supplementing is realized, the generation of a light reflecting area is avoided, the clear shooting is realized, and the identification is convenient; when the identification is carried out, detecting the integrity of the identification object, namely the integrity of the two-dimensional code and the character code, if the identification object is incomplete, indicating that a light reflecting area exists on the identification object, namely the missing area, and at the moment, changing the irradiation position of the lamplight through the adjustment of the lamp group, thereby eliminating the light reflecting area; when the lamplight is regulated, there are two regulation modes, one is to change the brightness according to a certain sequence through a preset scheme, detect the size change of the missing area, namely detect whether the lamp or the lamp group is the formation factor of the reflecting area through the brightness change of a specific lamp or the lamp group, if so, adjust the irradiation direction of the lamp or the lamp group to eliminate the formation of the reflecting area, and the other is to detect whether the lamp or the lamp group is the formation factor of the reflecting area through the direction change of the specific lamp or the lamp group, if so, adjust the irradiation direction of the lamp or the lamp group to eliminate the formation of the reflecting area. Therefore, through the process, the rapid elimination of the light reflection area can be realized conveniently, and the purpose of rapid identification is realized; furthermore, before identification, the two-dimensional code and the character code in the image are associated, so that the two-dimensional code and the character code have an association relationship, whether the identification result between the two-dimensional code and the character code with the association relationship is consistent is judged according to the identification result, and if the identification result is inconsistent, the phenomenon that at least one of the two-dimensional code and the character code has an error code is indicated, so that the error code checking is realized.
Drawings
Fig. 1 is a flow chart of a method for checking two-dimensional codes and character code error codes on the surface of a workpiece after electrophoresis.
Fig. 2 is a schematic structural diagram of a two-dimensional code and a character code with a reflection area, which are aimed at in an inspection method of two-dimensional codes and character code error codes on the surface of a workpiece after electrophoresis.
Fig. 3 is a schematic structural diagram of two-dimensional codes and character codes with association relation for a method for checking two-dimensional codes and character code error codes on the surface of a workpiece after electrophoresis.
Fig. 4 is a schematic structural diagram of a handheld device applied to an inspection method for two-dimensional codes and character code error codes on the surface of a workpiece after electrophoresis.
Fig. 5 is a schematic structural diagram of a light supplementing unit of a handheld device applied to an inspection method of two-dimensional codes and character code error codes on the surface of a workpiece after electrophoresis.
Fig. 6 is a schematic structural diagram of a handheld device with a light supplementing unit removed from a base, which is applied to an inspection method of two-dimensional codes and character code error codes on the surface of a workpiece after electrophoresis.
Fig. 7 is a schematic diagram of a structure of a handheld device with a base removed, which is applied to an inspection method of two-dimensional codes and character code error codes on the surface of a workpiece after electrophoresis.
Fig. 8 is an enlarged schematic view of the portion a in fig. 7.
Fig. 9 is a schematic structural diagram of a handheld device in a deflected state of a light supplementing unit applied to an inspection method of two-dimensional codes and character code error codes on the surface of a workpiece after electrophoresis.
Fig. 10 is a schematic diagram of a partial cross-sectional structure of a closed state of adjacent light supplementing units of a handheld device applied to an inspection method of two-dimensional codes and character code error codes on the surface of a workpiece after electrophoresis.
In the figure
A light reflection area-1; selecting a frame-2; PDA-3; a lamp-4; a power supply-5; mounting box-6; a light supplementing unit-7; a seat body-8; a first longitudinal support-9; a second longitudinal support-10; a rotation driving mechanism-11; a rotating shaft-12; a first adjustment wheel-13; a second adjusting wheel-14; a third regulating wheel-15; a first diffusion plate-16; a second diffusion plate-17; a flexible connecting piece-18; friction layer-19.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings.
The present embodiment is only for explanation of the present invention and is not to be construed as limiting the present invention, and modifications to the present embodiment, which may not creatively contribute to the present invention as required by those skilled in the art after reading the present specification, are all protected by patent laws within the scope of claims of the present invention.
As shown in fig. 1 to 10, the method for checking the two-dimensional code and the character code error code on the surface of the workpiece after electrophoresis comprises the following steps:
s01, receiving distance detection data, and adjusting a light mode according to the distance detection data;
s02: receiving an association relation aiming at a two-dimensional code and a character code in an image, and defining an identification object according to the association relation;
s03: detecting the integrity of the identification object in the image, if the identification object is complete, identifying the identification object, if the identification object is incomplete, adjusting the lamp 4 until the identification object is complete, and then identifying the identification object;
the adjusting process of the lamp 4 comprises the following steps: detecting a missing area in the identification object, sequentially adjusting the brightness of lamps or lamp groups in the lamp 4 according to a preset scheme, detecting whether the size of the missing area is changed, and if so, adjusting the irradiation direction of the lamps or the lamp groups until the missing area is not changed due to the change of the direction; or detecting the missing area in the identification object, sequentially adjusting the irradiation directions of the lamps or the lamp groups in the lamp 4 according to a preset scheme, detecting whether the positions of the missing areas are changed, and if so, adjusting the irradiation directions of the lamps or the lamp groups until the missing areas are not changed due to the change of the directions;
s04: and comparing the two-dimensional code recognition result and the character code recognition result in the same recognition object, and if the two-dimensional code recognition result and the character code recognition result are different, sending out warning information.
According to the method for checking the two-dimensional code and the character code error on the surface of the workpiece after electrophoresis, in practical application, the process of the method is realized through handheld equipment, the handheld equipment comprises a PDA3 and a lamp 4, the PDA3 is connected with the lamp 4, a distance sensor is arranged on the PDA3, when the method is used, the distance between the handheld equipment and the workpiece is detected through the distance sensor, the two-dimensional code and the character code on the workpiece are required to be controlled to be positioned in a preset area of a shooting picture of the PDA3, and according to the detected distance, what type of light supplementing mode is required is judged, so that a corresponding light mode is selected, and accurate light supplementing is realized, thereby being beneficial to avoiding the generation of a light reflecting area 1, realizing clear shooting, and being convenient to identify; when the identification is carried out, the integrity of the identification object, namely the integrity of the two-dimensional code and the character code is detected, if the identification object is incomplete, the existence of the light reflecting area 1, namely the missing area, is indicated on the identification object, and at the moment, the irradiation position of the lamplight is changed through the adjustment of the lamp group, so that the light reflecting area 1 is eliminated; when the light is regulated, there are two regulation modes, one is to change the brightness according to a certain sequence through a preset scheme, detect the size change of the missing area, namely detect whether the lamp or the lamp group is the forming factor of the reflective area 1 through the brightness change of a specific lamp or the lamp group, if so, adjust the irradiation direction of the lamp or the lamp group to eliminate the forming of the reflective area 1, and the other is to detect whether the lamp or the lamp group is the forming factor of the reflective area 1 through the direction change of the specific lamp or the lamp group, and if so, adjust the irradiation direction of the lamp or the lamp group to eliminate the forming of the reflective area 1. Therefore, through the above process, the rapid elimination of the light reflection area 1 can be realized conveniently, and the purpose of rapid identification is realized; furthermore, before identification, the two-dimensional code and the character code in the image are associated, so that the two-dimensional code and the character code have an association relationship, whether the identification result between the two-dimensional code and the character code with the association relationship is consistent is judged according to the identification result, and if the identification result is inconsistent, the phenomenon that at least one of the two-dimensional code and the character code has an error code is indicated, so that the error code checking is realized.
Further, the process of receiving the association relation for the two-dimensional code and the character code in the image comprises the following steps: and receiving the frame selection position, the frame selection size and the frame selection direction, generating a selected frame 2 according to the frame selection position, the frame selection size and the frame selection direction, and positioning the two-dimensional code and the character code in the selected frame 2 as an association relation. Through the mode, the two-dimensional codes and the character codes in different positions, different sizes and different arrangement directions can be associated, and the convenience of error code investigation is effectively improved.
In the adjustment of the lamp set, the adjustment of the irradiation direction of the lamp or the lamp set includes: and (3) carrying out micro pre-adjustment in the adjustable direction of the lamp or the lamp group, recording the adjustment direction which can generate change in the micro pre-adjustment process, and selecting the direction closest to the image edge in the adjustment direction which can generate change as the adjustment direction.
The lamp 4 comprises a power supply 5 and a lamp assembly connected with the power supply 5, the lamp assembly comprises a mounting box 6 and a plurality of lamp assemblies, the lamp assemblies are arranged in the mounting box 6 and distributed in a ring shape, the lamp assemblies comprise two adjacent light supplementing units 7, the light supplementing units 7 comprise mounting seats, a rotation driving mechanism 11, a rotating shaft 12, a first adjusting wheel 13, a second adjusting wheel 14, a third adjusting wheel 15, a lamp body and an adjusting plate assembly, the mounting seats comprise a seat body 8, a first longitudinal bracket 9 and a second longitudinal bracket 10, the first longitudinal bracket 9 and the second longitudinal bracket 10 are oppositely arranged on the seat body 8, the first longitudinal bracket 9 is provided with a first chute and a second chute which are arranged in parallel, the second longitudinal bracket 10 is provided with a third chute and a fourth chute which are arranged in parallel, the rotary driving mechanism 11, the rotary shaft 12, the first regulating wheel 13, the second regulating wheel 14 and the third regulating wheel 15 are arranged in the base 8, the rotary shaft 12 is horizontally arranged, the first regulating wheel 13 is connected with the rotary driving mechanism 11 and is driven to rotate by the rotary driving mechanism 11, the second regulating wheel 14 and the third regulating wheel 15 are arranged on the rotary shaft 12, the second regulating wheel 14 is attached to the circumference of the first regulating wheel 13, the regulating plate assembly comprises a first diffusion plate 16, a second diffusion plate 17 and a flexible connecting sheet 18, the flexible connecting sheet 18 bypasses the third regulating wheel 15, a friction layer 19 contacted with the third regulating wheel 15 is arranged on the side wall of the flexible connecting sheet 18, the flexible connecting sheet 18 is connected with the first diffusion plate 16 and the second diffusion plate 17, two side edges of the first diffusion plate 16 are respectively arranged in the first chute and the third chute, the two side edges of the second diffusion plate 17 are respectively arranged in the second chute and the third chute, and the lamp body is arranged between the first diffusion plate 16 and the second diffusion plate 17. Under the above-mentioned structure setting, annular illumination is realized to a plurality of banks that annular distributes, be convenient for avoid penetrating the discernment object, thereby can avoid the formation of reflection of light district 1 as far as possible, in the in-process of work, through rotating actuating mechanism 11, can drive first regulating wheel 13 rotation, the rotation of first regulating wheel 13 drives the rotation of second regulating wheel 14, the rotation of second regulating wheel 14 drives the rotation of pivot 12, the rotation of pivot 12 drives the rotation of third regulating wheel 15, the rotation of third regulating wheel 15 drives the motion of regulating plate subassembly, realize the deflection of regulating plate subassembly.
Through the structural arrangement of the luminaire 4, different light mode settings can be realized, in particular: in the step S01, the light mode comprises a long-distance mode, a medium-distance mode and a short-distance mode; when the distance detection data is within the first range value, setting the remote mode, wherein in the remote mode, the two light supplementing units 7 of the lamp group are mutually close, the two light supplementing units 7 jointly play a role in supplementing light, and remote light supplementing is performed firstly, and at the moment, a light reflecting area 1 is generally difficult to form; when the distance detection data is within a second range value, setting a medium distance mode, wherein the outer light supplementing unit 7 is started, the inner light supplementing unit 7 is closed, and medium distance light supplementing is realized in the two light supplementing units 7 of the lamp group; when the distance detection data is in the third range value, the light source is set to be in a short-distance mode, and among the two light supplementing units 7 of the lamp group, the light supplementing unit 7 outside is closed, and the light supplementing unit 7 inside is opened, so that short-distance light supplementing is realized.
Under the structural arrangement of the lamp 4 in this embodiment, when the lamp deflects in different directions, the direction of direct irradiation can be adjusted, the formation of the reflective area 1 is often related to direct irradiation, when the irradiation direction is adjusted, the deflection of the light supplementing unit 7 is controlled, under the arrangement of the method, the lamp deflects in a direction away from the central position, after the deflection, the arrangement position deflects, and the position of the reflective area 1 is switched from the original deflection direct irradiation to the diffusion mode, so that the elimination of the reflective area 1 can be realized.
Specifically, the first range value is 1m-2m, the second range value is set to 0.5m-1m, and the third range value is set to 0.1m-0.5m.
Specifically, the rotation driving mechanism 11 is configured as a motor or an electric roller, so as to drive the rotating shaft 12.
Specifically, the flexible connection piece 18 is made of rubber.
The friction layer 19 is a rubber layer or a quartz stone coating.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the statement "comprising … …" or "comprising … …" does not exclude the presence of additional elements in a process, method, article or terminal device comprising the element. Further, herein, "greater than," "less than," "exceeding," and the like are understood to not include the present number; "above", "below", "within" and the like are understood to include this number.
The embodiments described above are intended to facilitate a person of ordinary skill in the art in order to make and use the present invention, it will be apparent to those skilled in the art that various modifications may be made to the embodiments and that the general principles described herein may be applied to other embodiments without the need for inventive faculty. Therefore, the present invention is not limited to the above-described embodiments, and those skilled in the art, based on the present disclosure, should make improvements and modifications without departing from the scope of the present invention.

Claims (7)

1. The method for checking the two-dimensional code and the character code error code on the surface of the workpiece after electrophoresis is characterized by comprising the following steps of:
s01, receiving distance detection data, and adjusting a light mode according to the distance detection data;
s02: receiving an association relation aiming at a two-dimensional code and a character code in an image, and defining an identification object according to the association relation;
s03: detecting the integrity of the identification object in the image, if the identification object is complete, identifying the identification object, if the identification object is incomplete, adjusting the lamp until the identification object is complete, and then identifying the identification object;
the adjusting process of the lamp comprises the following steps: detecting a missing area in the identification object, sequentially adjusting the brightness of lamps or lamp groups in the lamp according to a preset scheme, detecting whether the size of the missing area is changed, and if so, adjusting the irradiation direction of the lamps or the lamp groups until the missing area is not changed due to the change of the direction; or detecting the missing area in the identification object, sequentially adjusting the irradiation directions of the lamps or the lamp groups in the lamp according to a preset scheme, detecting whether the positions of the missing areas are changed, and if so, adjusting the irradiation directions of the lamps or the lamp groups until the missing areas are not changed due to the change of the directions;
s04: comparing the two-dimensional code recognition result and the character code recognition result in the same recognition object, and if the two-dimensional code recognition result and the character code recognition result are different, sending out warning information;
the lamp comprises a power supply and a lamp assembly connected with the power supply, the lamp assembly comprises a mounting box and a plurality of lamp assemblies, the lamp assemblies are arranged in the mounting box and distributed in a ring shape, the lamp assemblies comprise two adjacent light supplementing units, the light supplementing units comprise a mounting seat, a rotation driving mechanism, a rotating shaft, a first adjusting wheel, a second adjusting wheel, a third adjusting wheel, a lamp body and an adjusting plate assembly, the mounting seat comprises a seat body, a first longitudinal support and a second longitudinal support, the first longitudinal support and the second longitudinal support are oppositely arranged on the seat body, a first chute and a second chute which are arranged in parallel are arranged on the first longitudinal support, a third chute and a fourth chute which are arranged in parallel are arranged on the second longitudinal support, the rotation driving mechanism, the rotating shaft, the first adjusting wheel, the second adjusting wheel and the third adjusting wheel are arranged in the seat body, the rotating shaft is horizontally arranged, the first regulating wheel is connected with the rotating driving mechanism and is driven to rotate by the rotating driving mechanism, the second regulating wheel and the third regulating wheel are arranged on the rotating shaft, the second regulating wheel is attached to the periphery of the first regulating wheel, the regulating plate component comprises a first diffusion plate, a second diffusion plate and a flexible connecting sheet, the flexible connecting sheet bypasses the third regulating wheel, a friction layer contacted with the third regulating wheel is arranged on the side wall of the flexible connecting sheet, the flexible connecting sheet is connected with the first diffusion plate and the second diffusion plate, the two side edges of the first diffusion plate are respectively arranged in the first chute and the third chute, the two side edges of the second diffusion plate are respectively arranged in the second chute and the third chute, the lamp body is arranged between the first diffusion plate and the second diffusion plate;
in the step S01, the light mode comprises a long-distance mode, a medium-distance mode and a short-distance mode; setting the remote mode when the distance detection data is in a first range value, wherein in the remote mode, the two light supplementing units of the lamp group are close to each other; when the distance detection data is in a second range value, setting a medium distance mode, wherein the outer light supplementing unit is started and the inner light supplementing unit is closed in the two light supplementing units of the lamp group; and when the distance detection data is in a third range value, setting a short-distance mode, wherein the outer light supplementing unit is closed, and the inner light supplementing unit is opened in the two light supplementing units of the lamp group.
2. The method for checking the two-dimensional code and the character code error code on the surface of the workpiece after electrophoresis according to claim 1, wherein the process of receiving the association relation of the two-dimensional code and the character code in the image comprises the following steps: and receiving the frame selection position, the frame selection size and the frame selection direction, generating a selected frame according to the frame selection position, the frame selection size and the frame selection direction, and positioning the two-dimensional code and the character code in the selected frame as an association relation.
3. The method for checking two-dimensional codes and character code errors on the surface of a workpiece after electrophoresis according to claim 1, wherein in the adjustment process of the lamp group, the adjustment process of the irradiation direction of the lamp or the lamp group comprises the following steps: and (3) carrying out micro pre-adjustment in the adjustable direction of the lamp or the lamp group, recording the adjustment direction which can generate change in the micro pre-adjustment process, and selecting the direction closest to the image edge in the adjustment direction which can generate change as the adjustment direction.
4. The method for checking the two-dimensional code and the character code error code on the surface of the workpiece after electrophoresis according to claim 1, wherein the first range value is 1m-2m, the second range value is set to be 0.5m-1m, and the third range value is set to be 0.1m-0.5m.
5. The method for checking the two-dimensional code and the character code error code on the surface of the workpiece after electrophoresis according to claim 1, wherein the rotary driving mechanism is set as a motor or an electric roller.
6. The method for checking the two-dimensional code and the character code error code on the surface of the workpiece after electrophoresis according to claim 1, wherein the flexible connecting sheet is made of rubber.
7. The method for checking the two-dimensional code and the character code error code on the surface of the workpiece after electrophoresis according to claim 1, wherein the friction layer is a rubber layer or a quartz stone coating.
CN202310405053.0A 2023-04-17 2023-04-17 Method for checking two-dimensional code and character code error code on surface of workpiece after electrophoresis Active CN116484891B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310405053.0A CN116484891B (en) 2023-04-17 2023-04-17 Method for checking two-dimensional code and character code error code on surface of workpiece after electrophoresis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310405053.0A CN116484891B (en) 2023-04-17 2023-04-17 Method for checking two-dimensional code and character code error code on surface of workpiece after electrophoresis

Publications (2)

Publication Number Publication Date
CN116484891A CN116484891A (en) 2023-07-25
CN116484891B true CN116484891B (en) 2024-01-26

Family

ID=87222553

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310405053.0A Active CN116484891B (en) 2023-04-17 2023-04-17 Method for checking two-dimensional code and character code error code on surface of workpiece after electrophoresis

Country Status (1)

Country Link
CN (1) CN116484891B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000057247A (en) * 1998-08-17 2000-02-25 Asahi Techno Glass Corp Device and method for reading two-dimensional code
WO2010105686A1 (en) * 2009-03-19 2010-09-23 Siemens Aktiengesellschaft Optical capturing unit, such as a code reader, comprising a camera, an approximately annular lighting unit, and compensation means compensating radial illumination inhomogeneities in an image
CN105022979A (en) * 2015-07-27 2015-11-04 深圳市民德电子科技股份有限公司 Image reading device with included angle between optical axes of imaging system and light supplementing system
KR20210020259A (en) * 2019-08-14 2021-02-24 (주)테크윙 Photographing apparatus for recognizing identification code
CN112836541A (en) * 2021-02-03 2021-05-25 华中师范大学 Automatic acquisition and identification method and device for 32-bit bar code of cigarette
CN213545292U (en) * 2020-11-16 2021-06-25 上海商睿智能科技有限公司 Two-dimensional code sweeps a yard device with response illumination structure
CN113962236A (en) * 2021-10-27 2022-01-21 深圳市商汤科技有限公司 Bar code identification method and device, electronic equipment and storage medium
CN114565550A (en) * 2021-03-17 2022-05-31 长城汽车股份有限公司 Identification code engraving quality detection method and terminal equipment
CN218630802U (en) * 2022-11-29 2023-03-14 东莞博美特自动化科技有限公司 Two-dimensional code discernment form image structure on a large scale

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000057247A (en) * 1998-08-17 2000-02-25 Asahi Techno Glass Corp Device and method for reading two-dimensional code
WO2010105686A1 (en) * 2009-03-19 2010-09-23 Siemens Aktiengesellschaft Optical capturing unit, such as a code reader, comprising a camera, an approximately annular lighting unit, and compensation means compensating radial illumination inhomogeneities in an image
CN105022979A (en) * 2015-07-27 2015-11-04 深圳市民德电子科技股份有限公司 Image reading device with included angle between optical axes of imaging system and light supplementing system
KR20210020259A (en) * 2019-08-14 2021-02-24 (주)테크윙 Photographing apparatus for recognizing identification code
CN213545292U (en) * 2020-11-16 2021-06-25 上海商睿智能科技有限公司 Two-dimensional code sweeps a yard device with response illumination structure
CN112836541A (en) * 2021-02-03 2021-05-25 华中师范大学 Automatic acquisition and identification method and device for 32-bit bar code of cigarette
CN114565550A (en) * 2021-03-17 2022-05-31 长城汽车股份有限公司 Identification code engraving quality detection method and terminal equipment
CN113962236A (en) * 2021-10-27 2022-01-21 深圳市商汤科技有限公司 Bar code identification method and device, electronic equipment and storage medium
CN218630802U (en) * 2022-11-29 2023-03-14 东莞博美特自动化科技有限公司 Two-dimensional code discernment form image structure on a large scale

Also Published As

Publication number Publication date
CN116484891A (en) 2023-07-25

Similar Documents

Publication Publication Date Title
EP3445604B1 (en) Optical system for measuring contact strength between pantograph and overhead line
CN108603814A (en) Device and method for checking tire
US3293982A (en) Overhead projector with an unsymmetrical reflective supporting stage
CN1053861C (en) Device for producing a printing stencil
CN116484891B (en) Method for checking two-dimensional code and character code error code on surface of workpiece after electrophoresis
CN108296759B (en) Reflection type laser centering device
CN116451719B (en) Method for identifying two-dimensional code and character code on surface of workpiece after electrophoresis
CN101231154A (en) Concentricity detection apparatus and method thereof
EP0347010A1 (en) A device for treating a body with a beam of rays
CN111479077B (en) Infrared excitation imaging device
CA2037858C (en) Polygon scanner with predictable facet deformation characteristics
CN108982547B (en) Device for detecting depression of glass substrate
CN206095970U (en) Planar defect specular reflection detection device in ABS ring gear
CN115825078A (en) Resin lens defect detection device and method
CA1324503C (en) Method and apparatus for the inspection of specularly reflective surfaces
CN217789755U (en) Flexible switching polyhedral automatic rotary table for automobile production line
Stokes The construction and use of a" fly's eye" for assisting X-ray structure analysis
CN216052373U (en) Light source adjusting device for visual inspection system
US4444488A (en) Adjustable mirror support for copying apparatus
CN221260817U (en) Hand-held type optics surface defect detects instrument
JP4464988B2 (en) Roll scanner
CN219234298U (en) Lighting device for marking metal piece mark by laser
WO1992004661A1 (en) A method of adjusting graphical scanner units and a scanner unit having adjustment means
CN112558383B (en) Be used for target detection under water to zoom lighting apparatus
JPS622321B2 (en)

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