CN111638214A - Trademark consistency detection system and method based on machine vision - Google Patents
Trademark consistency detection system and method based on machine vision Download PDFInfo
- Publication number
- CN111638214A CN111638214A CN202010448317.7A CN202010448317A CN111638214A CN 111638214 A CN111638214 A CN 111638214A CN 202010448317 A CN202010448317 A CN 202010448317A CN 111638214 A CN111638214 A CN 111638214A
- Authority
- CN
- China
- Prior art keywords
- sliding table
- axis sliding
- image
- target object
- axis
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K17/00—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
- G06K17/0022—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
- G06K17/0025—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Analytical Chemistry (AREA)
- Biochemistry (AREA)
- Chemical & Material Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Immunology (AREA)
- Pathology (AREA)
- Health & Medical Sciences (AREA)
- Computer Networks & Wireless Communication (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
The invention provides a trademark consistency detection system based on machine vision, which comprises: the X/Z sliding table device, the correcting device and the vision device are connected with the electric control device, and the X/Z sliding table device is used for installing the correcting device and bearing a target object to move forward at a constant speed; the correcting device is used for correcting the position of the target object; the vision device comprises an image capturing module, an image processing module and a vision detection module, wherein the image capturing module captures images of trademarks of the target objects, the image processing module processes the images, and the vision detection module identifies, detects and judges the images. The invention also provides a detection method using the system. The invention can realize 24-hour continuous operation, read the information in the energy efficiency paste and the bar code by 100 percent, and can add different refrigerator models, thereby greatly improving the detection efficiency; and the later maintenance cost is low, and the tracing is easy.
Description
Technical Field
The invention relates to the technical field of machine vision recognition, in particular to a trademark consistency detection system based on machine vision, and further relates to a trademark consistency detection method based on machine vision.
Background
In the factory production process of the refrigerator, a model bar code, an energy efficiency two-dimensional code and a commodity Logo need to be pasted on the front side of the refrigerator, and a bar code corresponding to the front bar code needs to be pasted on the back side of the refrigerator, so that the problem of detecting whether the bar codes, the energy efficiency two-dimensional codes and the Logo on the front side and the back side of the refrigerator are completely consistent can be involved in the production process. The traditional production process adopts manual detection, and the detection method is characterized in that two detection personnel are arranged on two sides of an assembly line, and a bar code, an energy efficiency sticker two-dimensional code and a Logo are respectively compared one by contrasting templates, but the detection method has a plurality of defects. Firstly, the refrigerator is always in a motion state on a production line, so that manual detection is inconvenient and the detection accuracy is low; secondly, the detected items comprise bar codes and two-dimensional codes, information in the codes cannot be directly read manually, and the detection accuracy cannot be guaranteed; thirdly, the result of manual detection is not easy to trace back, which is not convenient for the later-stage reexamination.
Disclosure of Invention
The invention provides a trademark consistency detection system and method based on machine vision, and solves the problems that manual detection in the prior art is low in accuracy and difficult to trace.
The technical scheme of the invention is realized as follows:
the trademark consistency detection system based on machine vision comprises an X/Z sliding table device, a correction device, a vision device and an electric control device, wherein the X/Z sliding table device, the correction device and the vision device are all connected with the electric control device,
the X/Z sliding table device is used for installing the correcting device and bearing the target object to move forward at a constant speed;
the correcting device is used for correcting the position of the target object;
the vision device is including getting for instance module, image processing module and visual detection module, get for instance the module and include code reader and industry camera, code reader reads the trade mark information and sends out the trigger signal, and industry camera is got for instance, and image processing module handles the image, and visual detection module discerns, detects, judges the image.
Optionally, the correction device includes an air cylinder, a push handle, an electromagnetic valve and a photoelectric sensor, wherein the photoelectric sensor includes a first photoelectric sensor and a second photoelectric sensor, when the first photoelectric sensor detects a target object, an optical signal is converted into an electrical signal and transmitted to the electromagnetic valve, the electromagnetic valve triggers the air cylinder to work after receiving the signal, the push handle connected to one end of the air cylinder performs position correction on the target object, and when the target object passes through the second photoelectric sensor, the push handle triggers a code reader to read a bar code behind the target object.
Optionally, the correcting device further comprises a baffle plate installed on the X/Z shaft sliding table device, and the target object is prevented from being accidentally produced in the transportation process.
Optionally, the correction device further comprises a position correcting element installed on the X/Z axis sliding table device, so that the position of the target object is timely adjusted, and the target object is prevented from deviating.
Optionally, the piston of the cylinder adopts an opposite-polarity bidirectional sealing structure, so that the size is compact, and the operation is stable.
Optionally, the electromagnetic valve adopts a sliding column type structure, so that the sealing performance is good, the reaction is sensitive, the friction resistance is small, oil lubrication is not needed, the starting air pressure is low, and the service life is long.
Optionally, the X/Z axis sliding table device includes an X/Z axis support, a screw transmission mechanism, a servo motor, an X axis sliding table, and a Z axis sliding table, the X/Z axis support is provided with the screw transmission mechanism, the servo motor, the X axis sliding table, and the Z axis sliding table, the X axis sliding table is installed on the Z axis sliding table, and the X axis sliding table can slide on the Z axis sliding table, the screw transmission mechanism includes a screw rod, a nut, and a reverser, the reverser is installed on the nut, the screw rod is driven to rotate by the servo motor, the nut converts the rotary motion into a linear motion, and drives the X axis sliding table and the Z axis sliding table to realize a linear reciprocating motion.
Optionally, the X/Z-axis support is a cross-shaped support, and comprises an X-axis support and a Z-axis support, and a manipulator of the vision device is mounted on the X-axis support. Optionally, the cross-shaped bracket is made of aluminum alloy materials with different lengths and cross sections of 100mm x 100mm, and is fixed through screws.
Optionally, an X-axis forward limiting part and an X-axis reverse limiting part are respectively installed at two ends of the X-axis sliding table.
Optionally, a Z-axis forward limiting member and a Z-axis reverse limiting member are arranged on the Z-axis sliding table.
Optionally, the electric control device comprises an industrial personal computer, a filter, a relay, a servo motor, a servo driver and a PLC (programmable logic controller), the second photoelectric sensor detects a target object, the target object is processed by the filter and then transmits an input signal to the code reader, the code reader enters an external continuous trigger state, and the code reader stops triggering until a back bar code is detected and bar code information is read; after the background module detects the bar code information, the background module matches the information in the database to send instructions to the PLC, the servo driver executes the actions of starting, running and resetting according to the instructions of the PLC, controls the servo motor to move according to X/Z axis parameters set by the industrial personal computer, and is matched with an industrial camera to take images.
Optionally, the electric control device further comprises a circuit breaker.
Optionally, the image capturing module further includes a light source.
Optionally, the light source is a strip-shaped LED light source, large-area uniform illumination is provided, the performance is stable, the service life is prolonged, and the strip-shaped LED light source is suitable for illumination of the toilet surface of an object with a larger size.
Optionally, the visual inspection module includes a standard value unit and an actual measurement value unit of barcode information, energy efficiency information, and Logo, the standard value unit stores image information or character information input into the database in advance, and the actual measurement value unit stores an image acquired after the camera completes image capture operation each time and a processed image.
The invention also provides a trademark consistency detection method based on machine vision, which is based on the system for detection and comprises the following steps:
the correcting device corrects the position of the target object;
the industrial camera captures images of trademarks of the target objects, and the image processing module transmits the images to the visual detection unit after processing the captured images;
the visual detection unit identifies, detects and judges the trademark in the image and outputs the result parameters.
Optionally, the position correction comprises the steps of: the X-axis sliding table target object moves on the X-axis sliding table at a constant speed, the first photoelectric sensor converts an optical signal into an electric signal after sensing the target object and transmits the electric signal to the electromagnetic valve, the electromagnetic valve triggers the air cylinder to work after receiving the signal, the push handle connected with one end of the air cylinder carries out position correction on the target object, and the position of the target object is unified to one side of the X-axis sliding table.
Optionally, the image of the trademark of the target object is captured by the industrial camera, which includes the following steps: the second photoelectric sensor detects a target object, transmits an input signal to the code reader after being processed by the filter, and the code reader enters an external continuous triggering state until a back bar code is detected and bar code information is read, and stops triggering; after the background module detects the bar code information, the bar code information is matched with information in a database to send an instruction to the PLC, after a servo driver receives a starting instruction of the PLC, the X/Z-axis sliding table device starts to operate, a servo motor of the Z-axis sliding table is controlled to rotate in the forward direction, the manipulator drives the industrial camera to move upwards, and after the Z-axis coordinate position of the energy efficiency sticker is reached, the servo motor of the Z-axis sliding table is controlled to stop working; controlling a servo motor of the X-axis sliding table to rotate in the forward direction, controlling a manipulator to move rightwards, controlling the servo motor of the X-axis sliding table to stop working after reaching the X-axis coordinate of the energy efficiency paste, and taking images of the energy efficiency paste and the bar code by the industrial camera; after the energy efficiency paste and the image capture of the bar code are completed, controlling a servo motor of the Z-axis sliding table to start reverse rotation, enabling the manipulator to move downwards, and controlling the servo motor of the Z-axis sliding table to stop working after the manipulator reaches the position of a Logo Z-axis coordinate; and controlling a servo motor of the X-axis sliding table to rotate reversely, enabling the mechanical arm to move leftwards, controlling the servo motor of the X-axis sliding table to stop working after reaching the X-axis coordinate of the Logo, enabling the industrial camera to reach the coordinate position of the Logo, enabling the industrial camera to take images of the Logo, resetting the mechanical arm, and returning to the initial position.
Optionally, the visually detecting unit performs visual configuration before recognizing, detecting and judging the trademark in the image, and includes the following steps:
training a Logo image;
setting an energy efficiency sticker two-dimensional code;
setting a bar code;
and checking the report.
Optionally, the training Logo image includes the following steps:
selecting a model to be trained;
capturing an image;
determining an area and a central origin point of image training;
and determining training parameters and training.
Optionally, when the Logo image is trained, a single character is trained on the Logo, the training area is a single character, the center origin is determined again, the detection precision can be improved, and the situations that the Logo is incompletely pasted or part of characters fall off in the production process are avoided.
Optionally, the setting of the energy efficiency label two-dimensional code includes the following steps:
manually adding two-dimension code information of the energy efficiency paste;
the detection area and the central origin are determined.
Optionally, the setting the barcode includes the following steps:
selecting a training model;
determining an area and a central origin point of image training;
and (5) training.
The invention has the beneficial effects that:
1. the invention utilizes a visual detection system which is built by combining machine vision with an automatic control technology to realize consistency detection of front and rear bar codes, energy efficiency two-dimensional codes and Logo of a refrigerator. Compared with manual detection, the trademark consistency detection system can realize 24-hour continuous operation, read information in the energy efficiency paste and the bar code by 100 percent, realize instant image capture detection, is not influenced by a production line, and greatly improves the detection efficiency; the invention can accurately read the information in the code, and finish comparison and matching in the detection system, thus ensuring 100% detection precision; the detected result can be automatically stored, the image result and the final detection result are included, and the problem tracing reason can be conveniently searched in the later period.
2. The invention can replace 2-3 workers to complete the detection work of the vision part, has lower later maintenance cost and easy tracing, can add new target models at any time, and can still be used by a vision detection system even if the production line is updated. In the long run, the machine vision detection equipment can also save a large part of production cost for manufacturers, has higher cost performance, and has great application space and popularization value in the white household appliance industry.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic structural diagram of a trademark consistency detection system based on machine vision according to the present invention;
FIG. 2 is a structural view of an X/Z axis slide table apparatus of the present invention;
FIG. 3 is a schematic diagram of the calibration device of the present invention.
Reference numerals:
1. the device comprises a pushing handle, a refrigerator, a baffle, a first photoelectric sensor, a second photoelectric sensor, a code reader, a light source, a camera, a mechanical arm, a display screen, a positive position piece, a Z-axis positive position limiting piece, a Z-axis negative position limiting piece, a Z-axis positive position.
Detailed Description
The following description and the drawings sufficiently illustrate specific embodiments herein to enable those skilled in the art to practice them. Portions and features of some embodiments may be included in or substituted for those of others. The scope of the embodiments herein includes the full ambit of the claims, as well as all available equivalents of the claims. The terms "first," "second," and the like, herein are used solely to distinguish one element from another without requiring or implying any actual such relationship or order between such elements. In practice, a first element can also be referred to as a second element, and vice versa.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1-3, the application discloses a trademark consistency detection system based on machine vision, which comprises an X/Z sliding table device, a correction device, a vision device and an electric control device, wherein the X/Z sliding table device, the correction device and the vision device are all connected with the electric control device,
the X/Z sliding table device is used for installing the correcting device and bearing the target object to move forward at a constant speed;
the correcting device is used for correcting the position of the target object;
the vision device is including getting for instance module, image processing module and visual detection module, get for instance the module and include code reader 7 and industrial camera 9, code reader 7 reads the trade mark information and sends trigger signal, and industrial camera 9 is got for instance, and image processing module handles the image, and visual detection module discerns, detects, judges the image.
In some embodiments, the target object is a refrigerator, and in other embodiments, the target object may be another white appliance.
Optionally, as shown in fig. 3, the correcting device includes an air cylinder, a push handle 1, an electromagnetic valve and a photoelectric sensor, where the photoelectric sensor includes a first photoelectric sensor 4 and a second photoelectric sensor 6, when the first photoelectric sensor 4 detects the refrigerator 2, the first photoelectric sensor converts an optical signal into an electrical signal and transmits the electrical signal to the electromagnetic valve, the electromagnetic valve triggers the air cylinder to operate after receiving the signal, the push handle 1 connected to one end of the air cylinder performs position correction on the refrigerator 2, and when the refrigerator 2 passes through the second photoelectric sensor 6, the code reader 7 is triggered to read a barcode behind the refrigerator 2.
Optionally, the correcting device further comprises a baffle plate 3 installed on the X/Z shaft sliding table device, so that accidents of the target object in the transportation process are prevented.
Optionally, the correction device further comprises a position correcting element 12 installed on the X/Z axis sliding table device, so as to adjust the position of the target in time and avoid the deviation of the target.
Optionally, the invention adopts an SC series standard cylinder of Adeko, which comprises a cylinder barrel, an end cover, a piston rod and a sealing element, and a circular metal device for guiding the piston to do linear reciprocating motion in the cylinder barrel, wherein the specific structure and the working principle are not repeated herein, and the piston adopts an opposite two-way sealing structure, so that the size is compact, and the operation is stable; one end of the cylinder is connected with a push handle 1, and under the guide of the cylinder, the push handle 1 pushes the refrigerator 2 to one side of the X-axis sliding table stably.
Optionally, the invention adopts a 4V300 series electromagnetic valve of the Adeko, and a sliding column type structure, so that the invention has the advantages of good sealing performance, sensitive reaction, small friction resistance, no need of oiling for lubrication, low starting pressure and long service life. Two round holes are formed in the electromagnetic valve for inserting the air pipes, and the force generated by induction of the electromagnet coil drives the valve core to act, so that the opening and closing of the valve, the flow direction switching and the size of air flow are realized. The set airflow value is moderate, the airflow is too large, and the larger the thrust of the air cylinder is, the refrigerator 2 can be overturned; the air current is too little, and cylinder thrust is not enough, can't push away X axle slip table one side with refrigerator 2, leads to 2 positions of refrigerator through correcting unit not unified, can influence the getting for instance and the detection of vision device.
Optionally, the photo sensor employed in the present invention is a loose small photo sensor CX-400, which converts light into an electrical signal. The photoelectric sensor has strong anti-interference capability, and the front cover and the display cover are made of polycarbonate materials which are not easy to corrode, so that the photoelectric sensor can be used without sensitivity adjustment; the two holes are designed, so that the installation time is saved; due to the special optical lens design, the color influence of a handmade part is small; infrared light beam, dust resistance and dirt resistance, and the detection distance can reach 15 cm. The photoelectric sensor judges whether the refrigerator 2 passes through by sensing the change of the optical signal, so the surface of the photoelectric sensor needs to be cleaned regularly to prevent the surface of the photoelectric sensor from being covered with excessive dust to influence the photosensitive element to receive the optical signal. The photosensitive components in the photoelectric sensor are sensitive, and the refrigerators 2 on the X-axis sliding table are separated from each other by a certain distance so as to prevent the photoelectric sensor from continuously triggering and causing the change of the position of the refrigerator 2 which passes through the correcting device.
Alternatively, as shown in fig. 2, the X/Z axis sliding table device includes an X/Z axis support, a lead screw transmission mechanism, a servo motor, an X axis sliding table, and a Z axis sliding table, the lead screw transmission mechanism, the servo motor, and the X axis sliding table and the Z axis sliding table are mounted on the X/Z axis support, the X axis sliding table is mounted on the Z axis sliding table, and the X axis sliding table can slide on the Z axis sliding table, the lead screw transmission mechanism includes a screw rod, a nut, and a reverser, the reverser is mounted on the nut, the screw rod is driven to rotate by the servo motor, the nut converts the rotary motion into a linear motion, and drives the X axis sliding table and the Z axis sliding table to realize a linear reciprocating. When the X/Z axis sliding table device is in an automatic operation state, after an instruction of the electric control device is received, the servo motor can freely move according to preset parameters to match a camera to acquire images, and the operation speed of the manipulator 10 is 30 mm/s.
Alternatively, the X/Z-axis support is a cross-shaped support including an X-axis support on which the robot 10 of the vision device is mounted and a Z-axis support. Optionally, the cross-shaped bracket is made of aluminum alloy materials with different lengths and cross sections of 100mm x 100mm, and is fixed through screws.
Optionally, an X-axis positive limiting member 16 and an X-axis negative limiting member 14 are respectively mounted at two ends of the X-axis sliding table.
Optionally, a Z-axis forward limiting member 13 and a Z-axis reverse limiting member 15 are disposed on the Z-axis sliding table.
Optionally, the screw transmission mechanism comprises a screw, a nut and a reverser, the screw is driven to rotate by the servo motor, the rotary motion is converted into linear motion by the nut, the mechanical structure connected with the nut is driven to realize linear motion, the linear motion can be realized, and the reciprocating motion is realized.
Optionally, the invention adopts a conraday DataMan262QL model Code reader, carries a decoding algorithm 1DMax and a Hotbars ii image processing analysis tool, wherein 1DMax can read the most difficult-to-read bar Code, and is also the most comprehensive one-dimensional bar Code algorithm, so that international universal one-dimensional bar codes such as UPC/EAN/JAN, Code39, Code128 and the like can be accurately analyzed, and under the condition of known Code types, the Code options of the types are directly selected in software, so that the decoding time can be greatly shortened, and the decoding efficiency can be improved; the Hotbars II image processing analysis technology combines excellent signal fidelity and illumination speed, and provides excellent decoding performance for a DataMan series code reader; and the integrated illumination, take liquid lens technology, but auto-tuning focuses.
Optionally, the code reader 7 and the DataMan module are adopted in the invention, and a user can set parameters of the code reader through the DataMan module. The data man module can display the model number, real-time image, each parameter and code reading result of the connected code reader, and can also set parameters such as tuning, testing, light source setting, code reading type, data format and communication setting through the data man module.
Optionally, the image capturing module further comprises a light source 8.
Optionally, the light source 8 is a bar-shaped LED light source, which provides large-area uniform illumination, has stable performance and a long service life, and is suitable for illumination of large-sized objects.
Optionally, the visual inspection module includes a standard value unit and an actual measurement value unit of barcode information, energy efficiency information, and Logo, the standard value unit stores image information or character information input into the database in advance, and the actual measurement value unit stores an image acquired after the camera completes image capture operation each time and a processed image.
Optionally, the industrial camera 9 is responsible for image acquisition of two-dimensional energy efficiency labels, Logo and bar codes on the front side of the refrigerator 2, the images are processed, analyzed, identified and detected through the image processing module and the visual detection module, and compared with a template trained in advance to obtain a score, and when the score is higher than or equal to a set threshold, the score is judged to be qualified, otherwise, the score is judged to be unqualified; and simultaneously, displaying the information or images collected by the code reader 7 and the industrial camera 9 in the display screen 11, outputting the detection result, and recording the detection result.
The electric control device comprises an industrial personal computer 5, a filter, a relay, a servo motor, a servo driver and a PLC (programmable logic controller), wherein the second photoelectric sensor 6 detects the refrigerator 2, transmits an input signal to the code reader 7 after being processed by the filter, the code reader 7 enters an external continuous trigger state until a back bar code is detected and bar code information is read, and the code reader 7 stops triggering; after the background module detects the bar code information, the background module matches the information in the database to send instructions to the PLC, the servo driver executes the actions of starting, running and resetting according to the instructions of the PLC, controls the servo motor to move according to X/Z axis parameters set by the industrial personal computer 5, and cooperates with the industrial camera 9 to capture images.
Optionally, the electric control device further comprises a circuit breaker.
The invention also provides a trademark consistency detection method based on machine vision, which is based on the system for detection and comprises the following steps:
the correcting device performs position correction on the refrigerator 2;
the industrial camera 9 captures images of the trademark of the refrigerator 2, and the image processing module transmits the images to the visual detection unit after processing the captured images;
the visual detection unit identifies, detects and judges the trademark in the image and outputs the result parameters.
Optionally, the position correction comprises the steps of: refrigerator 2 is from left right uniform motion on X axle slip table, and after first photoelectric sensor 4 sensed refrigerator 2, convert light signal into the signal transmission for the solenoid valve, the solenoid valve received signal after triggering the cylinder work, and the pushing hands 1 that links to each other with cylinder one end carries out position correction with refrigerator 2, unifies the one side to X axle slip table with the position of refrigerator 2.
Optionally, the industrial camera captures an image of a trademark of the refrigerator 2, and includes the following steps: the second photoelectric sensor 6 detects the refrigerator 2, transmits an input signal to the code reader 7 after being processed by the filter, the code reader 7 enters an external continuous triggering state, and the code reader 7 stops triggering until a rear bar code is detected and bar code information is read; after the background program detects the bar code information, the bar code information is matched with information in the database to send an instruction to the PLC, after a servo driver receives a starting instruction of the PLC, the X/Z-axis sliding table device starts to operate, a servo motor of the Z axis is controlled to rotate in the forward direction, the mechanical arm drives the camera to move upwards, and after the Z-axis coordinate position of the energy efficiency paste is reached, the servo motor of the Z axis is controlled to stop working; controlling a servo motor of an X axis to rotate in the forward direction, controlling a manipulator to move rightwards, controlling the servo motor of the X axis to stop working after reaching an X axis coordinate of the energy efficiency paste, and taking images of the energy efficiency paste and the bar code by a camera; after the image capture of the energy efficiency paste and the barcode is completed, controlling a servo motor of the Z axis to start reverse rotation, moving the manipulator 10 downwards, and controlling the servo motor of the Z axis to stop working after the Z axis coordinate position of the Logo is reached; and controlling the servo motor of the X axis to rotate reversely, moving the mechanical arm 10 leftwards, controlling the servo motor of the X axis to stop working after reaching the X axis coordinate of the Logo, enabling the camera to reach the coordinate position of the Logo, enabling the camera to capture images of the Logo, resetting the mechanical arm 10, and returning to the initial position.
Optionally, the visually detecting unit performs visual configuration before recognizing, detecting and judging the trademark in the image, and includes the following steps:
training a Logo image;
setting an energy efficiency sticker two-dimensional code;
setting a bar code;
and checking the report.
Optionally, the training Logo image includes the following steps:
selecting a model to be trained;
capturing an image;
determining an area and a central origin point of image training;
and determining training parameters and training.
Optionally, when the Logo image is trained, a single character in the Logo is trained, the training area is changed into the single character, the center origin is determined again, the detection precision can be improved, and the situations that the Logo is incompletely pasted or part of characters fall off in the production process are avoided.
Optionally, the setting of the energy efficiency label two-dimensional code includes the following steps:
manually adding two-dimension code information of the energy efficiency paste;
the detection area and the central origin are determined.
Optionally, the setting the barcode includes the following steps:
selecting a training model;
determining an area and a central origin point of image training;
and (5) training.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (10)
1. Machine vision-based trademark consistency detection system, characterized by comprising:
comprises an X/Z sliding table device, a correcting device, a vision device and an electric control device, wherein the X/Z sliding table device, the correcting device and the vision device are all connected with the electric control device,
the X/Z sliding table device is used for installing the correcting device and bearing the target object to move forward at a constant speed;
the correcting device is used for correcting the position of the target object;
the vision device is including getting for instance module, image processing module and visual detection module, get for instance the module and include code reader and industry camera, code reader reads the trade mark information of target object and sends the trigger signal, and industry camera is got for instance, and image processing module handles the image, and visual detection module discerns, detects, judges the image.
2. The machine vision-based trademark consistency detection system is characterized in that the correction device comprises an air cylinder, a push handle, an electromagnetic valve and a photoelectric sensor, wherein the photoelectric sensor comprises a first photoelectric sensor and a second photoelectric sensor, when the first photoelectric sensor detects a target object, an optical signal is converted into an electric signal and transmitted to the electromagnetic valve, the electromagnetic valve triggers the air cylinder to work after receiving the signal, the push handle connected with one end of the air cylinder carries out position correction on the target object, and when the target object passes through the second photoelectric sensor, a code reader is triggered to read a bar code behind the target object;
the correcting device also comprises a baffle and a righting piece which are arranged on the X/Z shaft sliding table device.
3. The machine vision-based trademark consistency detecting system according to claim 1, wherein the X/Z axis sliding table device comprises an X/Z axis support, a lead screw transmission mechanism, a servo motor, an X axis sliding table and a Z axis sliding table, wherein the lead screw transmission mechanism, the servo motor and the X axis sliding table and the Z axis sliding table are mounted on the X/Z axis support, the X axis sliding table is mounted on the Z axis sliding table, and the X axis sliding table can slide on the Z axis sliding table; the screw rod transmission mechanism comprises a screw rod, a nut and an inverter, the inverter is mounted on the nut, the screw rod is driven to rotate through a servo motor, and the nut converts the rotary motion into linear motion to drive the X-axis sliding table and the Z-axis sliding table to realize linear reciprocating motion; x axle forward locating part and the reverse locating part of X axle are installed respectively to X axle slip table both ends, be equipped with Z axle forward locating part and the reverse locating part of Z axle on the Z axle slip table.
4. The machine-vision-based brand identity detection system of claim 1,
the visual detection module comprises a standard value unit and an actual measurement value unit of bar code information, energy efficiency paste information and Logo, wherein the standard value unit stores image information or character information which is input into a database in advance, and the actual measurement value unit stores images acquired after the camera finishes image capturing operation each time and processed images.
5. A trademark consistency detection method based on machine vision, which is based on the system of any one of claims 1 to 4, and comprises the following steps:
the correcting device corrects the position of the target object;
the industrial camera captures images of trademarks of the target objects, and the image processing module transmits the images to the visual detection unit after processing the captured images;
the visual detection unit identifies, detects and judges the trademark in the image and outputs the result parameters.
6. The detection method according to claim 5, wherein the position correction includes the steps of: the target object moves on the X-axis sliding table at a constant speed, the first photoelectric sensor converts an optical signal into an electric signal after sensing the target object and transmits the electric signal to the electromagnetic valve, the electromagnetic valve triggers the air cylinder to work after receiving the signal, the push handle connected with one end of the air cylinder carries out position correction on the target object, and the position of the target object is unified to one side of the X-axis sliding table.
7. The inspection method of claim 5, wherein the industrial camera images a trademark of the object, comprising the steps of: the second photoelectric sensor detects a target object, transmits an input signal to the code reader after being processed by the filter, and the code reader enters an external continuous triggering state until a back bar code is detected and bar code information is read, and stops triggering; after the background module detects the bar code information, the bar code information is matched with information in a database to send an instruction to the PLC, after a servo driver receives a starting instruction of the PLC, the X/Z-axis sliding table device starts to operate, a servo motor of the Z-axis sliding table is controlled to rotate in the forward direction, the manipulator drives the industrial camera to move upwards, and after the Z-axis coordinate position of the energy efficiency sticker is reached, the servo motor of the Z-axis sliding table is controlled to stop working; controlling a servo motor of the X-axis sliding table to rotate in the forward direction, controlling a manipulator to move rightwards, controlling the servo motor of the X-axis sliding table to stop working after reaching the X-axis coordinate of the energy efficiency paste, and taking images of the energy efficiency paste and the bar code by the industrial camera; after the energy efficiency paste and the image capture of the bar code are completed, controlling a servo motor of the Z-axis sliding table to start reverse rotation, enabling the manipulator to move downwards, and controlling the servo motor of the Z-axis sliding table to stop working after the manipulator reaches the position of a Logo Z-axis coordinate; and controlling a servo motor of the X-axis sliding table to rotate reversely, enabling the mechanical arm to move leftwards, controlling the servo motor of the X-axis sliding table to stop working after reaching the X-axis coordinate of the Logo, enabling the industrial camera to reach the coordinate position of the Logo, enabling the industrial camera to take images of the Logo, resetting the mechanical arm, and returning to the initial position.
8. The inspection method of claim 5, wherein the visual inspection unit performs visual configuration before recognizing, inspecting and judging the trademark in the image, comprising the steps of:
training a Logo image;
setting an energy efficiency sticker two-dimensional code;
setting a bar code;
and checking the report.
9. The detection method according to claim 8, wherein the training Logo image comprises the steps of:
selecting a model to be trained;
capturing an image;
determining an area and a central origin point of image training;
and determining training parameters and training.
10. The detection method according to claim 9, wherein when the Logo image is trained, single character training is performed on the Logo, a training area is a single character, and a central origin point is determined again.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010448317.7A CN111638214B (en) | 2020-05-25 | 2020-05-25 | Trademark consistency detection system and method based on machine vision |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010448317.7A CN111638214B (en) | 2020-05-25 | 2020-05-25 | Trademark consistency detection system and method based on machine vision |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111638214A true CN111638214A (en) | 2020-09-08 |
CN111638214B CN111638214B (en) | 2023-08-29 |
Family
ID=72329647
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010448317.7A Active CN111638214B (en) | 2020-05-25 | 2020-05-25 | Trademark consistency detection system and method based on machine vision |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111638214B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113588555A (en) * | 2021-07-30 | 2021-11-02 | 青岛海尔工业智能研究院有限公司 | Detection system for interior decoration parts of products |
CN114239615A (en) * | 2021-12-14 | 2022-03-25 | 蚌埠国显科技有限公司 | Device for identifying, binding, checking and tracing multiple ID (identity) of product and control system thereof |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101184167A (en) * | 2007-12-14 | 2008-05-21 | 西安交通大学 | Industry intelligent camera |
EP2833323A2 (en) * | 2013-08-01 | 2015-02-04 | Cognex Corporation | Associating a code with an object |
CN107144578A (en) * | 2017-06-21 | 2017-09-08 | 梁笑晗 | A kind of deep axis hole laminating rate Automated visual inspection system for high and its method |
CN109060833A (en) * | 2018-08-09 | 2018-12-21 | 世特科汽车工程产品(常州)有限公司 | A kind of full-automatic photographic means for detecting sprocket wheel model and defect |
CN109829346A (en) * | 2019-01-11 | 2019-05-31 | 安徽工程大学 | A kind of bar code and two-dimensional code identification method and system based on machine vision |
CN110082364A (en) * | 2018-01-26 | 2019-08-02 | 桂林电子科技大学 | A kind of product packaging detection system based on machine vision |
-
2020
- 2020-05-25 CN CN202010448317.7A patent/CN111638214B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101184167A (en) * | 2007-12-14 | 2008-05-21 | 西安交通大学 | Industry intelligent camera |
EP2833323A2 (en) * | 2013-08-01 | 2015-02-04 | Cognex Corporation | Associating a code with an object |
CN107144578A (en) * | 2017-06-21 | 2017-09-08 | 梁笑晗 | A kind of deep axis hole laminating rate Automated visual inspection system for high and its method |
CN110082364A (en) * | 2018-01-26 | 2019-08-02 | 桂林电子科技大学 | A kind of product packaging detection system based on machine vision |
CN109060833A (en) * | 2018-08-09 | 2018-12-21 | 世特科汽车工程产品(常州)有限公司 | A kind of full-automatic photographic means for detecting sprocket wheel model and defect |
CN109829346A (en) * | 2019-01-11 | 2019-05-31 | 安徽工程大学 | A kind of bar code and two-dimensional code identification method and system based on machine vision |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113588555A (en) * | 2021-07-30 | 2021-11-02 | 青岛海尔工业智能研究院有限公司 | Detection system for interior decoration parts of products |
CN114239615A (en) * | 2021-12-14 | 2022-03-25 | 蚌埠国显科技有限公司 | Device for identifying, binding, checking and tracing multiple ID (identity) of product and control system thereof |
Also Published As
Publication number | Publication date |
---|---|
CN111638214B (en) | 2023-08-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111638214A (en) | Trademark consistency detection system and method based on machine vision | |
CN101762231B (en) | Device and method for detecting appearance of mobile phone keys | |
US8740079B2 (en) | Optical code reader | |
US20080087734A1 (en) | Triggerless electro-optical reader | |
JP2018136860A (en) | Optical information reader | |
Labudzki et al. | The essence and applications of machine vision | |
CN105750892A (en) | Automatic screw assembly-in-place detection system on basis of real-time image processing | |
CN111645237B (en) | Mold closing robot system | |
CN203908960U (en) | Detecting equipment for electronic product accessories | |
CN114897828B (en) | Automatic chip identification and sorting method, device and system | |
CN216939325U (en) | Intelligent screw mounting equipment of industrial distribution box | |
CN103383240A (en) | Machine vision two-dimension detecting platform device | |
CN113916285A (en) | Visual detection device and detection process for washing machine roller fastening screw | |
CN109692826A (en) | A kind of chip on-line sorting platform | |
CN103084927A (en) | Online measurement system and online measurement method thereof | |
US5798516A (en) | Focusing mechanism for hand-held CCD scanners | |
CN203219583U (en) | Novel machine vision light source control system | |
CN203077013U (en) | On-line measurement system | |
CN104101725B (en) | Speed measuring equipment for transmission line | |
CN103439341B (en) | Photoelectric encoder defect detection system and its implementation | |
CN206416179U (en) | A kind of motion target tracking positioning and grasping system based on binocular vision | |
CN216748791U (en) | Automobile parts QA and internet device of tracing to source | |
CN114226289A (en) | Automatic laser marking system based on machine vision, marking method and application | |
CN219658132U (en) | Quick check-out equipment of intelligent label sign indicating number | |
CN112033973A (en) | Big data intelligent analysis-based second-hand automobile performance detection device |
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 |