CN116297234A - Glue mixing ratio detection method and device and computer equipment - Google Patents

Glue mixing ratio detection method and device and computer equipment Download PDF

Info

Publication number
CN116297234A
CN116297234A CN202211713782.4A CN202211713782A CN116297234A CN 116297234 A CN116297234 A CN 116297234A CN 202211713782 A CN202211713782 A CN 202211713782A CN 116297234 A CN116297234 A CN 116297234A
Authority
CN
China
Prior art keywords
real
image information
glue
color difference
time
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.)
Pending
Application number
CN202211713782.4A
Other languages
Chinese (zh)
Inventor
黄爱林
刘捷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Shizong Automation Equipment Co Ltd
Original Assignee
Shenzhen Shizong Automation Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Shizong Automation Equipment Co Ltd filed Critical Shenzhen Shizong Automation Equipment Co Ltd
Priority to CN202211713782.4A priority Critical patent/CN116297234A/en
Publication of CN116297234A publication Critical patent/CN116297234A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/17Systems in which incident light is modified in accordance with the properties of the material investigated
    • G01N21/25Colour; Spectral properties, i.e. comparison of effect of material on the light at two or more different wavelengths or wavelength bands
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/01Arrangements or apparatus for facilitating the optical investigation
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/01Arrangements or apparatus for facilitating the optical investigation
    • G01N2021/0106General arrangement of respective parts
    • G01N2021/0112Apparatus in one mechanical, optical or electronic block
    • 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

Abstract

The invention discloses a glue mixing ratio detection method, a device and computer equipment, wherein the glue mixing ratio detection method comprises the following steps: s101, controlling an image sensor to acquire real-time image information of the glue mixing tube. S102, comparing the real-time image information with template image information. S103, judging whether the color difference value of the real-time image information and the template image exceeds a first set value. S104, if the first set value is exceeded, and/or judging whether the change rate of the color difference value of the real-time image information and the template image exceeds a second set value, if the second set value is exceeded, detecting that the mixing ratio of the glue mixing pipe is in an abnormal state; therefore, the glue proportioning precision of the glue dispensing operation can be ensured, and the glue dispensing effect of the product can be maintained when the mixing ratio is abnormal, so that the defective rate of the product is reduced.

Description

Glue mixing ratio detection method and device and computer equipment
Technical Field
The invention relates to the technical field of dispensing, in particular to a glue mixing ratio detection method, a device and computer equipment.
Background
In industrial dispensing application, mixed glue is generally used for dispensing, wherein the mixed glue is glue which is stored separately in a way of independently mixing two liquids, namely glue A and glue B, and when in use, the glue A and the glue B are mixed according to a specified proportion through a static mixing tube or are mixed in other ways and then are bonded. That is, the AB glue is a generic term for two-liquid mixed hardening glue, one liquid is the present glue, and the other liquid is the hardening agent, and the two liquids are mixed to harden. Compared with a common single-component glue dispenser, the AB glue dispenser can adapt to the glue mixing proportion dispensing of double components, is a relatively mature glue dispensing device at present, and is generally mixed by adopting a manual method aiming at mixed glue with high density and high viscosity at the same time, or is automatically mixed by the glue dispenser, no matter in a manual or automatic mode, the abnormal situation of the glue mixing proportion can possibly occur, so that the AB glue mixing effect cannot be ensured, the proportioning precision of the mixed glue is influenced, the mixed glue can not reach the optimal state, and the mixed glue can not be easily found when the mixing proportion is abnormal. So as to influence the dispensing effect, thereby increasing the defective products of the product.
Disclosure of Invention
The present invention aims to solve at least one of the technical problems in the related art to some extent. Therefore, an object of the present invention is to provide a method and apparatus for detecting glue mixing ratio, and a computer device.
In order to achieve the above object, according to an embodiment of the present invention, a method for detecting a glue mixing ratio includes:
controlling an image sensor to acquire real-time image information of the glue mixing tube;
comparing the real-time image information with template image information;
judging whether the color difference value of the real-time image information and the template image exceeds a first set value, and if so, detecting that the mixing ratio of the glue mixing pipe is in an abnormal state.
And/or judging whether the change rate of the color difference value of the real-time image information and the template image exceeds a second set value, and if so, detecting that the mixing ratio of the glue mixing pipe is in an abnormal state.
Further, according to an embodiment of the present invention, the method for comparing the real-time image information with the template image information includes:
converting the real-time image information into a real-time Lab color space value;
respectively combining the L, a and b three-dimensional parameter values in the real-time Lab color space value withTemplate Lab color space value of template image information
Figure 10113DEST_PATH_IMAGE001
、/>
Figure 864936DEST_PATH_IMAGE002
、/>
Figure 441411DEST_PATH_IMAGE003
The three-dimensional parameter values are compared one by one.
Further, according to an embodiment of the present invention, when determining whether the color difference value between the real-time image information and the template image exceeds a first set value, the method for calculating the color difference value between the real-time image information and the template image is as follows:
Figure 508724DEST_PATH_IMAGE004
wherein, the liquid crystal display device comprises a liquid crystal display device,
Figure 729621DEST_PATH_IMAGE001
、/>
Figure 348822DEST_PATH_IMAGE002
、/>
Figure 22379DEST_PATH_IMAGE003
lab color space values of the template images respectively; l, a and b are Lab color space values of the real-time image respectively; />
Figure 752438DEST_PATH_IMAGE005
Is the color difference value.
Further, according to an embodiment of the present invention, when determining whether the rate of change of the color difference value between the real-time image information and the template image exceeds the second set value, the method for calculating the rate of change of the color difference value between the real-time image information and the template image is as follows:
U=△DE1-△DE2/△DE2-△DE3;
wherein DeltaDE 1, deltaDE 2 and DeltaDE 3 are respectively the color difference values of the real-time image information and the template image which are separated by a time difference of 1 second; u is the rate of change of the color difference value.
On the other hand, the invention also provides a glue mixing ratio detection device, which comprises:
the image acquisition module is used for controlling the image sensor to acquire real-time image information of the glue mixing pipe;
the image comparison module is used for comparing the real-time image information with the template image information;
the image color difference judging module is used for judging whether the color difference value of the real-time image information and the template image exceeds a first set value, and if the color difference value exceeds the first set value, detecting that the mixing ratio of the glue mixing pipe is in an abnormal state.
Further, according to an embodiment of the present invention, the glue mixing ratio detecting device further includes: the image color difference change rate judging module is used for judging whether the change rate of the color difference value of the real-time image information and the template image exceeds a second set value, and if the change rate exceeds the second set value, detecting that the mixing ratio of the glue mixing pipe is in an abnormal state.
Further, according to an embodiment of the present invention, the image comparison module includes:
the Lab image space conversion module is used for converting the real-time image information into a real-time Lab color space value;
lab image space parameter comparison module for respectively comparing L, a and b three-dimensional parameter values in the real-time Lab color space values with template Lab color space values of template image information
Figure 827841DEST_PATH_IMAGE001
、/>
Figure 352364DEST_PATH_IMAGE002
、/>
Figure 513218DEST_PATH_IMAGE003
The three-dimensional parameter values are compared one by one.
Further, according to an embodiment of the present invention, the image comparison module obtains the color difference value by the following formula:
Figure 781388DEST_PATH_IMAGE004
wherein, the liquid crystal display device comprises a liquid crystal display device,
Figure 708368DEST_PATH_IMAGE001
、/>
Figure 669371DEST_PATH_IMAGE002
、/>
Figure 51942DEST_PATH_IMAGE003
lab color space values of the template images respectively; l, a and b are Lab color space values of the real-time image respectively; />
Figure 858224DEST_PATH_IMAGE005
Is the color difference value;
the image color difference change rate judging module obtains the color difference value change rate through the following formula:
U=△DE1-△DE2/△DE2-△DE3;
wherein DeltaDE 1, deltaDE 2 and DeltaDE 3 are respectively the color difference values of the real-time image information and the template image which are separated by a time difference of 1 second; u is the rate of change of the color difference value.
In still another aspect, an embodiment of the present invention further provides a computer device, where the computer device includes a first memory, a first processor, and a computer program stored in the first memory and capable of running on the first processor, where the first processor implements the above-mentioned glue mixing ratio detection method when executing the computer program.
The embodiment of the invention provides a glue mixing ratio detection method, a device and computer equipment, wherein the real-time image information of a glue mixing pipe is obtained by controlling an image sensor through step S101. S102, comparing the real-time image information with template image information. S103, judging whether the color difference value of the real-time image information and the template image exceeds a first set value. And S104, if the real-time image information exceeds a first set value and/or judging whether the change rate of the color difference value of the real-time image information and the template image exceeds a second set value, if the change rate exceeds the second set value, detecting that the mixing ratio of the glue mixing pipe is in an abnormal state, and performing alarm processing to remind a worker to check and discharge faults, and performing dispensing operation after adjusting the glue in the mixing pipe to be in a normal glue mixing ratio. Therefore, the glue proportioning precision of the glue dispensing operation can be ensured, and the glue dispensing effect of the product can be maintained when the mixing ratio is abnormal, so that the defective rate of the product is reduced.
Drawings
FIG. 1 is a flow chart of a glue mixing ratio detection method provided by an embodiment of the invention;
FIG. 2 is a flowchart of another glue mixing ratio detecting method according to an embodiment of the present invention;
FIG. 3 is a flowchart of another glue mixing ratio detecting method according to an embodiment of the present invention;
FIG. 4 is a flowchart of a method for comparing real-time image information with template image information according to an embodiment of the present invention;
fig. 5 is a block diagram of a glue mixing ratio detecting device according to an embodiment of the present invention;
FIG. 6 is a block diagram of another glue mixing ratio detecting device according to an embodiment of the present invention;
FIG. 7 is a block diagram of an image comparison module according to an embodiment of the present invention;
FIG. 8 is a block diagram of a computer device according to an embodiment of the present invention;
FIG. 9 is a graph showing color difference values between real-time image information and a template image according to an embodiment of the present invention;
FIG. 10 is a graph showing a change rate of color difference between real-time image information and a template image according to an embodiment of the present invention;
FIG. 11 is a graph of color difference curve test between real-time image information and a template image according to an embodiment of the present invention;
fig. 12 is a graph of a change rate curve of color difference between real-time image information and a template image according to an embodiment of the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
In order to enable those skilled in the art to better understand the present invention, the following description will make clear and complete descriptions of the technical solutions according to the embodiments of the present invention with reference to the accompanying drawings. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the invention. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
Referring to fig. 1, 9 and 11, an embodiment of the present invention provides a method for detecting a glue mixing ratio, including the steps of:
s101, controlling an image sensor to acquire real-time image information of the glue mixing tube.
S102, comparing the real-time image information with template image information.
S103, judging whether the color difference value of the real-time image information and the template image exceeds a first set value.
And S104, if the mixing ratio exceeds the first set value, detecting that the mixing ratio of the glue mixing pipe is in an abnormal state.
Specifically, as shown in fig. 1, in the process of mixing glue by the dispensing device through the mixing pipe, glue a and glue B are respectively injected into the mixing pipe, and the colors of the glue a and glue B after being mixed in the mixing pipe are different due to different mixing proportions. The color of the glue mixing tube is different after the glue A and the glue B are mixed according to different proportions. Thus, the mixing ratio of the mixing tube can be judged by the color of the mixed glue. In the embodiment of the present invention, in step S101, an image of the glue mixed in the glue mixing tube may be acquired by the image acquisition device by disposing the image acquisition device on the outer side of the glue mixing tube. The step S101 is the real-time acquisition of the mixed glue image in the mixing tube. The real-time monitoring of the mixing proportion of the glue mixing pipe can be realized. In one embodiment of the invention, the time to sample the image within the mixing tube by the image acquisition device is 1 second. After the image information of the mixed glue in the mixed glue tube is collected each time, the real-time image information is compared with the template image information through step S102. The template image information is stored image information of the mixed glue in the mixed glue pipe in a normal glue mixing proportion state. For example, in normal cases, the mixing ratio of the glue a and the glue B is 1:10, according to 1:10 is a specific color, and the specific color is usually used as template image information. Comparing the real-time image information of the mixed glue in the collected mixed tube with the template image information of the mixed glue in the mixed tube in a normal glue mixing proportion state to determine whether the newly obtained real-time image information in the mixed tube is different from the template image information in the normal state. If there is a difference, it may be that the color of the mixed glue is different from that of the mixed glue at a normal ratio due to an abnormality in the ratio of the mixed glue in the mixing tube. In order to reduce the measurement error as much as possible, the acquisition of the real-time image is in the same illumination environment as the acquisition of the template image. Thus, judgment errors caused by different illumination environments can be reduced. And judging whether the color difference value of the real-time image information and the template image exceeds a first set value or not through step S103. In step S103, by setting a first set value, if the first set value is exceeded in step S104, it is detected that the mixing ratio of the glue mixing pipe is abnormal. If the color difference value of the real-time image and the template image exceeds a first set value, the color difference glue of the mixed glue in the mixed glue pipe and the color difference glue of the template image are large, and the mixing proportion of the glue A and the glue B in the mixed pipe is abnormal. In order to ensure the dispensing effect of the product, timely alarm processing is needed, the dispensing operation is continued when the proportion of the glue in the glue mixing pipe is abnormal, and the alarm device can remind workers to check and discharge faults and adjust the glue to be in normal glue mixing proportion, and then the dispensing operation is performed. Therefore, the glue proportioning precision of the glue dispensing operation can be ensured, and the glue dispensing effect of the product can be maintained when the mixing ratio is abnormal, so that the defective rate of the product is reduced.
Referring to fig. 2, 10 and 12, in one embodiment of the invention, the method comprises the steps of:
s201, controlling an image sensor to acquire real-time image information of the glue mixing tube.
S202, comparing the real-time image information with template image information.
S203, judging whether the change rate of the color difference value of the real-time image information and the template image exceeds a second set value, and if so, judging whether the change rate exceeds the second set value.
S204, detecting that the mixing ratio of the glue mixing pipe is in an abnormal state.
Specifically, as shown in fig. 2, steps S201 to S202 are the same as the previous embodiment, and are all performed according to comparing the image information of the glue in the mixing tube acquired in real time with the image information of the template, and determining whether the glue in the mixing tube is abnormal or not through step S203. This is because the color change in the mixing tube is not great when there is a small change in the proportion of glue in the mixing tube. The abnormal glue mixing ratio is difficult to judge by comparing the newly acquired image information in the glue mixing pipe with the template information. In order to further improve the glue dispensing proportioning precision. In the embodiment of the present invention, through step S203, it is determined whether the rate of change of the color difference value between the real-time image information and the template image exceeds a second set value, and if the rate of change exceeds the second set value, the mixing ratio of the glue mixing tube is detected to be in an abnormal state. The inventor finds that when the glue in the glue mixing tube has smaller deviation of the glue mixing ratio, the difference value between the color of the glue mixed in the glue mixing tube and the color of the template image is not large, and the abnormal glue mixing ratio of the glue mixing tube is difficult to judge with high precision only by the mode that whether the difference value of the color exceeds the first set value. The inventor performs analysis and comparison by collecting a plurality of groups of data, and finds that when the glue in the glue mixing pipe has smaller deviation of the glue mixing ratio, the color difference value between the glue color after glue mixing in the glue mixing pipe and the color difference value of the template image is not large, but the change rate of the color difference value between the real-time image information and the template image is larger. Therefore, the glue dispensing proportioning precision monitoring can be realized by detecting the change rate of the color difference value. Therefore, the glue proportioning precision of the glue dispensing operation can be ensured, and the glue dispensing effect of the product can be maintained when the mixing ratio is abnormal, so that the defective rate of the product is reduced.
Referring to fig. 3, 9-12, in one embodiment of the invention, the method comprises the steps of:
s301, controlling an image sensor to acquire real-time image information of the glue mixing tube.
S302, comparing the real-time image information with template image information.
S303, judging whether the color difference value of the real-time image information and the template image exceeds a first set value.
S304, if the mixing ratio exceeds the first set value, detecting that the mixing ratio of the glue mixing pipe is in an abnormal state.
S305, if not, judging whether the change rate of the color difference value of the real-time image information and the template image exceeds a second set value, and if so, detecting that the mixing ratio of the glue mixing pipe is in an abnormal state.
Specifically, as shown in fig. 3, the embodiment of the present invention is a modification of the above two embodiments. Step S301 to step S304 are the same as those of the first embodiment, and are all performed to detect whether the mixing ratio of glue in the glue mixing tube is abnormal according to comparing the image information of glue in the glue mixing tube collected in real time with the image information of the template and judging whether the first set value is exceeded according to the comparison result. When it cannot be determined whether the glue in the mixing tube is abnormal in steps S301 to S304, it is determined whether the glue in the mixing tube is abnormal in step S305. This is because the color change in the mixing tube is not great when there is a small change in the proportion of glue in the mixing tube. The abnormal glue mixing ratio is difficult to judge by comparing the newly acquired image information in the glue mixing pipe with the template information. In order to further improve the glue dispensing proportioning precision. In the embodiment of the present invention, through step S305, it is further determined whether the rate of change of the color difference value between the real-time image information and the template image exceeds a second set value, and if the rate of change exceeds the second set value, the mixing ratio of the glue mixing tube is detected to be in an abnormal state. The inventor finds that when the glue in the glue mixing tube has smaller deviation of the glue mixing ratio, the difference value between the color of the glue mixed in the glue mixing tube and the color of the template image is not large, and the abnormal glue mixing ratio of the glue mixing tube is difficult to judge with high precision only by the mode that whether the difference value of the color exceeds the first set value. The inventor performs analysis and comparison by collecting a plurality of groups of data, and finds that when the glue in the glue mixing pipe has smaller deviation of the glue mixing ratio, the color difference value between the glue color after glue mixing in the glue mixing pipe and the color difference value of the template image is not large, but the change rate of the color difference value between the real-time image information and the template image is larger. Therefore, the glue dispensing proportioning precision monitoring can be realized by detecting the change rate of the color difference value. Therefore, the glue proportioning precision of the glue dispensing operation can be ensured, and the glue dispensing effect of the product can be maintained when the mixing ratio is abnormal, so that the defective rate of the product is reduced. As shown in fig. 10 and 12, in one embodiment of the present invention, the second set value may be a positive value or a negative value. Or a comparison of the negative value and the negative value.
Referring to fig. 4, the method for comparing the real-time image information with the template image information includes the steps of:
s401, converting the real-time image information into a real-time Lab color space value.
S402, comparing the L, a and b three-dimensional parameter values in the real-time Lab color space value with the ML, ma and Mb three-dimensional parameter values of the template Lab color space value of the template image information one by one.
Specifically, in the embodiment of the invention, the comparison between the real-time image information and the template image information is realized through the Lab color space value, because the Lab color space value is designed to be more similar to human vision relative to RGB and CMYK color spaces, the Lab color is used for sensing uniformity, and the L component of the Lab color space value closely matches human brightness sensing. And thus can be used to adjust the brightness contrast by modifying the output tone of the a and b components for accurate color balance, or using the L component, which is difficult or impossible in RGB or CMYK, thus making the real-time image information more accurate to template image information. In step S401, the real-time image information is converted into real-time Lab color space values. The Lab color space values include L, a, b three-dimensional parameter values, respectively. Where three basic coordinates represent the brightness L of the color (l=0 generating black and l=100 indicating white), its position a between red/magenta and green (negative value indicating green and positive value indicating magenta) and its position b between yellow and blue (negative value indicating blue and positive value indicating yellow). After the real-time image information is converted into the real-time Lab color space value, the color difference value of the real-time image information and the template image information is obtained by comparing the L, a and b three-dimensional parameter values in the real-time Lab color space value with the ML, ma and Mb three-dimensional parameter values of the template Lab color space value of the template image information in a step S402. Further, in one embodiment of the present invention, the method for calculating the color difference value between the real-time image information and the template image is:
Figure 908220DEST_PATH_IMAGE004
wherein, the liquid crystal display device comprises a liquid crystal display device,
Figure 774544DEST_PATH_IMAGE001
、/>
Figure 909991DEST_PATH_IMAGE002
、/>
Figure 785543DEST_PATH_IMAGE003
lab color space values of the template images respectively; l, a and b are Lab color space values of the real-time image respectively; />
Figure 690045DEST_PATH_IMAGE005
Is the color difference value;
further, in one embodiment of the present invention, the method for calculating the rate of change of the color difference value between the real-time image information and the template image is:
U=△DE1-△DE2/△DE2-△DE3;
wherein DeltaDE 1, deltaDE 2 and DeltaDE 3 are respectively the color difference values of the real-time image information and the template image which are separated by a time difference of 1 second; u is the rate of change of the color difference value.
Specifically, when monitoring the glue in the glue mixing pipe in real time, the image information of the glue in the 1-time mixing pipe is collected through 1 second, and each color difference value DeltaDE is calculated in real time through a calculation method of the color difference value of the real-time image information and the template image. According to the above formula u= Δde1- Δde2/- Δde2- Δde3. The rate of change of the primary color difference value can be calculated every three pieces of real-time sampled image information. In the process of acquiring the image information of the glue in the mixing tube for 1 time in 1 second, the image acquisition device can calculate the change rate of the color difference value of the sampled images for three times in real time through the formula. The real-time monitoring of the proportion of the glue in the glue mixing pipe is realized. And the real-time alarm when the mixing ratio of the glue in the glue mixing pipe is abnormal is ensured.
On the other hand, referring to fig. 5, the present invention further provides a glue mixing ratio detecting device, including: the device comprises an image acquisition module, an image comparison module and an image color difference judging module, wherein the image acquisition module is used for controlling an image sensor to acquire real-time image information of the glue mixing tube.
The image comparison module is used for comparing the real-time image information with the template image information.
The image color difference judging module is used for judging whether the color difference value of the real-time image information and the template image exceeds a first set value, and if the color difference value exceeds the first set value, detecting that the mixing ratio of the glue mixing pipe is in an abnormal state.
Referring to fig. 6, in one embodiment according to the present invention, the glue mixing ratio detecting device further includes: the image color difference change rate judging module is used for judging whether the change rate of the color difference value of the real-time image information and the template image exceeds a second set value, and if the change rate exceeds the second set value, detecting that the mixing ratio of the glue mixing pipe is in an abnormal state.
Referring to fig. 7, in one embodiment of the present invention, the image comparison module includes: the Lab image space conversion module is used for converting the real-time image information into a real-time Lab color space value;
the Lab image space parameter comparison module is used for respectively comparing the L, a and b three-dimensional parameter values in the real-time Lab color space values with the template Lab color space values of the template image information
Figure 992850DEST_PATH_IMAGE001
、/>
Figure 350013DEST_PATH_IMAGE002
、/>
Figure 763677DEST_PATH_IMAGE003
The three-dimensional parameter values are compared one by one.
Further, in one embodiment of the present invention, the image comparison module obtains the color difference value by the following formula:
Figure 522686DEST_PATH_IMAGE004
wherein, the liquid crystal display device comprises a liquid crystal display device,
Figure 996392DEST_PATH_IMAGE001
、/>
Figure 840852DEST_PATH_IMAGE002
、/>
Figure 792627DEST_PATH_IMAGE003
lab color space values of the template images respectively; l, a and b are Lab color space values of the real-time image respectively; />
Figure 668792DEST_PATH_IMAGE005
Is the color difference value;
the image color difference change rate judging module obtains the color difference value change rate through the following formula:
U=△DE1-△DE2/△DE2-△DE3;
wherein DeltaDE 1, deltaDE 2 and DeltaDE 3 are respectively the color difference values of the real-time image information and the template image which are separated by a time difference of 1 second; u is the rate of change of the color difference value.
Referring to fig. 8, in still another aspect, an embodiment of the present invention further provides a computer device, where the computer device includes a first memory, a first processor, and a computer program stored in the first memory and capable of running on the first processor, where the glue mixing ratio detecting method in the above steps is implemented when the first processor executes the computer program. Alternatively, the computer program, when executed by a processor, implements the functions of the modules/units in the apparatus described in the above embodiments, for example, the functions of the modules shown in fig. 8.
Referring to fig. 8, the computer device may include, but is not limited to, a processor, a memory. Those skilled in the art will appreciate that the illustrations are merely examples of computer devices and are not limiting of computer devices, and may include more or fewer components than illustrated, or combine certain components, or different components, e.g., the computer devices may also include input and output devices, network access devices, buses, etc.
The processor may be a central processing unit (Central Processing Unit, CPU), or other general purpose processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (FieldProgrammable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete preset hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory may be an internal storage unit of the computer device, such as a hard disk or a memory of the computer device. The memory may also be an external storage device of the computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the computer device. Further, the memory may also include both internal storage units and external storage devices of the computer device. The memory is used for storing the computer program and other programs and data required by the computer device. The memory may also be used to temporarily store data that has been output or is to be output.
The computer program may be stored in a computer readable storage medium, which computer program, when being executed by a processor, may carry out the steps of the various method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth.
Although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that the present invention may be modified or equivalents substituted for some of the features thereof. All equivalent structures made by the content of the specification and the drawings of the invention are directly or indirectly applied to other related technical fields, and are also within the scope of the invention.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the invention, and that variations, modifications, alternatives, and variations may be made in the above embodiments by those skilled in the art without departing from the spirit and principles of the invention.

Claims (10)

1. The glue mixing ratio detection method is characterized by comprising the following steps:
controlling an image sensor to acquire real-time image information of the glue mixing tube;
comparing the real-time image information with template image information;
judging whether the color difference value of the real-time image information and the template image exceeds a first set value, and if so, detecting that the mixing ratio of the glue mixing pipe is in an abnormal state;
and/or judging whether the change rate of the color difference value of the real-time image information and the template image exceeds a second set value, and if so, detecting that the mixing ratio of the glue mixing pipe is in an abnormal state.
2. The glue mixing ratio detection method according to claim 1, wherein the comparing the real-time image information with the template image information comprises:
converting the real-time image information into a real-time Lab color space value;
respectively combining the L, a and b three-dimensional parameter values in the real-time Lab color space value with the template Lab color space value of the template image information
Figure 375961DEST_PATH_IMAGE001
、/>
Figure 707716DEST_PATH_IMAGE002
、/>
Figure 463182DEST_PATH_IMAGE003
The three-dimensional parameter values are compared one by one.
3. The glue mixing ratio detecting method according to claim 1, wherein when judging whether the color difference value of the real-time image information and the template image exceeds a first set value, the calculating method of the color difference value of the real-time image information and the template image is as follows:
Figure 931204DEST_PATH_IMAGE004
wherein, the liquid crystal display device comprises a liquid crystal display device,
Figure 746713DEST_PATH_IMAGE001
、/>
Figure 831344DEST_PATH_IMAGE002
lab color space values of the template images respectively; l, a and b are Lab color space values of the real-time image respectively; />
Figure 265867DEST_PATH_IMAGE005
Is the color difference value.
4. The glue mixing ratio detecting method according to claim 3, wherein when judging whether the rate of change of the color difference value of the real-time image information and the template image exceeds the second set value, the calculating method of the rate of change of the color difference value of the real-time image information and the template image is as follows:
U=△DE1-△DE2/△DE2-△DE3;
wherein, deltaDE 1, deltaDE 2, deltaDE 3 are the color difference value of the real-time image information and the template image separated by a set time difference; u is the rate of change of the color difference value.
5. The method of claim 4, wherein the set time difference is an image sampling time of 1 second apart.
6. Glue mixing ratio detection device, characterized by including:
the image acquisition module is used for controlling the image sensor to acquire real-time image information of the glue mixing pipe;
the image comparison module is used for comparing the real-time image information with the template image information;
the image color difference judging module is used for judging whether the color difference value of the real-time image information and the template image exceeds a first set value, and if so, detecting that the mixing ratio of the glue mixing pipe is in an abnormal state;
the image color difference change rate judging module is used for judging whether the change rate of the color difference value of the real-time image information and the template image exceeds a second set value, and if the change rate exceeds the second set value, detecting that the mixing ratio of the glue mixing pipe is in an abnormal state.
7. The glue mixing ratio detection device of claim 6, wherein the image comparison module comprises:
the Lab image space conversion module is used for converting the real-time image information into a real-time Lab color space value;
lab image space parameter comparison module for respectively comparing L, a and b three-dimensional parameter values in the real-time Lab color space values with template Lab color space values of template image information
Figure 978609DEST_PATH_IMAGE001
、/>
Figure 595314DEST_PATH_IMAGE002
、/>
Figure 291874DEST_PATH_IMAGE003
The three-dimensional parameter values are compared one by one.
8. The glue mixing ratio detection device according to claim 6, wherein the image comparison module obtains a color difference value by the following formula:
Figure 264510DEST_PATH_IMAGE004
wherein, the liquid crystal display device comprises a liquid crystal display device,
Figure 97336DEST_PATH_IMAGE001
、/>
Figure 864435DEST_PATH_IMAGE002
、/>
Figure 782713DEST_PATH_IMAGE003
lab color space values of the template images respectively; l, a and b are Lab color space values of the real-time image respectively; />
Figure 559039DEST_PATH_IMAGE005
Is the color difference value.
9. The glue mixing ratio detection device according to claim 7, wherein the image color difference change rate determination module obtains a color difference value change rate by the following formula:
U=△DE1-△DE2/△DE2-△DE3;
wherein DeltaDE 1, deltaDE 2 and DeltaDE 3 are respectively the color difference values of the real-time image information and the template image which are separated by a time difference of 1 second; u is the rate of change of the color difference value.
10. A computer device comprising a first memory, a first processor and a computer program stored on the first memory and executable on the first processor, characterized in that the first processor implements the glue mix detection method according to any one of claims 1 to 5 when executing the computer program.
CN202211713782.4A 2022-12-30 2022-12-30 Glue mixing ratio detection method and device and computer equipment Pending CN116297234A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211713782.4A CN116297234A (en) 2022-12-30 2022-12-30 Glue mixing ratio detection method and device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211713782.4A CN116297234A (en) 2022-12-30 2022-12-30 Glue mixing ratio detection method and device and computer equipment

Publications (1)

Publication Number Publication Date
CN116297234A true CN116297234A (en) 2023-06-23

Family

ID=86833018

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211713782.4A Pending CN116297234A (en) 2022-12-30 2022-12-30 Glue mixing ratio detection method and device and computer equipment

Country Status (1)

Country Link
CN (1) CN116297234A (en)

Similar Documents

Publication Publication Date Title
US10832625B2 (en) Gray scale adjustment method and device for display panel
CN107659806B (en) The appraisal procedure and device of video quality
CN113304971B (en) 3D dynamic guiding dispensing compensation method, device and equipment and storage medium thereof
CN108593645A (en) A kind of testing result of Urine test paper determines method and determining device
CN108961345A (en) A kind of effective determination method and determining device of color in Urine test paper
US11781973B2 (en) Methods and systems for calibrating and using a camera for detecting an analyte in a sample
CN104316192A (en) Image display quality testing method, testing platform and system
CN106662484A (en) Calibration method and apparatus for brightness detection value and chrominance detection value of optical camera
CN116297234A (en) Glue mixing ratio detection method and device and computer equipment
US9978338B2 (en) Method and system of showing colors for mosaic display device
CN103117037A (en) Full-color video displaying correction method
CN104243967A (en) Image detection method and device
CN111912974B (en) Immune reagent calibration method
CN110610493B (en) Image processing method and device and electronic equipment
CN115050341B (en) Method and device for uniformly adjusting screen color and storage medium
CN102006496B (en) Data processing equipment and method for implementing video signal measurement
CN108362650B (en) Liquid chromaticity detection method and device
US11255705B2 (en) Method for setting quality thresholds of products for testing purposes and device employing method
CN116246558A (en) Display performance detection method and device for display, terminal equipment and storage medium
CN103137218B (en) Method and device for adjusting pointer
CN112880831B (en) Chromatic aberration measuring method and device and chromatic aberration measuring instrument
CN112465780B (en) Method and device for monitoring abnormal film thickness of insulating layer
CN110780478B (en) Liquid crystal screen calibration detection method
CN109903735B (en) Display calibration method, device, system, computer equipment and storage medium
US10048131B2 (en) Chromaticity test method and chromaticity test apparatus

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