Empty bottle online detection method, system, intelligent terminal and storage medium

By analyzing the light transmission condition of the bottle body and estimated specification information, the lighting intensity of the lighting device is adjusted in real time, and the problem of unclear images in the detection of bottle body of different specifications is solved, and the detection accuracy is improved.

CN118209525BActive Publication Date: 2024-11-12宁波益富乐生物科技有限公司
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202410484803.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-22
Publication Date
2024-11-12
Estimated Expiration
2044-04-22

AI Technical Summary

Technical Problem

In the existing bottle body detection technology, when the lighting device of the same brightness detects bottle bodies of different specifications, it is easy to cause unclear images, thereby reducing detection accuracy.

Method used

By obtaining image detection information and current light intensity value, analyzing and determining the light transmission condition information of the bottle, retrieving the estimated specification light intensity value, and outputting the light intensity adjustment value to the lighting device, adjusting the light intensity in real time to improve detection accuracy.

Benefits of technology

By adjusting the light intensity in real time, the accuracy of bottle detection and the accuracy of light transmission information are improved, and the reliability of the detection results are ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118209525B_ABST
    Figure CN118209525B_ABST
Patent Text Reader

Abstract

The present invention relates to an online empty bottle detection method, system, intelligent terminal and storage medium, and relates to the technical field of bottle body detection, which includes: obtaining image detection information and current light intensity value; analyzing according to the image detection information and the current light intensity value to determine the light transmittance information of the bottle body; analyzing according to the light transmittance information of the bottle body to determine the estimated specification information of the bottle body; retrieving the estimated specification light intensity value based on the estimated specification information of the bottle body; calculating the difference between the estimated specification light intensity value and the current light intensity value as the light intensity adjustment value, and outputting the light intensity adjustment value to the lighting device for adjustment; re-obtaining the image detection information and analyzing it to determine the bottle body detection result information. The present invention has the effect of improving the accuracy of bottle body detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of bottle detection, and in particular to an empty bottle online detection method, system, intelligent terminal and storage medium. Background Art

[0002] Bottle inspection is an important quality control link. It ensures that parameters such as the shape, size and verticality of the bottle meet the design requirements. This has a significant impact on the safety of the product during storage and transportation. It is widely used in food, beverage and chemical industries.

[0003] In the related art, when inspecting the bottle body, the bottle body is generally transported through a light shield to isolate the external light. A lighting device is installed in the light shield to illuminate the bottle body, and the bottle body is photographed at different angles in the light shield to obtain images of different positions of the bottle body. The images of different positions of the bottle body are then compared with set values ​​to identify the process defects of the bottle body.

[0004] With respect to the above-mentioned related technologies, the applicant has found the following defects: in the process of detecting and identifying the process defects of the bottle body, the bottle body is generally illuminated by a lighting device with the same brightness and the bottle body image is photographed and then detected. Since bottles of different specifications have different lighting requirements, it is easy to cause the acquired bottle body image to be unclear, which in turn leads to reduced detection accuracy. Summary of the invention

[0005] In order to improve the accuracy of bottle detection, the present invention provides an empty bottle online detection method, system, intelligent terminal and storage medium.

[0006] In a first aspect, the present invention provides an online empty bottle detection method, which adopts the following technical solution:

[0007] An empty bottle online detection method, comprising:

[0008] Get image detection information and current light intensity value;

[0009] Analyze the image detection information and the current light intensity value to determine the light transmittance information of the bottle;

[0010] Analyze the light transmittance of the bottle to determine the estimated specifications of the bottle;

[0011] Retrieve the estimated specification light intensity value based on the estimated specification information of the bottle;

[0012] Calculate the difference between the estimated specification light intensity value and the current light intensity value as the light intensity adjustment value, and output the light intensity adjustment value to the lighting device for adjustment;

[0013] The image detection information is re-acquired and analyzed to determine the bottle body detection result information.

[0014] Optionally, the method for determining the bottle light transmittance information includes:

[0015] According to the preset bottle features, the image detection information is identified to obtain the bottle area information;

[0016] According to the correspondence between the image detection information, the bottle area information and the preset remaining area information, the remaining area information corresponding to the image detection information and the bottle area information is determined;

[0017] Retrieving the remaining area brightness value corresponding to each remaining area position point based on the remaining area information;

[0018] According to the corresponding relationship between the current light intensity value and the preset brightness reference value, the brightness reference value corresponding to the current light intensity value is determined;

[0019] Calculate the quotient between the brightness value of the remaining area and the brightness reference value and use it as the brightness reference impact value;

[0020] Based on the bottle area information, the bottle area brightness value corresponding to each bottle area position point is retrieved;

[0021] Calculate the difference between the brightness value of the bottle area and the brightness value of the remaining area and use it as the bottle brightness deviation value;

[0022] The product value between the brightness deviation value of each bottle and the brightness reference influence value is calculated and used as the bottle transmittance, and the bottle transmittance corresponding to each bottle area position point is used as the bottle transmittance situation information.

[0023] Optionally, the method for determining the estimated specification information of the bottle includes:

[0024] Based on the bottle body light transmittance information, retrieve each bottle body area position point and the bottle body light transmittance corresponding to the bottle body area position point;

[0025] The position point of the bottle area corresponding to the consistent light transmittance of the bottle body is taken as the consistent light transmittance position point;

[0026] According to the adjacent states of the light transmission consistent position points, the light transmission consistent area is analyzed and obtained;

[0027] The light transmittance of the bottle body corresponding to the uniform light transmittance area is taken as the light transmittance of the uniform area;

[0028] According to the correspondence between the uniform light transmission area, the uniform light transmission degree of the uniform area and the preset uniform area specification information, the uniform area specification information corresponding to the uniform light transmission area and the uniform light transmission degree of the uniform area is determined;

[0029] All consistent regional specification information is combined and used as the estimated bottle specification information.

[0030] Optionally, the method further includes steps after outputting the light intensity adjustment value, which are as follows:

[0031] Calculate the difference between each light intensity adjustment value and use it as the adjustment deviation value;

[0032] Analyze and obtain additional adjustment values ​​based on whether the adjustment deviation value falls within the preset adjustment deviation benchmark interval;

[0033] The light transmittance consistent area corresponding to the additional adjustment value is used as the additional adjustment area;

[0034] According to the correspondence between the additional adjustment region, the additional adjustment value and the preset additional adjustment control information, the additional adjustment control information corresponding to the additional adjustment region and the additional adjustment value is determined, and the additional adjustment control information is output.

[0035] Optionally, the method further includes steps after outputting the light intensity adjustment value, which are as follows:

[0036] According to the situation where the light intensity adjustment value falls within the preset adjustment reference interval, the adjustment excess value is analyzed and obtained;

[0037] When the adjusted excess value is less than the preset excess reference value, the light transmittance consistent area corresponding to the adjusted excess value is used as the excess adjustment area;

[0038] According to the correspondence between the excess adjustment area and the preset detail detection control information, the detail detection control information corresponding to the excess adjustment area is determined, and the detail detection control information is output.

[0039] Optionally, the method further includes steps after analyzing and obtaining the adjusted excess value, which are as follows:

[0040] When the adjusted excess value is not less than the preset excess reference value, the inflation detection control information is output to control the inflatable member preset in the light shield to extend into the bottle body and inflate, and the inflatable member is equipped with an airbag member for covering the bottle mouth on the bottle body;

[0041] Get the air pressure detection value in the bottle in real time;

[0042] The air pressure detection values ​​at each time are processed into images to form an air pressure detection change curve;

[0043] Analyze and obtain curve difference information according to the difference between the air pressure detection change curve and the preset air pressure detection reference curve;

[0044] Retrieving a curve difference value based on the curve difference information;

[0045] According to the falling condition of the curve distinction value and the preset curve distinction reference interval, the abnormal information of bottle leakage is analyzed and obtained, and the abnormal information of bottle leakage is output.

[0046] Optionally, the method further includes a step after outputting the inflation detection control information to control the inflation member preset in the light shield to extend into the bottle body and inflate, which is specifically as follows:

[0047] Obtain the temperature detection value of each light-transmitting area of ​​the bottle in real time;

[0048] Analyze the estimated bottle specifications and preset gas temperature values ​​to determine the temperature reference value;

[0049] Calculate the difference between the temperature detection value and the temperature reference value and use it as the temperature deviation value;

[0050] According to the corresponding relationship between the temperature deviation value and the preset abnormal bottle thickness information, the abnormal bottle thickness information corresponding to the temperature deviation value is determined, and the abnormal bottle thickness information is output.

[0051] In a second aspect, the present invention provides an online empty bottle detection system, which adopts the following technical solution:

[0052] An empty bottle online detection system, comprising:

[0053] An acquisition module is used to obtain image detection information, current light intensity value, air pressure detection value and temperature detection value;

[0054] A memory, used to store a program of the online empty bottle detection method as described in any one of the first aspects;

[0055] The program in the memory can be loaded and executed by the processor to implement the online empty bottle detection method as described in any one of the first aspects.

[0056] In a third aspect, the present invention provides an intelligent terminal, which adopts the following technical solution:

[0057] An intelligent terminal comprises a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and execute the online empty bottle detection method as described in any one of the first aspects.

[0058] In a fourth aspect, the present invention provides a computer storage medium capable of storing corresponding programs, which is convenient for improving the accuracy of bottle detection and adopts the following technical solutions:

[0059] A computer storage medium stores a computer program that can be loaded by a processor and execute the online empty bottle detection method as described in any one of the first aspects.

[0060] In summary, the present invention includes at least one of the following beneficial technical effects:

[0061] 1. The light transmittance information of the bottle is determined by detecting and analyzing the image detection information and the current light intensity value, and then the estimated specification information of the bottle is determined by analyzing and determining the estimated specification light intensity value. The light intensity adjustment value is retrieved and outputted, so that the light intensity is adjusted in real time when the bottle is detected. Then, the bottle detection result information is determined by analyzing the re-acquired image detection information, thereby improving the accuracy of bottle detection;

[0062] 2. The image detection information is identified through the bottle features to obtain the bottle area information, and then the remaining area information is determined through the analysis of the image detection information and the bottle area information, and the brightness value of the remaining area is retrieved. The brightness reference value is determined by querying the current light intensity value, and the brightness reference influence value is calculated. The bottle area brightness value is retrieved through the bottle area information, and then the bottle brightness deviation value is calculated. The product value between the bottle brightness deviation value and the brightness reference influence value is used as the bottle transmittance, and the bottle transmittance corresponding to each bottle area position point is used as the bottle transmittance information, thereby improving the accuracy of the obtained bottle transmittance information;

[0063] 3. The bottle area position points and bottle transmittance are retrieved through the bottle body transmittance information, and the bottle area position points corresponding to the consistent bottle body transmittance are used as consistent transmittance position points. The consistent transmittance area is analyzed and obtained through the adjacent states of the consistent transmittance position points, and the bottle body transmittance corresponding to the consistent transmittance area is used as the consistent area transmittance. The consistent area specification information is determined through the analysis of the consistent transmittance area and the consistent area transmittance, and then all the consistent area specification information is combined and used as the bottle estimated specification information, thereby improving the accuracy of the obtained bottle estimated specification information. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] Figure 1 It is a flow chart of the method for online detection of empty bottles according to an embodiment of the present application.

[0065] Figure 2 It is a flow chart of a method for determining bottle light transmittance information according to an embodiment of the present application.

[0066] Figure 3 It is a flow chart of a method for determining estimated bottle specification information according to an embodiment of the present application.

[0067] Figure 4 The method flow of the step after outputting the light intensity adjustment value in the embodiment of the present application is Figure 1 .

[0068] Figure 5The method flow of the step after outputting the light intensity adjustment value in the embodiment of the present application is Figure 2 .

[0069] Figure 6 It is a method flow chart of the steps after analyzing and obtaining the adjusted excess value in an embodiment of the present application.

[0070] Figure 7 It is a method flow chart of the steps after outputting inflation detection control information to control the inflation member preset in the light shield to extend into the bottle body and inflate.

[0071] Figure 8 It is a system flow chart of online empty bottle detection according to an embodiment of the present application.

[0072] Explanation of the accompanying drawings: 1. Acquisition module; 2. Memory; 3. Processor. DETAILED DESCRIPTION

[0073] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the following Figure 1-8 It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0074] The embodiment of the invention discloses an online empty bottle detection method.

[0075] Reference Figure 1 , an empty bottle online detection method comprises:

[0076] Step S100: Obtain image detection information and current light intensity value.

[0077] The image detection information refers to the detection information when the image of the bottle is acquired. The image detection information is acquired through a preset image detection device. The image detection device refers to a device for acquiring images such as a camera or a video camera for taking pictures of the bottle. The current light intensity value refers to the corresponding value of the light intensity generated by the lighting device at the current time. The current light intensity value is acquired by analyzing and detecting data such as the working power of the lighting device.

[0078] Step S200: analyzing the image detection information and the current light intensity value to determine the light transmittance information of the bottle.

[0079] The bottle body light transmittance information refers to the light transmittance information corresponding to the bottle body after being irradiated with light. The bottle body light transmittance information is determined by analyzing the image detection information and the current light intensity value, which is convenient for subsequent use.

[0080] Step S300: analyzing the light transmittance information of the bottle to determine the estimated specification information of the bottle.

[0081] Among them, the estimated bottle specification information refers to the estimated information on the specifications of the bottle. By analyzing the light transmittance information of the bottle, the estimated bottle specification information is determined to facilitate subsequent use.

[0082] Step S400: Retrieving the estimated specification light intensity value based on the estimated specification information of the bottle.

[0083] The estimated specification light intensity value refers to the required value of the light intensity of the estimated specification of the bottle body, and the estimated specification light intensity value is obtained by querying the database storing the estimated specification light intensity value. The estimated specification light intensity value is retrieved through the estimated specification information of the bottle body for subsequent use.

[0084] Step S500: Calculate the difference between the estimated specification light intensity value and the current light intensity value and use it as a light intensity adjustment value, and output the light intensity adjustment value to the lighting device for adjustment.

[0085] Among them, the light intensity adjustment value refers to the adjustment value used to control the lighting device to adjust the light intensity. The difference between the estimated specification light intensity value and the current light intensity value is used as the light intensity adjustment value, and the light intensity adjustment value is output to the lighting device for adjustment, thereby facilitating subsequent accurate detection of the bottle body.

[0086] Step S600: reacquire image detection information and analyze it to determine bottle body detection result information.

[0087] Among them, the bottle body detection result information is determined by re-acquiring the image detection information and then analyzing the re-acquired image detection information, so that the bottle body detection result information obtained in the process of bottle body detection is analyzed and determined after real-time adjustment of the light intensity, thereby improving the accuracy of bottle body detection.

[0088] exist Figure 1 In step S200, in order to further ensure the rationality of the bottle light transmittance information, it is necessary to further analyze and calculate the bottle light transmittance information separately. Figure 2 The steps shown are explained in detail.

[0089] Reference Figure 2 The method for determining the light transmittance information of the bottle comprises the following steps:

[0090] Step S210: identifying the image detection information according to the preset bottle features to obtain the bottle area information.

[0091] Among them, the bottle body features refer to the features used to indicate the details of each part of the bottle body, and the bottle body features are queried and obtained from the database storing the bottle body features. By using the bottle body features to identify the image detection information, the bottle body area information is obtained, which is convenient for subsequent use.

[0092] Step S220: determining the remaining area information corresponding to the image detection information and the bottle area information according to the corresponding relationship between the image detection information, the bottle area information and the preset remaining area information.

[0093] The remaining area information refers to the area information of the bottle body image except the bottle body, and the remaining area information is obtained by querying from a database storing the remaining area information. By analyzing the image detection information and the bottle body area information, the remaining information of the image detection information except the bottle body area information is queried and determined as the remaining area information, which is convenient for subsequent use.

[0094] Step S230: Retrieving the remaining area brightness value corresponding to each remaining area position point based on the remaining area information.

[0095] Among them, the remaining area brightness value refers to the brightness value corresponding to the remaining area, and the remaining area brightness value is obtained by querying from a database storing the remaining area brightness value. The remaining area position point refers to the position point in the remaining area, and the remaining area position point is obtained by querying from a database storing the remaining area position points. The remaining area brightness value corresponding to each remaining area position point is retrieved through the remaining area information, so as to facilitate subsequent use.

[0096] Step S240: determining a brightness reference value corresponding to the current light intensity value according to a correspondence between the current light intensity value and a preset brightness reference value.

[0097] The brightness reference value refers to the reference brightness value corresponding to the image obtained during the illumination process of the lighting device at the current time, and the brightness reference value is obtained by querying the database storing the brightness reference value. The brightness reference value is determined by querying the current light intensity value, which is convenient for subsequent use.

[0098] Step S250: Calculate the quotient between the brightness value of the remaining area and the brightness reference value and use it as the brightness reference influence value.

[0099] The brightness reference impact value refers to the reference impact value when the brightness is affected when acquiring the image. The quotient between the brightness value of the remaining area and the brightness reference value is calculated and used as the brightness reference impact value for subsequent use.

[0100] Step S260: based on the bottle area information, retrieve the bottle area brightness value corresponding to each bottle area position point.

[0101] Among them, the bottle area brightness value refers to the corresponding brightness value in the bottle area, and the bottle area brightness value is obtained by querying from a database storing the bottle area brightness value. The bottle area position point refers to each position point in the bottle area, and the bottle area position point is obtained by querying from a database storing the bottle area position point. The bottle area brightness value corresponding to each bottle area position point is retrieved through the bottle area information, which is convenient for subsequent use.

[0102] Step S270: Calculate the difference between the brightness value of the bottle area and the brightness value of the remaining area and use it as the bottle brightness deviation value.

[0103] The bottle body brightness deviation value refers to the deviation value when there is a deviation in the brightness of the bottle body. The difference between the brightness value of the bottle body area and the brightness value of the remaining area is calculated and used as the bottle body brightness deviation value for subsequent use.

[0104] Step S280: Calculate the product value between each bottle brightness deviation value and the brightness reference influence value and use it as the bottle light transmittance, and use the bottle light transmittance corresponding to each bottle area position point as bottle light transmittance condition information.

[0105] Among them, the bottle transmittance refers to a specific value used to indicate the light transmittance of the bottle. The product value between the bottle brightness deviation value and the brightness reference influence value is calculated and used as the bottle transmittance, and the bottle transmittance corresponding to each bottle area position point is used as the bottle transmittance information, thereby improving the accuracy of the obtained bottle transmittance information.

[0106] exist Figure 1 In step S300, in order to further ensure the rationality of the estimated bottle specification information, it is necessary to further analyze and calculate the estimated bottle specification information. Figure 3 The steps shown are explained in detail.

[0107] Reference Figure 3 , the method for determining the estimated specification information of the bottle body includes the following steps:

[0108] Step S310: based on the bottle body light transmittance information, retrieve each bottle body area position point and the bottle body light transmittance corresponding to the bottle body area position point.

[0109] Among them, each bottle area position point and the bottle area position point corresponding to the bottle area position point are retrieved through the bottle body transmittance information, which is convenient for subsequent use.

[0110] Step S320: taking the position points in the bottle area corresponding to the consistent light transmittance of the bottle as consistent light transmittance position points.

[0111] The consistent light transmittance position point refers to a position point in the bottle body with the same light transmittance. By using the position point in the bottle body area corresponding to the consistent light transmittance of the bottle body as the consistent light transmittance position point, it is convenient for subsequent use.

[0112] Step S330: Analyze and obtain the consistent light transmission area according to the adjacent states of the consistent light transmission position points.

[0113] The consistent light transmission area refers to an area with the same light transmittance in the bottle body. By analyzing the adjacent states of the consistent light transmission position points, the area formed by the adjacent states of the consistent light transmission position points is used as the consistent light transmission area, which is convenient for subsequent use.

[0114] Step S340: taking the bottle body transmittance corresponding to the uniform light transmittance area as the uniform light transmittance of the uniform area.

[0115] The consistent area transmittance refers to the specific value of the transmittance corresponding to the area with the same transmittance in the bottle body. By taking the bottle body transmittance corresponding to the consistent area transmittance as the consistent area transmittance, subsequent use is facilitated.

[0116] Step S350: determining the consistent region specification information corresponding to the consistent region and the consistent region transmittance according to the correspondence between the consistent region, the consistent region transmittance and the preset consistent region specification information.

[0117] The consistent area specification information refers to the specification information corresponding to the area with the same light transmittance in the bottle body, and the consistent area specification information is obtained by querying the database storing the consistent area specification information. The consistent area specification information is determined by querying the consistent light transmittance area and the consistent area transmittance, so as to facilitate subsequent use.

[0118] Step S360: All the consistent area specification information is combined and used as the estimated bottle specification information.

[0119] Among them, by combining all the consistent area specification information and using it as the bottle body estimated specification information, the obtained bottle body estimated specification information can understand each position of the bottle body, and each position is affected by the bottle body transmittance, thereby improving the accuracy of the obtained bottle body estimated specification information.

[0120] exist Figure 1 After step S500, in order to further ensure the rationality of the output light intensity adjustment value, it is necessary to further analyze and calculate the output light intensity adjustment value. Figure 4 The steps shown are explained in detail.

[0121] Reference Figure 4 , the steps after outputting the light intensity adjustment value include the following steps:

[0122] Step S510: Calculate the difference between each illumination intensity adjustment value and use it as the adjustment deviation value.

[0123] The adjustment deviation value refers to a deviation value when the light intensity is adjusted. The difference between the light intensity adjustment values ​​is calculated and used as the adjustment deviation value, so as to facilitate subsequent use.

[0124] Step S520: Analyze and obtain an additional adjustment value according to whether the adjustment deviation value falls within a preset adjustment deviation reference interval.

[0125] The additional adjustment value refers to the adjustment value that needs to be adjusted additionally, the adjustment deviation reference interval refers to the reference deviation interval allowed when adjusting the light intensity, and the adjustment deviation reference interval is obtained by querying a database storing the adjustment deviation reference interval.

[0126] By analyzing the fall-out of the adjustment deviation value and the adjustment deviation benchmark interval, when the adjustment deviation value falls into the adjustment deviation benchmark interval, it means that no additional adjustment is needed at this time, so the preset additional benchmark adjustment value is output and used as the additional adjustment value; when the adjustment deviation value does not fall into the adjustment deviation benchmark interval, it means that additional adjustment is needed at this time, so the difference between the adjustment deviation value and the adjustment deviation benchmark interval is calculated and used as the additional adjustment value, so as to facilitate subsequent use.

[0127] Step S530: taking the uniform light transmittance region corresponding to the additional adjustment value as the additional adjustment region.

[0128] The additional adjustment area refers to an area that needs additional adjustment. By using the consistent light transmittance area corresponding to the additional adjustment value as the additional adjustment area, subsequent use is facilitated.

[0129] Step S540: determining the additional adjustment control information corresponding to the additional adjustment region and the additional adjustment value according to the correspondence between the additional adjustment region, the additional adjustment value and the preset additional adjustment control information, and outputting the additional adjustment control information.

[0130] Among them, the additional adjustment control information refers to the control information for adjusting the additional adjustment area. The additional adjustment control information is determined and output by querying the additional adjustment area and the additional adjustment value, so as to adjust the additional adjustment area, thereby improving the accuracy of the bottle body detection result information finally obtained, and finally achieving the purpose of improving the accuracy of bottle body detection.

[0131] exist Figure 1After step S500, in order to further ensure the rationality of the output light intensity adjustment value, it is necessary to further analyze and calculate the output light intensity adjustment value. Figure 5 The steps shown are explained in detail.

[0132] Reference Figure 5 , the steps after outputting the light intensity adjustment value include the following steps:

[0133] Step S550: Analyze and obtain the excess adjustment value according to whether the light intensity adjustment value falls within the preset adjustment reference interval.

[0134] Among them, the adjustment excess value refers to the excess value of the excess adjustment when adjusting the light intensity, the adjustment benchmark interval refers to the benchmark adjustment interval corresponding to the light intensity adjustment without the need for subsequent processing, and the adjustment benchmark interval is obtained by querying from a database storing the adjustment benchmark interval.

[0135] By analyzing the situation where the light intensity adjustment value falls within the preset adjustment benchmark interval, when the light intensity adjustment value falls within the adjustment benchmark interval, it means that adjustment can be made directly at this time, so the preset adjustment excess benchmark value is output and used as the adjustment excess value; when the light intensity adjustment value does not fall within the adjustment benchmark interval, it means that adjustment cannot be made directly at this time, so the light intensity adjustment value and the preset adjustment benchmark interval are calculated and used as the adjustment excess value for subsequent use.

[0136] Step S560: When the adjusted excess value is less than the preset excess reference value, the uniform light transmission area corresponding to the adjusted excess value is used as the excess adjustment area.

[0137] The excess reference value refers to the reference value that can be tolerated when adjusting the light intensity, and the excess reference value is obtained by querying the database storing the excess reference value. The excess adjustment area refers to the area corresponding to the excess adjustment when adjusting the light intensity. When the adjusted excess value is less than the preset excess reference value, it means that the image can be further processed to improve the accuracy. Therefore, the consistent light transmission area corresponding to the adjusted excess value is used as the excess adjustment area for subsequent use.

[0138] Step S570: determining detail detection control information corresponding to the excess adjustment area according to the correspondence between the excess adjustment area and preset detail detection control information, and outputting the detail detection control information.

[0139] The detail detection control information refers to the control information used to control the image detection device to perform further detail image detection, and the detail detection control information is obtained by querying the database storing the detail detection control information. The detail detection control information is determined and outputted by querying the excess adjustment area, thereby controlling the image detection device to perform further detail image detection, thereby improving the accuracy of the bottle body detection result information finally obtained, and finally achieving the purpose of improving the accuracy of bottle body detection.

[0140] exist Figure 5 After step S550, in order to further ensure the rationality of the analysis and acquisition of the adjusted excess value, it is necessary to perform further separate analysis and calculation on the analysis and acquisition of the adjusted excess value, specifically by Figure 6 The steps shown are explained in detail.

[0141] Reference Figure 6 , the steps after analyzing and obtaining the adjusted excess value include the following steps:

[0142] Step S551: When the adjusted excess value is not less than the preset excess reference value, inflation detection control information is output to control the inflation member preset in the light shield to extend into the bottle body and inflate.

[0143] The inflatable part refers to a device for inflating the bottle body. The inflatable part is preset in the light shield and can move in the vertical direction. The inflatable part is equipped with an airbag part for covering the bottle mouth on the bottle body. The airbag part will swell during the inflation process to press and block the bottle mouth of the bottle body, so that the gas in the bottle body is not easy to overflow. The inflation detection control information refers to the control information for controlling the inflatable part to move into the bottle body and inflate. The inflation detection control information is obtained by querying from a database storing the inflation detection control information.

[0144] When the adjusted excess value is not less than the preset excess reference value, it means that the image cannot be further processed to improve accuracy, so the inflation detection control information is output to control the inflation member preset in the light shield to extend into the bottle body and inflate.

[0145] Step S552: Acquire the air pressure detection value in the bottle in real time.

[0146] The air pressure detection value refers to the detection value of the air pressure in the bottle, and the air pressure detection value is detected and obtained by the air pressure detection device preset on the inflatable part. By obtaining the air pressure detection value in the bottle in real time, it is convenient for subsequent use.

[0147] Step S553: ​​Processing the air pressure detection values ​​at each time into images to form an air pressure detection change curve.

[0148] Among them, the air pressure detection change curve refers to a curve in which the detected air pressure in the bottle changes with time. The air pressure detection values ​​at each time are processed in a graphical manner to form the air pressure detection change curve, which is convenient for subsequent use.

[0149] Step S554: Analyze and obtain curve difference information based on the difference between the air pressure detection change curve and the preset air pressure detection reference curve.

[0150] The pressure detection reference curve refers to the reference curve of the pressure inside the bottle changing with time, and the pressure detection reference curve is obtained by querying from a database storing the pressure detection reference curve. Curve difference information refers to difference information when there is a difference in the pressure detection curve inside the bottle. The difference between the pressure detection change curve and the preset pressure detection reference curve is analyzed, and the difference between the pressure detection change curve and the preset pressure detection reference curve is used as the curve difference information for subsequent use.

[0151] Step S555: Retrieve the curve distinction value based on the curve distinction information.

[0152] The curve difference value refers to the specific difference value corresponding to the difference in the detected air pressure curve in the bottle, and the curve difference value is obtained by querying the database storing the curve difference value. The curve difference value is retrieved through the curve difference information, so as to facilitate subsequent use.

[0153] Step S556: Analyze and obtain the abnormal bottle leakage information according to whether the curve distinction value falls within the preset curve distinction reference interval, and output the abnormal bottle leakage information.

[0154] Among them, the curve distinction reference interval refers to the reference interval that can be tolerated when there is a deviation in the detected air pressure in the bottle body, and the curve distinction reference interval is queried and obtained from the database storing the curve distinction reference interval. Bottle leakage abnormal information refers to abnormal warning information used to indicate whether there is leakage in the bottle body. By analyzing the falling situation of the curve distinction value and the preset curve distinction reference interval, when the curve distinction value falls into the preset curve distinction reference interval, it means that there is no leakage in the bottle body at this time, so the preset bottle no abnormality information is output and used as the bottle leakage abnormality information. When the curve distinction value does not fall into the preset curve distinction reference interval, it means that there is leakage in the bottle body at this time, so according to the correspondence between the excess adjustment area and the preset regional leakage abnormality information, the regional leakage abnormality information corresponding to the excess adjustment area is determined, and the regional leakage abnormality information is used as the bottle leakage abnormality information, and then the bottle leakage abnormality information is output, thereby improving the accuracy of bottle detection.

[0155] exist Figure 6After step S551, in order to further ensure the rationality of the output of the inflation detection control information, it is necessary to perform further separate analysis and calculation on the output of the inflation detection control information. Figure 7 The steps shown are explained in detail.

[0156] Reference Figure 7 The steps after outputting the inflation detection control information to control the inflation member preset in the light shield to extend into the bottle body and inflate include the following steps:

[0157] Step S5511: acquiring the temperature detection values ​​of each light-transmitting area of ​​the bottle body in real time.

[0158] The temperature detection value refers to the detection value of the temperature of each light-transmitting area on the bottle body, and the temperature detection value is detected and obtained by the temperature detection device preset in the light shield. By obtaining the temperature detection value of each light-transmitting area on the bottle body in real time, it is convenient for subsequent use.

[0159] Step S5512: Analyze the estimated bottle specification information and the preset gas temperature value to determine the temperature reference value.

[0160] Among them, the gas temperature value refers to the temperature value of the gas filled in the bottle, and the gas temperature value is obtained from the database storing the gas temperature value. The temperature reference value refers to the reference temperature value of each light-transmitting consistent area on the bottle. By analyzing the estimated bottle specification information and the preset gas temperature value, the temperature reference value corresponding to the estimated bottle specification information and the preset gas temperature value is queried and determined, which is convenient for subsequent use.

[0161] Step S5513: Calculate the difference between the temperature detection value and the temperature reference value and use it as the temperature deviation value.

[0162] The temperature deviation value refers to the deviation value when the temperature has a deviation. The difference between the temperature detection value and the temperature reference value is calculated and used as the temperature deviation value for convenience in subsequent use.

[0163] Step S5514: according to the correspondence between the temperature deviation value and the preset bottle thickness abnormality information, the bottle thickness abnormality information corresponding to the temperature deviation value is determined, and the bottle thickness abnormality information is output.

[0164] Among them, the abnormal bottle thickness information refers to the warning information that the thickness of the bottle is abnormal. The abnormal bottle thickness information is determined by querying the temperature deviation value, and the abnormal bottle thickness information is output, thereby improving the accuracy of bottle detection.

[0165] Reference Figure 8Based on the same inventive concept, an embodiment of the present invention provides an empty bottle online detection system, comprising:

[0166] Acquisition module 1, used to acquire image detection information, current light intensity value, air pressure detection value and temperature detection value;

[0167] Memory 2, used to store Figures 1 to 7 The procedure of any one of the online empty bottle detection methods;

[0168] Processor 3, the program in the memory can be loaded and executed by the processor and realize the following Figures 1 to 7 The online empty bottle detection method described in any one of the above.

[0169] Based on the same inventive concept, an embodiment of the present invention provides an intelligent terminal, including a memory and a processor, wherein the memory stores a program that can be loaded and executed by the processor. Figures 1 to 7 A computer program for the online empty bottle detection method described in any one of the above.

[0170] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0171] An embodiment of the present invention provides a computer storage medium storing a computer program that can be loaded and executed by a processor. Figures 1 to 7 A computer program for the online empty bottle detection method described in any one of the above.

[0172] Computer storage media include, for example, various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.

[0173] The above are all preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Any feature disclosed in this specification (including the abstract and drawings), unless otherwise stated, can be replaced by other equivalent or alternative features with similar purposes. That is, unless otherwise stated, each feature is only an example of a series of equivalent or similar features.

Claims

1. An online empty bottle detection method, characterized in that: include: Get image detection information and current light intensity value; Analyze the image detection information and the current light intensity value to determine the light transmittance information of the bottle; Analyze the bottle's light transmittance information to determine the estimated bottle specifications; Retrieve the estimated specification light intensity value based on the estimated specification information of the bottle; Calculate the difference between the estimated specification light intensity value and the current light intensity value as the light intensity adjustment value, and output the light intensity adjustment value to the lighting device for adjustment; Re-acquire the image detection information and analyze it to determine the bottle body detection result information; Methods for determining bottle body light transmittance information include: According to the preset bottle features, the image detection information is identified to obtain the bottle area information; According to the correspondence between the image detection information, the bottle area information and the preset remaining area information, the remaining area information corresponding to the image detection information and the bottle area information is determined; Retrieving the remaining area brightness value corresponding to each remaining area position point based on the remaining area information; According to the corresponding relationship between the current light intensity value and the preset brightness reference value, the brightness reference value corresponding to the current light intensity value is determined; Calculate the quotient between the brightness value of the remaining area and the brightness reference value and use it as the brightness reference impact value; Based on the bottle area information, the bottle area brightness value corresponding to each bottle area position point is retrieved; Calculate the difference between the brightness value of the bottle area and the brightness value of the remaining area and use it as the bottle brightness deviation value; The product value between the brightness deviation value of each bottle and the brightness reference influence value is calculated and used as the bottle transmittance, and the bottle transmittance corresponding to each bottle area position point is used as the bottle transmittance situation information.

2. The method for online empty bottle detection according to claim 1, characterized in that: Methods for determining estimated bottle specification information include: Based on the bottle body light transmittance information, retrieve each bottle body area position point and the bottle body light transmittance corresponding to the bottle body area position point; The position point of the bottle area corresponding to the consistent light transmittance of the bottle body is taken as the consistent light transmittance position point; According to the adjacent states of the light transmission consistent position points, the light transmission consistent area is analyzed and obtained; The light transmittance of the bottle body corresponding to the uniform light transmittance area is taken as the light transmittance of the uniform area; According to the correspondence between the uniform light transmission area, the uniform light transmission degree of the uniform area and the preset uniform area specification information, the uniform area specification information corresponding to the uniform light transmission area and the uniform light transmission degree of the uniform area is determined; All consistent regional specification information is combined and used as the estimated bottle specification information.

3. The method for online empty bottle detection according to claim 2, characterized in that: Also included are steps after outputting the light intensity adjustment value, as follows: Calculate the difference between each light intensity adjustment value and use it as the adjustment deviation value; Analyze and obtain additional adjustment values ​​based on whether the adjustment deviation value falls within the preset adjustment deviation benchmark interval; The light transmittance consistent area corresponding to the additional adjustment value is used as the additional adjustment area; According to the correspondence between the additional adjustment region, the additional adjustment value and the preset additional adjustment control information, the additional adjustment control information corresponding to the additional adjustment region and the additional adjustment value is determined, and the additional adjustment control information is output.

4. The method for online empty bottle detection according to claim 2, characterized in that: Also included are steps after outputting the light intensity adjustment value, as follows: According to the situation where the light intensity adjustment value falls within the preset adjustment reference interval, the adjustment excess value is analyzed and obtained; When the adjusted excess value is less than the preset excess reference value, the light transmittance consistent area corresponding to the adjusted excess value is used as the excess adjustment area; According to the correspondence between the excess adjustment area and the preset detail detection control information, the detail detection control information corresponding to the excess adjustment area is determined, and the detail detection control information is output.

5. The method for online empty bottle detection according to claim 4, characterized in that: It also includes the following steps after analyzing the excess adjustment value: When the adjusted excess value is not less than the preset excess reference value, the inflation detection control information is output to control the inflatable member preset in the light shield to extend into the bottle body and inflate, and the inflatable member is equipped with an airbag member for covering the bottle mouth on the bottle body; Get the air pressure detection value in the bottle in real time; The air pressure detection values ​​at each time are processed into images to form an air pressure detection change curve; Analyze and obtain curve difference information according to the difference between the air pressure detection change curve and the preset air pressure detection reference curve; Retrieving a curve difference value based on the curve difference information; According to the falling condition of the curve distinction value and the preset curve distinction reference interval, the abnormal information of bottle leakage is analyzed and obtained, and the abnormal information of bottle leakage is output.

6. The method for online empty bottle detection according to claim 5, characterized in that: The step further includes outputting the inflation detection control information to control the inflation member preset in the light shield to extend into the bottle body and inflate the bottle, which is specifically as follows: Obtain the temperature detection value of each light-transmitting area of ​​the bottle in real time; Analyze the estimated bottle specifications and preset gas temperature values ​​to determine the temperature reference value; Calculate the difference between the temperature detection value and the temperature reference value and use it as the temperature deviation value; According to the corresponding relationship between the temperature deviation value and the preset abnormal bottle thickness information, the abnormal bottle thickness information corresponding to the temperature deviation value is determined, and the abnormal bottle thickness information is output.

7. An online empty bottle detection system, characterized in that: include: An acquisition module (1) is used to acquire image detection information, current light intensity value, air pressure detection value and temperature detection value; A memory (2) for storing a program of the online empty bottle detection method according to any one of claims 1 to 6; A processor (3), wherein the program in the memory can be loaded and executed by the processor and implement the online empty bottle detection method as claimed in any one of claims 1 to 6.

8. An intelligent terminal, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and execute the online empty bottle detection method according to any one of claims 1 to 7.

9. A computer storage medium, characterized in that A computer program is stored which can be loaded by a processor and execute the online empty bottle detection method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Recognition and detection system for full automatic lamp detecting machine

    CN108787489A

  • Illumination control method and system

    CN109424945A

  • Ampoule bottle neck detection system, method and equipment for liquid preparation robot

    CN113487632A

  • Plastic product detection system based on image recognition

    CN116087208A

  • Illumination control system based on image recognition and analysis

    CN116664879A