A visual inspection system and method for aluminum foil-like light diffuse reflection materials
Through technical means such as multi-protocol communication optimization algorithm and comprehensive quality evaluation algorithm, the problem of low detection efficiency and poor accuracy of aluminum foil light diffuse reflection materials has been solved, fast and accurate detection has been achieved, and production efficiency and product quality have been improved.
Patent Information
- Application Number
- CN202310896084.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-20
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2043-07-20
AI Technical Summary
Existing technology cannot meet the needs of modern mass production for the detection of light diffuse reflection materials such as aluminum foil. Traditional detection methods have low efficiency, poor accuracy and are prone to manual identification errors.
A multi-protocol communication optimization algorithm is used to optimize wireless communication protocols and parameters, combined with a comprehensive quality evaluation algorithm, image preprocessing module and adaptive neural network optimization algorithm to achieve fast and accurate detection of aluminum foil-like light diffuse reflection materials.
It improves detection efficiency and accuracy, reduces the time and cost of manual detection, and enhances the automation and intelligence of the detection system.
Smart Images

Figure CN116952973B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of visual inspection, and more specifically to a visual inspection system and method for aluminum foil-type light diffuse reflection materials. Background Art
[0002] Light diffuse reflective materials are widely used in industrial production, food packaging and pharmaceutical packaging, such as aluminum foil, metal plates, etc. Aluminum foil diffuse reflective materials are widely used to protect products from the influence of the external environment. Due to quality problems caused by mechanical processing and grinding in production, these materials are prone to various defects on the surface, such as cracks, bubbles, scratches, breakage and pollution. These defects will directly affect the quality and service life of the material, so they need to be effectively detected during the production process.
[0003] At present, some traditional methods of aluminum foil diffuse reflective material detection methods can no longer meet the requirements of modern large-scale production, so various automated detection methods have emerged. Since the surface of diffuse reflective materials is not smooth and the defects are often very small, traditional detection methods have the disadvantages of low detection efficiency, inaccurate detection results and high manual recognition errors.
[0004] Therefore, there is a need for a visual detection system and method for aluminum foil-like light diffuse reflection materials, which can quickly detect and accurately identify aluminum foil-like light diffuse reflection materials. Summary of the invention
[0005] In view of the shortcomings of the prior art, the present invention discloses a visual detection system and method for aluminum foil-like light diffuse reflection materials, which can quickly detect and accurately identify aluminum foil-like light diffuse reflection materials; adopt a multi-protocol communication optimization algorithm to select wireless communication protocols and parameters to optimize network performance and improve data transmission efficiency; adopt a comprehensive quality evaluation algorithm CQEA to comprehensively evaluate the clarity and completeness of captured images, and improve the shooting process based on the evaluation results to improve the availability of captured images; adopt a classification threshold screening algorithm to determine whether there are abnormalities in the captured photos; adopt an adaptive neural network tuning algorithm to optimize classification and recognition performance; and use an image preprocessing module to denoise, downsample, sharpen, crop, rotate and remove shadows on the captured images to improve the accuracy of subsequent processing; the system has a high degree of automation and intelligence.
[0006] The present invention adopts the following technical solutions:
[0007] A visual inspection system for aluminum foil-type light diffuse reflection materials, the system comprising:
[0008] A shooting module is used to obtain an image of the aluminum foil-like light diffuse reflection material to be detected. The shooting module shoots the surface of the aluminum foil-like light diffuse reflection material through a 360° digital camera and an image capture device. The 360° digital camera and the image capture device transmit the shot image to the image preprocessing module through wireless communication;
[0009] An image quality evaluation module is used to comprehensively evaluate the quality of the captured image. The image quality evaluation module uses a comprehensive quality evaluation algorithm CQEA to comprehensively evaluate the clarity and integrity of the captured image, and improves the shooting process based on the evaluation results to improve the usability of the captured image;
[0010] Image preprocessing module, used to denoise, downsample, sharpen, crop, rotate and remove shadows on the captured images to improve the accuracy of subsequent processing;
[0011] An image recognition module is used to extract features and classify and recognize the captured images. The image recognition module uses the cloud server ECS to implement edge detection, color analysis and morphological operations on the captured images, and uses multi-threaded visualization VTK mode parallel computing to accelerate image recognition;
[0012] A storage management module is used to manage the data life cycle of the captured images. The storage management module uses a MySQL database to classify and store the captured image information, and manages it uniformly through the image management system PACS to improve the accuracy of feature extraction and classification recognition of the captured images;
[0013] A judgment module is used to analyze the processed photographed images to determine whether there is an abnormality in the aluminum foil-like light diffuse reflection material. The judgment module uses a classification threshold screening algorithm to determine whether there is an abnormality in the photographed photos;
[0014] Among them, the output end of the shooting module is connected to the input end of the image quality assessment module, the output end of the shooting module is connected to the input end of the storage management module, the output end of the image quality assessment module is connected to the input end of the image preprocessing module, the output end of the image preprocessing module is connected to the input end of the image recognition module, and the output end of the image recognition module is connected to the input end of the judgment module.
[0015] As a further technical solution of the present invention, the wireless communication method adopts a multi-system combining platform and a wireless communication network management system to achieve multi-network signal compatible coverage transmission and supervision of wireless communication equipment. The multi-system combining platform adopts ultra-wideband combining service to achieve multi-system and multi-standard signal combining, and adopts a multi-protocol communication optimization algorithm to select wireless communication protocols and parameters to optimize network performance and improve data transmission efficiency.
[0016] As a further technical solution of the present invention, the operation of the multi-protocol communication optimization algorithm includes the following steps:
[0017] Step 1: Obtain network quality and data transmission requirement information, and obtain current network quality and data processing requirement information through a network monitoring device, wherein the current network quality and data processing requirement information include bandwidth and delay indicators;
[0018] Step 2: predicting the communication performance curve, applying the wireless communication protocol and parameter combination to the current network, and predicting the data transmission performance curve of the wireless communication protocol and parameter combination based on the information of the network and data requirements;
[0019] Step 3: Select the optimal combination. According to the prediction results of the performance curve, select the optimal combination as the current communication protocol and parameters to ensure the optimal performance and data transmission efficiency of the network.
[0020] Step 4: Dynamic adjustment: As network and data requirements change, reselect the optimal communication protocol and parameters and make dynamic adjustments to adapt to the real-time network environment and data requirements.
[0021] As a further technical solution of the present invention, the comprehensive quality evaluation algorithm CQEA sets the captured image data set as C = {c1, ..., c i , ..., c n}, n is the number of captured image data, 1≤i≤n, extract the clarity and integrity quality feature attribute data of the captured image data set and m is the number of quality attribute characteristics of the captured image, 1≤j≤m, q represents the quality attribute characteristics of the captured image clarity, p represents the quality attribute characteristics of the captured image integrity, and the output function formula of the clarity and integrity quality attribute characteristics evaluation is:
[0022]
[0023] In formula (1), W q is the image clarity quality attribute evaluation result, W p To capture the image integrity quality attribute feature assessment results, is the weighted value of the captured image clarity, ζ is the weighted parameter of the captured image clarity, and q j is the quality attribute feature of the jth captured image clarity, max(C q ) is the maximum value of the quality attribute characteristic of the captured image clarity, min(C q ) is the minimum value of the quality attribute characteristic of the captured image clarity, is the weighted value of the completeness of the captured image, δ is the weighted parameter of the completeness of the captured image, and p jis the quality attribute feature of the jth captured image integrity, max(C p ) is the maximum value of the quality attribute feature of the captured image integrity, min(C p ) is the minimum value of the quality attribute characteristic of the integrity of the captured image. The output function formula of the comprehensive captured image clarity value and integrity quality attribute characteristic is:
[0024]
[0025] In formula (2), d(W q ,W p ) is the comprehensive evaluation value of the captured image quality, σ is the auxiliary value, is the comprehensive weighted value of the quality attribute characteristics of the clarity and integrity of the captured image, and ω1 and ω2 are the comprehensive weighted coefficients of the quality attribute characteristics of the clarity and integrity of the captured image.
[0026] As a further technical solution of the present invention, the cloud server ECS includes a feature extraction unit, a classification and recognition unit, an optimization unit and a security reinforcement unit. The feature extraction unit is used to extract the color and texture features of aluminum foil-like light diffuse reflective materials. The classification and recognition unit is used to classify and recognize the objects to be detected according to the trained classifier to achieve fast and accurate detection. The optimization unit is used to screen, enhance and expand the classifier training data to improve the accuracy and generalization ability of the classifier to optimize the classification and recognition performance. The security reinforcement unit is used to protect the cloud server ECS. The feature extraction unit uses a color histogram to represent the characteristics of the color distribution of the captured image, and extracts and describes the texture information of the captured image area through texture feature description. The classification and recognition unit uses a machine learning model to train the classifier and identify data. The optimization unit uses an adaptive neural network tuning algorithm to optimize the classification and recognition performance. The security reinforcement unit uses a double-layer protection firewall to provide security protection for the cloud server ECS. The output end of the feature extraction unit is connected to the input end of the classification and recognition unit, and the classification and recognition unit is bidirectionally connected to the optimization unit. The security reinforcement unit works throughout the process.
[0027] As a further technical solution of the present invention, the model architecture and working method of the adaptive neural network tuning algorithm are as follows:
[0028] (1) Input layer, which passes the training image data of the input classifier to the next layer;
[0029] (2) a hidden layer, which is used to process and transform the input training image data, and the hidden layer includes four network neurons to fully learn the data features;
[0030] (3) an adaptive rate adjustment layer, which is used to adaptively adjust the learning rate of the neural network. The adaptive rate adjustment layer adopts a dynamic learning rate method to achieve faster convergence and more stable network performance; the dynamic learning rate method adjusts the learning rate according to the error of the network;
[0031] (4) an adaptive weight layer, which is used to dynamically adjust the weights of the neural network. The adaptive weight layer adaptively adjusts the weights according to the output and error of the network to improve the accuracy and generalization ability of the network;
[0032] (5) an adaptive topology structure layer, which is used to dynamically adjust the topology of the neural network. The adaptive topology structure layer uses a genetic algorithm optimization method to adaptively adjust the structure and topology of the network to better adapt to complex tasks and data;
[0033] (6) Output layer, which transmits the output results of the network to the outside.
[0034] 9. As a further technical solution of the present invention, the image point in the image data is (x i ,y i ), -∞≤j≤+∞, the training image point in the training data is (X j ,Y j ), -∞≤j≤+∞, the feature similarity output formula between the captured image data and the training data is:
[0035]
[0036] In formula (3), S x,y is the feature similarity between the captured image data and the training data, x i is the horizontal coordinate of the captured image point, y i X is the ordinate of the image point. i is the horizontal coordinate of the training image point, Y i is the ordinate of the training image point, is the weighted value of mining the feature similarity between the captured image data and the training data, ρ is the mining parameter, the feature similarity data between the captured image data and the training data is S, and the low threshold output function formula of the feature similarity between the captured image data and the training data is:
[0037]
[0038] In formula (4), S is the feature similarity data between the captured image data and the training data, max(S) is the maximum feature similarity between the captured image data and the training data, min(S) is the minimum feature similarity between the captured image data and the training data, y is the ordinate of the captured image point, and x is the abscissa of the captured image point. is the sampling period of the ordinate of the captured image point.
[0039] As a further technical solution of the present invention, a visual detection method of aluminum foil-like light diffuse reflection material is applied to a visual detection system of aluminum foil-like light diffuse reflection material described in the above technical solution, and the method comprises the steps of:
[0040] Step 1: Acquire an image of the light diffusely reflecting material such as aluminum foil to be detected through a shooting module, and transmit the captured image to an image preprocessing module through wireless communication;
[0041] Step 2: Perform data lifecycle management on the captured images through a storage management module;
[0042] Step 3: Comprehensively evaluate the quality of the captured image through the image quality evaluation module, and improve the shooting process based on the evaluation results to improve the usability of the captured image;
[0043] Step 4: De-noise, downsample, sharpen, crop, rotate and remove shadows on the captured image through the image preprocessing module to improve the accuracy of subsequent processing;
[0044] Step 5: Use the image recognition module to extract features and classify the captured images, and use multi-threaded visualization VTK mode parallel computing to accelerate image recognition;
[0045] Step 6: Analyze the processed captured image through the judgment module to determine whether there is any abnormality in the aluminum foil-like light diffuse reflection material.
[0046] Positive beneficial effects:
[0047] The invention discloses a visual detection system and method for aluminum foil-type light diffuse reflection materials, which can detect and identify aluminum foil-type light diffuse reflection materials; adopt a multi-protocol communication optimization algorithm to select wireless communication protocols and parameters to optimize network performance and improve data transmission efficiency; adopt a comprehensive quality evaluation algorithm CQEA to comprehensively evaluate the clarity and integrity of captured images, and improve the shooting process based on the evaluation results to improve the availability of captured images; adopt a classification threshold screening algorithm to determine whether there are abnormalities in the captured photos; adopt an adaptive neural network tuning algorithm to optimize classification and recognition performance; and perform denoising, downsampling, sharpening, cropping, rotation and shadow removal processing on the captured images through an image preprocessing module to improve the accuracy of subsequent processing. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 This is a schematic diagram of the overall architecture of a visual inspection system for aluminum foil-type light diffuse reflection materials of the present invention;
[0049] Figure 2It is a schematic flow chart of a visual inspection method for aluminum foil-type light diffuse reflection materials of the present invention;
[0050] Figure 3 This is a diagram of the architecture of an adaptive neural network tuning algorithm in a visual inspection system for aluminum foil-like light diffuse reflection materials of the present invention;
[0051] Figure 4 The present invention is a circuit diagram of a shooting module in a visual inspection system for aluminum foil-type light diffuse reflection materials. DETAILED DESCRIPTION
[0052] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0053] A visual inspection system for aluminum foil-type light diffuse reflection materials, the system comprising:
[0054] A shooting module is used to obtain an image of the aluminum foil-like light diffuse reflection material to be detected. The shooting module shoots the surface of the aluminum foil-like light diffuse reflection material through a 360° digital camera and an image capture device. The 360° digital camera and the image capture device transmit the shot image to the image preprocessing module through wireless communication;
[0055] An image quality evaluation module is used to comprehensively evaluate the quality of the captured image. The image quality evaluation module uses a comprehensive quality evaluation algorithm CQEA to comprehensively evaluate the clarity and integrity of the captured image, and improves the shooting process based on the evaluation results to improve the usability of the captured image;
[0056] Image preprocessing module, used to denoise, downsample, sharpen, crop, rotate and remove shadows on the captured images to improve the accuracy of subsequent processing;
[0057] An image recognition module is used to extract features and classify and recognize the captured images. The image recognition module uses the cloud server ECS to implement edge detection, color analysis and morphological operations on the captured images, and uses multi-threaded visualization VTK mode parallel computing to accelerate image recognition;
[0058] A storage management module is used to manage the data life cycle of the captured images. The storage management module uses a MySQL database to classify and store the captured image information, and manages it uniformly through the image management system PACS to improve the accuracy of feature extraction and classification recognition of the captured images;
[0059] A judgment module is used to analyze the processed photographed images to determine whether there is an abnormality in the aluminum foil-like light diffuse reflection material. The judgment module uses a classification threshold screening algorithm to determine whether there is an abnormality in the photographed photos;
[0060] Among them, the output end of the shooting module is connected to the input end of the image quality assessment module, the output end of the shooting module is connected to the input end of the storage management module, the output end of the image quality assessment module is connected to the input end of the image preprocessing module, the output end of the image preprocessing module is connected to the input end of the image recognition module, and the output end of the image recognition module is connected to the input end of the judgment module.
[0061] In a specific embodiment, a visual inspection system and method for aluminum foil-like light diffuse reflection materials include: a shooting module, an image processing module and a judgment module. The shooting module is used to shoot the surface of the aluminum foil-like light diffuse reflection material to be inspected, and a digital camera or other image capture device can be used. The image processing module is used to process the captured image, including denoising, downsampling, sharpening and other methods to improve the image quality. The judgment module is used to analyze the processed image to determine whether there are defects therein and give a statement.
[0062] The system and method can help manufacturers improve product quality and increase product production efficiency by detecting defects on the surface of aluminum foil-like light diffuse reflective materials. In addition, the method can also reduce the time and cost of manual inspection.
[0063] In the above embodiment, the wireless communication method adopts a multi-system combining platform and a wireless communication network management system to achieve multi-network signal compatible coverage transmission and supervision of wireless communication equipment. The multi-system combining platform adopts ultra-wideband combining service to achieve multi-system multi-standard signal combining, and adopts a multi-protocol communication optimization algorithm to select wireless communication protocols and parameters to optimize network performance and improve data transmission efficiency.
[0064] In a specific embodiment, a multi-system combining platform refers to a system that can process data from different systems or devices and bring these data together to work together or achieve a certain goal. In the present invention, the multi-system combining platform includes the following aspects:
[0065] 1. Data acquisition system: used to collect image data or other related data of light diffuse reflection materials such as aluminum foil. The data acquisition system may include digital cameras, image transmission equipment, etc.:
[0066] 2. Image processing system: used to process the collected aluminum foil images to achieve automatic detection and judgment. The image processing system can include multiple algorithms and technologies, such as image enhancement, defect detection, morphological operations, etc.
[0067] 3. Auxiliary diagnosis system: used to assist manual diagnosis and analysis of uncertain defect areas. The auxiliary diagnosis system can include image enhancement, zooming in and out, area selection and other functions.
[0068] 4. Data aggregation system: used to integrate the processed and analyzed data to form complete equipment information. The data aggregation system can also be used to integrate and process multiple data sources.
[0069] 5. Data analysis system: used to analyze the received data and extract useful information. The data analysis system can include functions such as automated analysis and machine learning.
[0070] The multi-system combining platform of the present invention has the characteristics of high automation and artificial intelligence, can work together effectively, and improves the accuracy and efficiency of defect detection. In addition, the platform also has good scalability and adaptability, and has high reliability and efficiency when dealing with large amounts of data and multi-source data.
[0071] In the above embodiment, the operation of the multi-protocol communication optimization algorithm includes the following steps:
[0072] Step 1: Obtain network quality and data transmission requirement information, and obtain current network quality and data processing requirement information through a network monitoring device, wherein the current network quality and data processing requirement information include bandwidth and delay indicators;
[0073] Step 2: predicting the communication performance curve, applying the wireless communication protocol and parameter combination to the current network, and predicting the data transmission performance curve of the wireless communication protocol and parameter combination based on the information of the network and data requirements;
[0074] Step 3: Select the optimal combination. According to the prediction results of the performance curve, select the optimal combination as the current communication protocol and parameters to ensure the optimal performance and data transmission efficiency of the network.
[0075] Step 4: Dynamic adjustment: As network and data requirements change, reselect the optimal communication protocol and parameters and make dynamic adjustments to adapt to the real-time network environment and data requirements.
[0076] In a specific embodiment, the multi-protocol communication optimization algorithm refers to an algorithm that selects the optimal communication protocol and parameters based on factors such as network status and transmission quality when multiple communication protocols are available. Its main purpose is to improve data transmission efficiency, reduce network latency, and improve user experience. Multi-protocol communication optimization algorithms can be divided into the following categories:
[0077] Load balancing algorithm: This algorithm monitors the traffic load between different protocols and dynamically adjusts the data traffic distribution ratio to achieve the purpose of load balancing.
[0078] QoS (Quality of Service)-based algorithm: This algorithm evaluates different protocols and parameters, classifies the service quality requirements according to the application scenario, and selects the protocols and parameters that best meet the service quality requirements in the current scenario.
[0079] Algorithm based on adaptive adjustment: This algorithm dynamically adjusts protocols and parameters by real-time monitoring of factors such as network status and transmission quality to achieve optimal transmission effect.
[0080] Algorithms based on expert experience or historical data: This algorithm selects appropriate protocols and parameters by leveraging expert experience or historical data.
[0081] In practical applications, the multi-protocol communication optimization algorithm can be implemented in the following ways:
[0082] Test and evaluation: By testing and evaluating different protocols and parameters, select the solution that best suits the current network environment.
[0083] Expert experience: Select appropriate protocols and parameters based on expert experience and historical data.
[0084] Adaptive algorithm: The adaptive algorithm can dynamically adjust the protocol and parameters according to the network status and transmission quality to achieve the best transmission effect.
[0085] Adding and optimizing the multi-protocol communication algorithm to select wireless communication protocols and parameters can optimize network performance and improve data transmission efficiency. The comparison results are shown in Table 1.
[0086] Table 1 Speed comparison statistics
[0087]
[0088] In short, multi-protocol communication optimization algorithm is a very important part of network communication. It can improve data transmission efficiency, reduce network latency, and improve user experience. In practical applications, it is necessary to select the appropriate algorithm according to the specific situation and combine it with real-time monitoring and adjustment to achieve the optimal transmission effect.
[0089] In the above embodiment, the comprehensive quality evaluation algorithm CQEA sets the captured image data set as C = {c1, ..., c i ,...,c n}, n is the number of captured image data, 1≤i≤n, extract the clarity and integrity quality feature attribute data of the captured image data set and m is the number of quality attribute characteristics of the captured image, 1≤j≤m, q represents the quality attribute characteristics of the captured image clarity, p represents the quality attribute characteristics of the captured image integrity, and the output function formula of the clarity and integrity quality attribute characteristics evaluation is:
[0090]
[0091] In formula (1), W q is the image clarity quality attribute evaluation result, W p To capture the image integrity quality attribute feature assessment results, is the weighted value of the captured image clarity, ζ is the weighted parameter of the captured image clarity, and q j is the quality attribute feature of the jth captured image clarity, max(C q ) is the maximum value of the quality attribute characteristic of the captured image clarity, min(C q ) is the minimum value of the quality attribute characteristic of the captured image clarity, is the weighted value of the completeness of the captured image, δ is the weighted parameter of the completeness of the captured image, and p j is the quality attribute feature of the jth captured image integrity, max(C p ) is the maximum value of the quality attribute feature of the captured image integrity, min(C p ) is the minimum value of the quality attribute characteristic of the integrity of the captured image. The output function formula of the comprehensive captured image clarity value and integrity quality attribute characteristic is:
[0092]
[0093] In formula (2), d(W q ,W p ) is the comprehensive evaluation value of the captured image quality, σ is the auxiliary value, is the comprehensive weighted value of the quality attribute characteristics of the clarity and integrity of the captured image, and ω1 and ω2 are the comprehensive weighted coefficients of the quality attribute characteristics of the clarity and integrity of the captured image.
[0094] In a specific embodiment, adding a comprehensive quality evaluation algorithm CQEA to comprehensively evaluate the quality of the captured image and improving the shooting process based on the evaluation results can improve the efficiency of subsequent processing and improve the accuracy of detection. The comparison effect is shown in Table 2;
[0095] Table 2 Comparative statistics
[0096]
[0097] As can be seen from Table 2, using the calculation results of formulas (1) and (2) to evaluate the quality of captured images can improve the efficiency of subsequent processing and the accuracy of detection, which has a positive and beneficial technical effect.
[0098] In the above embodiment, the cloud server ECS includes a feature extraction unit, a classification and recognition unit, an optimization unit and a security reinforcement unit. The feature extraction unit is used to extract the color and texture features of aluminum foil-like light diffuse reflective materials. The classification and recognition unit is used to classify and recognize the objects to be detected according to the trained classifier to achieve fast and accurate detection. The optimization unit is used to screen, enhance and expand the classifier training data to improve the accuracy and generalization ability of the classifier to optimize the classification and recognition performance. The security reinforcement unit is used to protect the cloud server ECS. The feature extraction unit uses a color histogram to represent the characteristics of the color distribution of the captured image, and extracts and describes the texture information of the captured image area through texture feature description. The classification and recognition unit uses a machine learning model to train the classifier and identify data. The optimization unit uses an adaptive neural network tuning algorithm to optimize the classification and recognition performance. The security reinforcement unit uses a double-layer protection firewall to provide security protection for the cloud server ECS. The output end of the feature extraction unit is connected to the input end of the classification and recognition unit, and the classification and recognition unit is bidirectionally connected to the optimization unit. The security reinforcement unit works throughout the process.
[0099] In a specific embodiment, the image recognition module uses a cloud server ECS (Elastic Compute Service) to implement edge detection, color analysis and morphological operations of the captured image. The specific implementation process is as follows:
[0100] 1. The collected images are transmitted to the cloud server ECS via the network.
[0101] 2. Install and start the image processing program on the ECS and pass the received images to the program for processing.
[0102] 3. The image processing program first performs edge detection, using edge detection algorithms such as the Sobel operator and the Canny operator to detect and extract the image edges.
[0103] 4. Then perform color analysis and use color space processing algorithms such as RGB and HSV to analyze the color information in the image.
[0104] 5. Finally, morphological operations are performed, such as erosion and dilation, to further process the image data to improve the accuracy of edges and the clarity of color information.
[0105] 6. After processing is completed, the results are transmitted back to the terminal device via the network for the user to view or store.
[0106] Using cloud server ECS for image processing can quickly process a large amount of data, and can flexibly expand computing resources as needed to meet the needs of processing large-scale and highly complex image data. In addition, the high reliability and security of cloud server ECS can also ensure the security and stability of data transmission and processing.
[0107] In the above embodiment, the model architecture and working method of the adaptive neural network tuning algorithm are:
[0108] (1) Input layer, which passes the training image data of the input classifier to the next layer;
[0109] (2) a hidden layer, which is used to process and transform the input training image data, and the hidden layer includes four network neurons to fully learn the data features;
[0110] (3) an adaptive rate adjustment layer, which is used to adaptively adjust the learning rate of the neural network. The adaptive rate adjustment layer adopts a dynamic learning rate method to achieve faster convergence and more stable network performance; the dynamic learning rate method adjusts the learning rate according to the error of the network;
[0111] (4) an adaptive weight layer, which is used to dynamically adjust the weights of the neural network. The adaptive weight layer adaptively adjusts the weights according to the output and error of the network to improve the accuracy and generalization ability of the network;
[0112] (5) an adaptive topology structure layer, which is used to dynamically adjust the topology of the neural network. The adaptive topology structure layer uses a genetic algorithm optimization method to adaptively adjust the structure and topology of the network to better adapt to complex tasks and data;
[0113] (6) Output layer, which transmits the output results of the network to the outside.
[0114] In a specific embodiment, the classification and recognition performance is optimized by using an adaptive neural network tuning algorithm, which can effectively improve the accuracy of classification and recognition. The comparative statistics are shown in Table 3;
[0115] Table 3 Comparative statistics
[0116]
[0117] It can be seen from Table 3 that the use of adaptive neural network tuning algorithm to optimize classification and recognition performance can effectively improve the accuracy of classification and recognition.
[0118] In the above embodiment, the captured image point in the captured image data is (x i ,y i ), -∞≤j≤+∞, the training image point in the training data is (Xj ,Y j ), -∞≤j≤+∞, the feature similarity output formula between the captured image data and the training data is:
[0119]
[0120] In formula (3), S x,y is the feature similarity between the captured image data and the training data, x i is the horizontal coordinate of the captured image point, y i X is the ordinate of the image point. i is the horizontal coordinate of the training image point, Y i is the ordinate of the training image point, is the weighted value of mining the feature similarity between the captured image data and the training data, ρ is the mining parameter, the feature similarity data between the captured image data and the training data is S, and the low threshold output function formula of the feature similarity between the captured image data and the training data is:
[0121]
[0122] In formula (4), S is the feature similarity data between the captured image data and the training data, max(S) is the maximum feature similarity between the captured image data and the training data, min(S) is the minimum feature similarity between the captured image data and the training data, y is the ordinate of the captured image point, and x is the abscissa of the captured image point. is the sampling period of the ordinate of the captured image point.
[0123] In a specific embodiment, the classification threshold screening algorithm formula (4) is used to determine whether the photographed photo has abnormal results, as shown in Table 4;
[0124] Table 4 Statistics
[0125]
[0126] As shown in Table 4, the classification threshold screening algorithm formula (4) is used to determine whether there are abnormal results in the photos taken, which is the same as the actual result, proving that the technology can achieve the corresponding effect.
[0127] In the above embodiment, a visual detection method for aluminum foil-like light diffuse reflection material is applied to a visual detection system for aluminum foil-like light diffuse reflection material described in the above technical solution, and the method comprises the steps of:
[0128] Step 1: Acquire an image of the light diffusely reflecting material such as aluminum foil to be detected through a shooting module, and transmit the captured image to an image preprocessing module through wireless communication;
[0129] Step 2: Perform data lifecycle management on the captured images through a storage management module;
[0130] Step 3: Comprehensively evaluate the quality of the captured image through the image quality evaluation module, and improve the shooting process based on the evaluation results to improve the usability of the captured image;
[0131] Step 4: De-noise, downsample, sharpen, crop, rotate and remove shadows on the captured image through the image preprocessing module to improve the accuracy of subsequent processing;
[0132] Step 5: Use the image recognition module to extract features and classify the captured images, and use multi-threaded visualization VTK mode parallel computing to accelerate image recognition;
[0133] Step 6: Analyze the processed captured image through the judgment module to determine whether there is any abnormality in the aluminum foil-like light diffuse reflection material.
[0134] In a specific embodiment, aluminum foil-type light diffuse reflective material is a common surface material, such as commonly used in food packaging and electronic products. This article introduces a visual inspection method to detect surface defects of such material.
[0135] The system hardware consists of: camera, light source, image acquisition card, etc.
[0136] Detection principle: Use a light source to illuminate the surface of the aluminum foil, the camera collects the reflected light in the lens and converts it into a digital image signal, and then processes and analyzes the image. By detecting the color, grayscale, texture and other characteristics of the aluminum foil surface, it can be judged whether there are defects on the aluminum foil surface.
[0137] Testing process:
[0138] Obtain sample image: Use a camera to obtain an image of the aluminum foil sample.
[0139] Set threshold: Set an appropriate detection threshold based on the characteristics of the sample image.
[0140] Image preprocessing: Perform preprocessing operations such as denoising and smoothing on the image to improve the detection effect.
[0141] Defect detection: Based on the set threshold, image feature-based methods are used to detect defects such as color defects, unevenness, wrinkles, etc.
[0142] Determine the test results: Determine whether the sample is qualified based on the test results. If there are defects, further processing or re-production is carried out.
[0143] Note: In actual application, the brightness and direction of the light source can be adjusted according to the actual situation to adjust the detection sensitivity and accuracy. At the same time, attention should be paid to the protection of the detection equipment and samples to avoid damage.
[0144] The above is a method for detecting aluminum foil diffuse reflective materials based on visual inspection. This method can quickly and accurately detect surface defects of aluminum foil materials and improve product quality and production efficiency.
[0145] Although the specific embodiments of the present invention are described above, it should be understood by those skilled in the art that these specific embodiments are only illustrative, and those skilled in the art may omit, replace, and change the details of the above methods and systems in various ways without departing from the principles and essence of the present invention. For example, merging the above method steps so as to perform substantially the same functions in substantially the same manner to achieve substantially the same results is within the scope of the present invention. Therefore, the scope of the present invention is limited only by the appended claims.
Claims
1. A visual inspection system for aluminum foil-like light diffuse reflection materials, Features: The system comprises: A shooting module is used to obtain an image of the aluminum foil-like light diffuse reflection material to be detected. The shooting module shoots the surface of the aluminum foil-like light diffuse reflection material through a 360° digital camera and an image capture device. The 360° digital camera and the image capture device transmit the shot image to the image preprocessing module through wireless communication; An image quality evaluation module is used to comprehensively evaluate the quality of the captured image. The image quality evaluation module uses a comprehensive quality evaluation algorithm CQEA to comprehensively evaluate the clarity and integrity of the captured image, and improves the shooting process based on the evaluation results to improve the usability of the captured image; Image preprocessing module, used to denoise, downsample, sharpen, crop, rotate and remove shadows on the captured images to improve the accuracy of subsequent processing; An image recognition module is used to extract features and classify and recognize the captured images. The image recognition module uses the cloud server ECS to implement edge detection, color analysis and morphological operations on the captured images, and uses multi-threaded visualization VTK mode parallel computing to accelerate image recognition; A storage management module is used to manage the data life cycle of the captured images. The storage management module uses a MySQL database to classify and store the captured image information, and manages it uniformly through the image management system PACS to improve the accuracy of feature extraction and classification recognition of the captured images; A judgment module is used to analyze the processed photographed images to determine whether there is an abnormality in the aluminum foil-like light diffuse reflection material. The judgment module uses a classification threshold screening algorithm to determine whether there is an abnormality in the photographed photos; The output end of the shooting module is connected to the input end of the image quality assessment module, the output end of the shooting module is connected to the input end of the storage management module, the output end of the image quality assessment module is connected to the input end of the image preprocessing module, the output end of the image preprocessing module is connected to the input end of the image recognition module, and the output end of the image recognition module is connected to the input end of the judgment module; The comprehensive quality evaluation algorithm CQEA sets the captured image data set as , n is the number of captured image data, n, extract the clarity and integrity quality feature attribute dataset of the captured image dataset as , m is the number of quality characteristic attributes of the captured image, m, Indicates the quality attribute characteristics of the captured image clarity. The output function formula for evaluating the quality attribute characteristics of the integrity of the captured image, the clarity and integrity quality attribute characteristics is: (1) In formula (1), To capture the image clarity quality attribute evaluation results, To capture the image integrity quality attribute feature assessment results, is the weighted value of the captured image clarity. is the weighted parameter for the captured image clarity, is the quality attribute feature of the jth captured image clarity, is the maximum value of the quality attribute feature of the captured image clarity, is the minimum value of the quality attribute characteristic of the captured image clarity, is the weighted value of the completeness of the captured image, is the weighted parameter for the completeness of the captured image, is the quality attribute feature of the jth captured image integrity, is the maximum value of the quality attribute feature of the captured image integrity, The output function formula of the integrated captured image clarity value and integrity quality attribute feature is: (2) In formula (2), Comprehensive evaluation value of captured image quality, It is the comprehensive weighted value of the quality attribute characteristics of the captured image clarity and completeness. It is the comprehensive weighting coefficient of the quality attribute characteristics of the clarity and integrity of the captured image; The cloud server ECS includes a feature extraction unit, a classification and recognition unit, an optimization unit and a security reinforcement unit. The feature extraction unit is used to extract the color and texture features of aluminum foil-like light diffuse reflection materials. The classification and recognition unit is used to classify and recognize the objects to be detected according to the trained classifier to achieve fast and accurate detection. The optimization unit is used to screen, enhance and expand the classifier training data to improve the accuracy and generalization ability of the classifier to optimize the classification and recognition performance. The security reinforcement unit is used to protect the cloud server ECS. The feature extraction unit uses a color histogram to represent the characteristics of the color distribution of the captured image, and extracts and describes the texture information of the captured image area through texture feature description. The classification and recognition unit uses a machine learning model to train the classifier and recognize data. The optimization unit uses an adaptive neural network tuning algorithm to optimize the classification and recognition performance. The security reinforcement unit uses a double-layer protection firewall to provide security protection for the cloud server ECS. The output end of the feature extraction unit is connected to the input end of the classification and recognition unit, and the classification and recognition unit is bidirectionally connected to the optimization unit. The security reinforcement unit works throughout the process. The classification threshold screening algorithm mines the feature similarity area between the captured image data and the training data. The captured image points in the captured image data are , , the training image points in the training data are , , the feature similarity output formula between the captured image data and the training data is: (3) In formula (3), is the feature similarity between the captured image data and the training data, is the horizontal coordinate of the captured image point, is the ordinate of the captured image point, is the horizontal coordinate of the training image point, is the ordinate of the training image point, Mining weighted values for feature similarity between captured image data and training data, To mine parameters, the feature similarity data of the captured image data and the training data is S, and the low threshold output function formula of the feature similarity of the captured image data and the training data is: (4) In formula (4), S is the feature similarity data between the captured image data and the training data. is the maximum similarity between the captured image data and the training data. is the minimum feature similarity between the captured image data and the training data, is the ordinate of the captured image point, is the horizontal coordinate of the captured image point, is the sampling period of the ordinate of the captured image point.
2. A visual inspection system for aluminum foil-type light diffuse reflection materials according to claim 1, Features: The wireless communication method adopts a multi-system combining platform and a wireless communication network management system to achieve multi-network signal compatible coverage transmission and supervision of wireless communication equipment. The multi-system combining platform adopts ultra-wideband combining service to achieve multi-system and multi-standard signal combining, and adopts a multi-protocol communication optimization algorithm to select wireless communication protocols and parameters to optimize network performance and improve data transmission efficiency.
3. A visual inspection system for aluminum foil-type light diffuse reflection materials according to claim 2, Features: The work of the multi-protocol communication optimization algorithm includes the following steps: Step 1: Obtain network quality and data transmission requirement information, and obtain current network quality and data processing requirement information through a network monitoring device, wherein the current network quality and data processing requirement information include bandwidth and delay indicators; Step 2: predicting the communication performance curve, applying the wireless communication protocol and parameter combination to the current network, and predicting the data transmission performance curve of the wireless communication protocol and parameter combination based on the information of the network and data requirements; Step 3: Select the optimal combination. According to the prediction results of the performance curve, select the optimal combination as the current communication protocol and parameters to ensure the optimal performance and data transmission efficiency of the network. Step 4: Dynamic adjustment: As network and data requirements change, reselect the optimal communication protocol and parameters and make dynamic adjustments to adapt to the real-time network environment and data requirements.
4. A visual inspection system for aluminum foil-like light diffuse reflection materials according to claim 1, Features: The model architecture and working method of the adaptive neural network tuning algorithm are as follows: (1) Input layer, which passes the training image data of the input classifier to the next layer; (2) a hidden layer for processing and transforming input training image data, wherein the hidden layer includes four network neurons to fully learn the data features; (3) an adaptive rate adjustment layer, which is used to adaptively adjust the learning rate of the neural network. The adaptive rate adjustment layer adopts a dynamic learning rate method to achieve faster convergence and more stable network performance. The dynamic learning rate method adjusts the learning rate according to the error of the network. (4) An adaptive weight layer, which is used to dynamically adjust the weights of the neural network. The adaptive weight layer adaptively adjusts the weights according to the output and error of the network to improve the accuracy and generalization ability of the network; (5) An adaptive topology structure layer, which is used to dynamically adjust the topology of the neural network. The adaptive topology structure layer uses a genetic algorithm optimization method to adaptively adjust the structure and topology of the network to better adapt to complex tasks and data; (6) Output layer: passes the output results of the network to the outside.
5. A visual inspection method for aluminum foil-like light diffuse reflection materials, Features: A visual inspection system for aluminum foil-type light diffuse reflective materials as described in any one of claims 1 to 4, the method comprising the steps of: Step 1: Acquire an image of the light diffusely reflecting material such as aluminum foil to be detected through a shooting module, and transmit the captured image to an image preprocessing module through wireless communication; Step 2: Perform data lifecycle management on the captured images through a storage management module; Step 3: Comprehensively evaluate the quality of the captured image through the image quality evaluation module, and improve the shooting process based on the evaluation results to improve the usability of the captured image; Step 4: De-noise, downsample, sharpen, crop, rotate and remove shadows on the captured image through the image preprocessing module to improve the accuracy of subsequent processing; Step 5: Use the image recognition module to extract features and classify the captured images, and use multi-threaded visualization VTK mode parallel computing to accelerate image recognition; Step 6: Analyze the processed captured image through the judgment module to determine whether there is any abnormality in the aluminum foil-like light diffuse reflection material.
