CN113920437B - Conductive particle identification method, system, storage medium and computer equipment - Google Patents
Conductive particle identification method, system, storage medium and computer equipment Download PDFInfo
- Publication number
- CN113920437B CN113920437B CN202111518830.XA CN202111518830A CN113920437B CN 113920437 B CN113920437 B CN 113920437B CN 202111518830 A CN202111518830 A CN 202111518830A CN 113920437 B CN113920437 B CN 113920437B
- Authority
- CN
- China
- Prior art keywords
- data set
- conductive particles
- network model
- prediction
- loss function
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 239000002245 particle Substances 0.000 title claims abstract description 81
- 238000000034 method Methods 0.000 title claims abstract description 55
- 238000003860 storage Methods 0.000 title claims abstract description 14
- 238000007781 pre-processing Methods 0.000 claims abstract description 32
- 238000012549 training Methods 0.000 claims abstract description 28
- 230000000007 visual effect Effects 0.000 claims abstract description 16
- 238000012937 correction Methods 0.000 claims abstract description 13
- PXFBZOLANLWPMH-UHFFFAOYSA-N 16-Epiaffinine Natural products C1C(C2=CC=CC=C2N2)=C2C(=O)CC2C(=CC)CN(C)C1C2CO PXFBZOLANLWPMH-UHFFFAOYSA-N 0.000 claims abstract description 8
- 238000011156 evaluation Methods 0.000 claims abstract description 8
- 230000009467 reduction Effects 0.000 claims abstract description 7
- 230000009466 transformation Effects 0.000 claims abstract description 5
- 230000006870 function Effects 0.000 claims description 38
- 238000012545 processing Methods 0.000 claims description 17
- 238000004590 computer program Methods 0.000 claims description 11
- 238000004422 calculation algorithm Methods 0.000 claims description 10
- 238000012216 screening Methods 0.000 claims description 10
- 239000011159 matrix material Substances 0.000 claims description 8
- 238000010606 normalization Methods 0.000 claims description 7
- 238000012986 modification Methods 0.000 claims description 5
- 230000004048 modification Effects 0.000 claims description 5
- 238000013519 translation Methods 0.000 claims description 4
- 238000011176 pooling Methods 0.000 claims description 3
- 239000004973 liquid crystal related substance Substances 0.000 abstract description 7
- 238000012360 testing method Methods 0.000 abstract description 4
- 238000007689 inspection Methods 0.000 abstract description 3
- 238000001514 detection method Methods 0.000 description 9
- 239000000126 substance Substances 0.000 description 7
- 230000008569 process Effects 0.000 description 6
- 238000009826 distribution Methods 0.000 description 4
- 238000009776 industrial production Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 238000013135 deep learning Methods 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000001604 Rao's score test Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 230000036571 hydration Effects 0.000 description 1
- 238000006703 hydration reaction Methods 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 238000011064 split stream procedure Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000000844 transformation Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/214—Generating training patterns; Bootstrap methods, e.g. bagging or boosting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/22—Matching criteria, e.g. proximity measures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
-
- G06T3/02—
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformation in the plane of the image
- G06T3/40—Scaling the whole image or part thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
- G06T7/0004—Industrial image inspection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20081—Training; Learning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20084—Artificial neural networks [ANN]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30108—Industrial image inspection
- G06T2207/30121—CRT, LCD or plasma display
Abstract
The invention relates to the field of industrial intelligent quality inspection, in particular to a conductive particle identification method, a conductive particle identification system, a storage medium and computer equipment. The conductive particle identification method can efficiently detect and identify the conductive particles in the IC area; acquiring a conductive particle image of an IC area of a liquid crystal panel, and automatically calibrating the central position of a conductive particle point by a template matching method to obtain a first data set; and further preprocessing the data set by carrying out affine transformation and image scale reduction on the first data set to improve the calibration quality of the data set, designing a deep convolution model as a visual encoder, training a network model by a classification loss function and a correction loss function, and selecting the network model with the highest score as a test candidate model by index evaluation to realize accurate statistics of the number of conductive particles and accurate evaluation of the quality of the liquid crystal panel.
Description
Technical Field
The invention relates to the field of industrial intelligent quality inspection, in particular to a conductive particle identification method, a conductive particle identification system, a storage medium and computer equipment.
Background
In the industrial environment, the detection to the liquid crystal display panel is mostly manual detection, the detection result has strong subjectivity and low detection efficiency, and generally only sampling detection can not meet the detection requirement of industrial production to the product quality of the liquid crystal display panel. In order to meet the requirement of quality detection in industrial production, the quality detection of industrial production based on deep learning also exists in the prior art. For the deep learning method, the calibration quality of the data and the data volume of the data set are important for the training of the model. The collected images of the IC area of the liquid crystal panel are generally low in visibility of conductive particles, irregular in shape and randomized in distribution; secondly, the amount of the acquired sample data is small, and the risk of model under-fitting exists. And finally, the hydration operation and the automatic quality inspection process in industrial production have high requirements on the real-time performance of model detection.
Disclosure of Invention
In order to solve the problems in the background art, the present invention provides a method for identifying conductive particles, including:
acquiring a data set, and calibrating the center position of the conductive particles by using a template matching algorithm to obtain a first data set;
performing first preprocessing on the first data set to obtain a second data set;
based on the second data set, carrying out visual coding on data in the second data set to obtain coding characteristics, and carrying out second preprocessing on the coding characteristics to obtain a prediction result;
training a network model through a classification loss function and a correction loss function respectively based on the prediction result;
and evaluating the network model, screening an optimal network model, and identifying the conductive particles based on the optimal network model.
Further, the acquiring the data set, calibrating the center position of the conductive particle by using a template matching algorithm, and obtaining the first data set specifically comprises:
acquiring a data set, wherein the data set comprises a plurality of original pictures;
acquiring a pixel value of an original picture, selecting a region where conductive particles are located in the original picture, and acquiring a mean value and a variance of the pixel value of the region;
and inputting the mean value and the variance of the pixel values of the region, and calibrating the central position of each conductive particle in the region based on a standard correlation coefficient matching method to obtain a first data set.
Further, the inputting of the mean and variance of the pixel values of the region, and based on a standard correlation coefficient matching method, calibrating the center position of each conductive particle in the region to obtain a first data set specifically includes:
inputting the mean value and the variance of the pixel values of the region, and inputting the pixel value of the original picture;
calculating a normalized value of the original picture in the region based on a standard correlation coefficient matching method;
calculating a normalized value of a sample to be transformed in the data set based on a standard correlation coefficient matching method;
calculating an affine transformation matrix based on the normalization value of the original picture in the region and the normalization value of a sample to be transformed in the data set;
and taking the coordinate position of the maximum similarity value in the affine matrix as the central position of the conductive particles in the area to obtain a first data set.
Further, the performing the first preprocessing on the first data set to obtain the second data set specifically includes:
and carrying out translation processing, rotation processing, miscut processing and scaling processing on the pictures of the first data set to obtain a second data set.
Further, the data in the second data set is visually encoded based on the second data set to obtain an encoding characteristic, and the encoding characteristic is subjected to second preprocessing to obtain a prediction result specifically;
inputting the pictures in the second data set into a visual encoder to obtain encoding characteristics;
and performing maximum pooling and 2D convolutional network processing on the coding characteristics to obtain a prediction result.
Further, the training of the network model by the classification loss function and the modification loss function based on the prediction result specifically includes:
disassembling and shunting the prediction result to obtain two parts of prediction results;
selecting a part of prediction results to carry out classification prediction to obtain classification prediction values, and training the classification prediction values to obtain a classification loss function;
selecting another part of prediction results to carry out regression prediction to obtain a regression prediction value, and training the regression prediction value to obtain a correction loss function;
the network model is trained based on the classification loss function and the modification loss function.
Further, the evaluating the network model, screening an optimal network model, and identifying the conductive particles based on the optimal network model specifically includes:
evaluating the training network model based on the accuracy prediction, the recall rate and the F1-score;
selecting the training network model with the highest F1-score as the optimal network model;
and identifying the conductive particles in the picture to be detected based on the optimal network model.
A conductive particle identification system, the system comprising:
a central position calibration module: the method comprises the steps of obtaining a data set, and calibrating the center position of conductive particles by using a template matching algorithm to obtain a first data set;
the first data preprocessing module: the first preprocessing is carried out on the first data set to obtain a second data set;
the second data preprocessing module: the data processing device is used for carrying out visual coding on the data in the second data set based on the second data set to obtain coding characteristics, and carrying out second preprocessing on the coding characteristics to obtain a prediction result;
a network model training module: the network model is trained through a classification loss function and a correction loss function respectively based on the prediction result;
a network model evaluation module: and the system is used for evaluating the network model, screening the optimal network model and identifying the conductive particles based on the optimal network model.
A storage medium having stored thereon a computer program which, when executed by a processor, implements the method of any of the above.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method of any one of the above when executing the program.
Has the advantages that: the invention provides a conductive particle identification method, which can efficiently detect and identify conductive particles in an IC area; acquiring a conductive particle image of an IC area of a liquid crystal panel, and automatically calibrating the central position of a conductive particle point by a template matching method to obtain a first data set; and further preprocessing the data set by carrying out affine transformation and image scale reduction on the first data set to improve the calibration quality of the data set, designing a deep convolution model as a visual encoder, training a network model by a classification loss function and a correction loss function, and selecting the network model with the highest score as a test candidate model by index evaluation to realize accurate statistics of the number of conductive particles and accurate evaluation of the quality of the liquid crystal panel.
Drawings
In order to illustrate the embodiments of the present invention more clearly, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings can be obtained by those skilled in the art without inventive effort.
Fig. 1 is a schematic flow chart of a conductive particle identification method according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
According to the conductive particle identification method, the computer equipment comprises a processor, a memory, a network interface and a database which are connected through a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing data of the classification method. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a conductive particle identification method based on template matching and a deep convolutional network.
The embodiment of the application provides a conductive particle identification method, a conductive particle identification system, computer equipment and a storage medium, and aims to solve the problems that in the prior art, the calibration quality of data and the data volume of a data set are poor.
The following describes in detail the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems by embodiments and with reference to the drawings. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. It should be noted that, according to the conductive particle identification method provided in the embodiments of the present application, the execution subject may also be a classification apparatus, where the apparatus may be implemented as part of or all of the classification method through software, hardware, or a combination of software and hardware.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments.
In one embodiment, as shown in FIG. 1, step S1: acquiring a data set, and calibrating the center position of the conductive particles by using a template matching algorithm to obtain a first data set;
recording the acquired dataset as dataset D, whereinWhich represents the i-th original picture,representing the area marked with the conductive particles in the ith original picture. F samples d are selected, and pictures are takenThe delimited region where the k relatively clear conductive particle points are locatedJ =1, …, k. The size of the defined area is preferably 5 x 5, and experiments prove that the F1-score test score is highest when the defined area is preferably 5 x 5, and the defined area can be adjusted according to actual conditions to the areaPerforming maximum and minimum normalization processing to obtain the regionMean value of pixel valuesSum variance。
Inputting the mean valueAnd the variancePearson similarity calculation is performed based on open-cv, using the standard correlation coefficient matching (TM _ CCOEFF _ NORMED) method provided by it, using the pixel values of the original picture at coordinates (x, y)Subtracting the input mean valueThen, the variance is divided byFurther obtain the pictureOf (2) aNormalizing the result. Specifically, the standard correlation coefficient matches the formula,(1)
wherein the content of the first and second substances,representing the result of normalization of a standard image taken from the region, w being the picture length, h being the picture width,is the average of the pixel values of the original picture,the standard deviation of the pixel value of the original picture is obtained;
wherein the content of the first and second substances,representing samples of pictures to be transformed in a data set DThe result of the normalization process, w is the picture length, h is the picture width,the pixel value of the picture sample to be transformed at (x, y),is the average value of the picture samples to be changed,the standard deviation of the picture sample to be changed is obtained;
According to affine matrixTaking the coordinate position of the maximum value of similarity in the affine matrixThese coordinates are taken as the true center position of each conductive particle point as the center position of the t-th position in the i-th sample. We denote the recalibrated data set as the first data setWhich is。
Step S2: performing first preprocessing on the first data set to obtain a second data set;
The method comprises the following specific steps: input gray scale picture is recorded asFor the gray scale pictureRespectively perform translationOperation, as shown in equation (4):
wherein the content of the first and second substances,inIs the translational component of the x-axis in two dimensions;the translation component of the y axis of the two-dimensional space is selected, and the value is determined by uniform sampling distributed according to self-defined 0-1;
wherein the content of the first and second substances,inAndis the coordinate position of the source map rotation center,is a miscut angle;is a miscut control variable;
Step S21: and carrying out image-scale reduction preprocessing operation on the enhanced data set, and further representing the center position of the conductive particles through the region.
On the basis, in order to reduce the prediction difficulty, the regression position prediction problem is converted into a classification problem, and the original pixel level regression problem is converted into 0-1 classification prediction of the existence of conductive particles on an image region by reducing the scale of an original image. Specifically, for the region with conductive particles, we takeOtherwiseAs a label; secondly, we calculate the offset error of the center position of the conductive particle point after scaling as the value to be corrected. To summarize, we enhance the data setFor each picture size in the enhanced data set, scaling downThe scaling is performed to scale down the size to the original part size, preferably thirty-half, since in this size the F1-score is highest, and likewise a scaling to one sixteenth or one sixteenth of the original image size, etc. may be selected, by which the second data set is obtainedThe definition is as follows:
step S3: based on the second data set, carrying out visual coding on data in the second data set to obtain coding characteristics, and carrying out second preprocessing on the coding characteristics to obtain a prediction result;
constructing a visual encoderInputting a second data setTo-be-detected picture inObtaining coding featuresAnd respectively performing classification prediction and regression prediction by using the coding characteristics q output by the model F.
Designing a visual encoderThe visual encoderIs composed of four layers of convolution modules, each layer of convolution module includes oneA multi-channel 2D convolution network, a BatchNorm regularization process and a LeakyReLU, the convolution module being defined asI =1,2,3,4 represents the i-th layer module of the encoder F,is an input feature of the ith layer;
the picture to be detectedAnd (4) coding in a visual coder of a 4-layer convolution module through 4 cycles, and outputting a final characteristic q.
And processing the coding characteristics q through maximum pooling and a 2D convolutional network, and outputting a prediction result H of a 3-channel.
Step S4: training a network model through a classification loss function and a correction loss function respectively based on the prediction result;
through the parameters of a loss function learning model, firstly, the prediction result H is disassembled and shunted to obtain two parts of prediction results, one part of the prediction results is classified and predicted to predict the picture to be detectedWhich regions have a distribution of conductive particle centers(ii) a The other part, performing regression prediction to predict the deviation value of the center positionThe formula is as follows:
wherein the content of the first and second substances,representing the prediction result of the ith sample of the training set,representing a merge operation, where the split streams are broken downThe first channel representsThe last two channels represent。
Step S41: selecting a part of prediction results to carry out classification prediction to obtain classification prediction values, training the classification prediction values to obtain a classification loss function,
Classification loss functionAnd learning by judging whether the predicted area is the classification distribution of the center points of the conductive particles and then by a cross entropy loss function with weighted binomial distribution, as shown in formula (7):
wherein the content of the first and second substances,is the true value between the output values 0-1, from,Is a prediction value for the classification of the model,the table weights the positive and negative samples, by default 0.5.
Step S42: selecting another part of prediction results to carry out regression prediction to obtain a regression prediction value, and training the regression prediction value to obtain a correction loss function;
correcting loss functionObtaining a predicted conductive particle to center shift error valueThe predicted center position is compensated and corrected by a smooth L1 loss function, as shown in equation (8):
wherein the content of the first and second substances,fromAnd n represents the number of all samples in the training set.
,In order to be a hyper-parameter,as a function of total loss based onAnd calculating gradient and updating the network model through gradient feedback.
Step S5: evaluating the network model, screening an optimal network model, and identifying the conductive particles based on the optimal network model;
to evaluate the performance of the entire network, we used the following indicators: precision prediction Precision, Recall and F1-score. Setting the number of training iterations (200 times) as a model training stop condition, and selecting a model with the highest F1-score as an optimal network model, wherein the optimal network model is specifically represented by formula (9):
wherein TP is predicted to be positive and actually is positive; FP is predicted to be positive and actually negative; FN is predicted negative, actually positive; TN is predicted to be negative and actually negative.
Step S51: in the testing stage, the screened optimal model is used for preprocessing the trial picture to be tested in the steps S1-S2, and the processed picture is directly input into the optimal model for testing and evaluation.
In one embodiment, there is provided a conductive particle identification system based on template matching and a deep convolutional network, the system comprising:
a central position calibration module: the method comprises the steps of obtaining a data set, and calibrating the center position of conductive particles by using a template matching algorithm to obtain a first data set;
the first data preprocessing module: the first preprocessing is carried out on the first data set to obtain a second data set;
the second data preprocessing module: the data processing device is used for carrying out visual coding on the data in the second data set based on the second data set to obtain coding characteristics, and carrying out second preprocessing on the coding characteristics to obtain a prediction result;
a network model training module: the network model is trained through a classification loss function and a correction loss function respectively based on the prediction result;
a network model evaluation module: and the system is used for evaluating the network model, screening the optimal network model and identifying the conductive particles based on the optimal network model.
The implementation principle and technical effect of the conductive particle identification system based on template matching and deep convolutional network provided by the embodiment are similar to those of the method embodiment, and are not described herein again.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
acquiring a data set, and calibrating the center position of the conductive particles by using a template matching algorithm to obtain a first data set;
performing first preprocessing on the first data set to obtain a second data set;
based on the second data set, carrying out visual coding on data in the second data set to obtain coding characteristics, and carrying out second preprocessing on the coding characteristics to obtain a prediction result;
training a network model through a classification loss function and a correction loss function respectively based on the prediction result;
and evaluating the network model, screening an optimal network model, and identifying the conductive particles based on the optimal network model.
The implementation principle and technical effect of the computer device provided by the above embodiment are similar to those of the above method embodiment, and are not described herein again.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring a data set, and calibrating the center position of the conductive particles by using a template matching algorithm to obtain a first data set;
performing first preprocessing on the first data set to obtain a second data set;
based on the second data set, carrying out visual coding on data in the second data set to obtain coding characteristics, and carrying out second preprocessing on the coding characteristics to obtain a prediction result;
training a network model through a classification loss function and a correction loss function respectively based on the prediction result;
and evaluating the network model, screening an optimal network model, and identifying the conductive particles based on the optimal network model.
The implementation principle and technical effect of the computer-readable storage medium provided by the above embodiments are similar to those of the above method embodiments, and are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent should be defined by the appended claims.
Claims (10)
1. A method for identifying conductive particles based on template matching and a deep convolutional network, the method comprising:
acquiring a data set, and calibrating the center position of the conductive particles by using a template matching algorithm to obtain a first data set;
performing first preprocessing on the first data set to obtain a second data set; the first pretreatment specifically comprises the following steps: performing data enhancement processing on the first data set to obtain an enhanced data set, performing image scale reduction preprocessing operation on the enhanced data set, performing classification prediction on whether conductive particles are contained in an image area after the image scale reduction, and representing the center position of the conductive particles through the image area containing the conductive particles;
based on the second data set, carrying out visual coding on data in the second data set to obtain coding characteristics, and carrying out second preprocessing on the coding characteristics to obtain a prediction result;
training a network model through a classification loss function and a correction loss function respectively based on the prediction result;
and evaluating the network model, screening an optimal network model, and identifying the conductive particles based on the optimal network model.
2. The method for identifying conductive particles based on template matching and deep convolutional network as claimed in claim 1, wherein the obtaining of the data set, calibrating the center position of the conductive particles by using a template matching algorithm, and obtaining the first data set specifically comprises:
acquiring a data set, wherein the data set comprises a plurality of original pictures;
acquiring a pixel value of an original picture, selecting a region where conductive particles are located in the original picture, and acquiring a mean value and a variance of the pixel value of the region;
and inputting the mean value and the variance of the pixel values of the region, and calibrating the central position of each conductive particle in the region based on a standard correlation coefficient matching method to obtain a first data set.
3. The method according to claim 2, wherein the method for identifying conductive particles based on template matching and deep convolutional network is characterized in that the mean and variance of the pixel values of the region are input, the center position of each conductive particle in the region is calibrated based on a standard correlation coefficient matching method, and the first data set is obtained specifically as follows:
inputting the mean value and the variance of the pixel values of the region, and inputting the pixel value of the original picture;
calculating a normalized value of the original picture in the region based on a standard correlation coefficient matching method;
calculating a normalized value of a sample to be transformed in the data set based on a standard correlation coefficient matching method;
calculating an affine transformation matrix based on the normalization value of the original picture in the region and the normalization value of a sample to be transformed in the data set;
and taking the coordinate position of the maximum similarity value in the affine matrix as the central position of the conductive particles in the area to obtain a first data set.
4. The method for identifying conductive particles based on template matching and deep convolutional network as claimed in claim 1, wherein the first preprocessing is performed on the first data set to obtain a second data set specifically as follows:
and carrying out translation processing, rotation processing, miscut processing and scaling processing on the pictures of the first data set to obtain a second data set.
5. The method for identifying conductive particles based on template matching and deep convolutional network as claimed in claim 1, wherein based on the second data set, the data in the second data set is visually encoded to obtain an encoded feature, and the encoded feature is subjected to second preprocessing to obtain a prediction result;
inputting the pictures in the second data set into a visual encoder to obtain encoding characteristics;
and performing maximum pooling and 2D convolutional network processing on the coding characteristics to obtain a prediction result.
6. The method for identifying conductive particles based on template matching and deep convolutional network as claimed in claim 1, wherein the training of the network model by the classification loss function and the modification loss function respectively based on the prediction result specifically comprises:
disassembling and shunting the prediction result to obtain two parts of prediction results;
selecting a part of prediction results to carry out classification prediction to obtain classification prediction values, and training the classification prediction values to obtain a classification loss function;
selecting another part of prediction results to carry out regression prediction to obtain a regression prediction value, and training the regression prediction value to obtain a correction loss function;
the network model is trained based on the classification loss function and the modification loss function.
7. The method for identifying conductive particles based on template matching and deep convolutional network as claimed in claim 1, wherein the evaluating the network model and screening the optimal network model, and the identifying conductive particles based on the optimal network model specifically comprises:
evaluating the training network model based on the accuracy prediction, the recall rate and the F1-score;
selecting the training network model with the highest F1-score as the optimal network model;
and identifying the conductive particles in the picture to be detected based on the optimal network model.
8. A conductive particle identification system based on template matching and deep convolutional networks, the system comprising:
a central position calibration module: the method comprises the steps of obtaining a data set, and calibrating the center position of conductive particles by using a template matching algorithm to obtain a first data set;
the first data preprocessing module: the first preprocessing is carried out on the first data set to obtain a second data set; the first pretreatment specifically comprises the following steps: performing data enhancement processing on the first data set to obtain an enhanced data set, performing image scale reduction preprocessing operation on the enhanced data set, performing classification prediction on whether conductive particles are contained in an image area after the image scale reduction, and representing the center position of the conductive particles through the image area containing the conductive particles;
the second data preprocessing module: the data processing device is used for carrying out visual coding on the data in the second data set based on the second data set to obtain coding characteristics, and carrying out second preprocessing on the coding characteristics to obtain a prediction result;
a network model training module: the network model is trained through a classification loss function and a correction loss function respectively based on the prediction result;
a network model evaluation module: and the system is used for evaluating the network model, screening the optimal network model and identifying the conductive particles based on the optimal network model.
9. A storage medium on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-7.
10. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of any of claims 1-7 when executing the program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111518830.XA CN113920437B (en) | 2021-12-14 | 2021-12-14 | Conductive particle identification method, system, storage medium and computer equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111518830.XA CN113920437B (en) | 2021-12-14 | 2021-12-14 | Conductive particle identification method, system, storage medium and computer equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113920437A CN113920437A (en) | 2022-01-11 |
CN113920437B true CN113920437B (en) | 2022-04-12 |
Family
ID=79249066
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111518830.XA Active CN113920437B (en) | 2021-12-14 | 2021-12-14 | Conductive particle identification method, system, storage medium and computer equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113920437B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109816653A (en) * | 2019-01-28 | 2019-05-28 | 宁波舜宇仪器有限公司 | A method of it is detected for conducting particles |
JP2019160795A (en) * | 2018-03-13 | 2019-09-19 | 信越ポリマー株式会社 | Bipolar plate for redox flow battery and manufacturing method thereof |
CN110889428A (en) * | 2019-10-21 | 2020-03-17 | 浙江大搜车软件技术有限公司 | Image recognition method and device, computer equipment and storage medium |
WO2020099854A1 (en) * | 2018-11-08 | 2020-05-22 | Rpptv Limited | Image classification, generation and application of neural networks |
WO2021078445A1 (en) * | 2019-10-22 | 2021-04-29 | Asml Netherlands B.V. | Method of determining aberrations in images obtained by a charged particle beam tool, method of determining a setting of a charged particle beam tool, and charged particle beam tool |
CN112767323A (en) * | 2021-01-06 | 2021-05-07 | 华兴源创(成都)科技有限公司 | Detection method for anisotropic conductive film particles in display module |
CN113112396A (en) * | 2021-03-25 | 2021-07-13 | 苏州华兴源创科技股份有限公司 | Method for detecting conductive particles |
CN113608378A (en) * | 2021-10-08 | 2021-11-05 | 深圳市绘晶科技有限公司 | Full-automatic defect detection method and system based on LCD (liquid crystal display) process |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7477443B2 (en) * | 2004-08-27 | 2009-01-13 | Palo Alto Research Center Incorporated | Disordered three-dimensional percolation technique for forming electric paper |
US10699100B2 (en) * | 2016-11-07 | 2020-06-30 | Institute Of Automation, Chinese Academy Of Sciences | Method for microscopic image acquisition based on sequential section |
US10801906B2 (en) * | 2016-11-14 | 2020-10-13 | Nutech Ventures | Hydrogel microphone |
CN111191655B (en) * | 2018-11-14 | 2024-04-16 | 佳能株式会社 | Object identification method and device |
US10892784B2 (en) * | 2019-06-03 | 2021-01-12 | Western Digital Technologies, Inc. | Memory device with enhanced error correction via data rearrangement, data partitioning, and content aware decoding |
-
2021
- 2021-12-14 CN CN202111518830.XA patent/CN113920437B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2019160795A (en) * | 2018-03-13 | 2019-09-19 | 信越ポリマー株式会社 | Bipolar plate for redox flow battery and manufacturing method thereof |
WO2020099854A1 (en) * | 2018-11-08 | 2020-05-22 | Rpptv Limited | Image classification, generation and application of neural networks |
CN109816653A (en) * | 2019-01-28 | 2019-05-28 | 宁波舜宇仪器有限公司 | A method of it is detected for conducting particles |
CN110889428A (en) * | 2019-10-21 | 2020-03-17 | 浙江大搜车软件技术有限公司 | Image recognition method and device, computer equipment and storage medium |
WO2021078445A1 (en) * | 2019-10-22 | 2021-04-29 | Asml Netherlands B.V. | Method of determining aberrations in images obtained by a charged particle beam tool, method of determining a setting of a charged particle beam tool, and charged particle beam tool |
CN112767323A (en) * | 2021-01-06 | 2021-05-07 | 华兴源创(成都)科技有限公司 | Detection method for anisotropic conductive film particles in display module |
CN113112396A (en) * | 2021-03-25 | 2021-07-13 | 苏州华兴源创科技股份有限公司 | Method for detecting conductive particles |
CN113608378A (en) * | 2021-10-08 | 2021-11-05 | 深圳市绘晶科技有限公司 | Full-automatic defect detection method and system based on LCD (liquid crystal display) process |
Non-Patent Citations (1)
Title |
---|
Convolutional neural network-assisted recognition of nanoscale L12 ordered structures in face-centred cubic alloys;Li, Y等;《npj Computational Materials》;20210105;第1-9页 * |
Also Published As
Publication number | Publication date |
---|---|
CN113920437A (en) | 2022-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109583489B (en) | Defect classification identification method and device, computer equipment and storage medium | |
WO2021000524A1 (en) | Hole protection cap detection method and apparatus, computer device and storage medium | |
CN108968991B (en) | Hand bone X-ray film bone age assessment method, device, computer equipment and storage medium | |
Mery | Aluminum casting inspection using deep learning: a method based on convolutional neural networks | |
CN110930378B (en) | Emphysema image processing method and system based on low data demand | |
CN112699941A (en) | Plant disease severity image classification method and device, computer equipment and storage medium | |
CN115420707A (en) | Sewage near infrared spectrum chemical oxygen demand assessment method and system | |
CN115439654A (en) | Method and system for finely dividing weakly supervised farmland plots under dynamic constraint | |
CN113920437B (en) | Conductive particle identification method, system, storage medium and computer equipment | |
CN112507991B (en) | Method and system for setting gate of flow cytometer data, storage medium and electronic equipment | |
CN112488983A (en) | Defect identification network obtaining method, defect identification method and grade determining method | |
US20230029474A1 (en) | Machine vision for characterization based on analytical data | |
CN115485740A (en) | Abnormal wafer image classification | |
CN105740884A (en) | Hyper-spectral image classification method based on singular value decomposition and neighborhood space information | |
CN116205918B (en) | Multi-mode fusion semiconductor detection method, device and medium based on graph convolution | |
CN115861305A (en) | Flexible circuit board detection method and device, computer equipment and storage medium | |
CN117011222A (en) | Cable buffer layer defect detection method, device, storage medium and equipment | |
CN115375674A (en) | Stomach white-light neoplasia image identification method, device and storage medium | |
CN115482227A (en) | Machine vision self-adaptive imaging environment adjusting method | |
Shetty | Vision-based inspection system employing computer vision & neural networks for detection of fractures in manufactured components | |
CN116977239A (en) | Defect detection method, device, computer equipment and storage medium | |
CN114897797A (en) | Method, device and equipment for detecting defects of printed circuit board and storage medium | |
CN110889456B (en) | Neural network-based co-occurrence matrix feature extraction method and device, storage medium and terminal | |
CN110632024B (en) | Quantitative analysis method, device and equipment based on infrared spectrum and storage medium | |
Trinks et al. | Image mining for real time quality assurance in rapid prototyping |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |