CN113920437B - Conductive particle identification method, system, storage medium and computer equipment - Google Patents

Conductive particle identification method, system, storage medium and computer equipment Download PDF

Info

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
Application number
CN202111518830.XA
Other languages
Chinese (zh)
Other versions
CN113920437A (en
Inventor
雷雨
贾可
万迪文
易国锋
徐行
沈复民
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Koala Youran Technology Co ltd
Original Assignee
Chengdu Koala Youran Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Koala Youran Technology Co ltd filed Critical Chengdu Koala Youran Technology Co ltd
Priority to CN202111518830.XA priority Critical patent/CN113920437B/en
Publication of CN113920437A publication Critical patent/CN113920437A/en
Application granted granted Critical
Publication of CN113920437B publication Critical patent/CN113920437B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • G06T3/02
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image
    • G06T3/40Scaling the whole image or part thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20081Training; Learning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20084Artificial neural networks [ANN]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection
    • G06T2207/30121CRT, 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

Conductive particle identification method, system, storage medium and computer equipment
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, wherein
Figure 182386DEST_PATH_IMAGE001
Which represents the i-th original picture,
Figure 1437DEST_PATH_IMAGE002
representing the area marked with the conductive particles in the ith original picture. F samples d are selected, and pictures are taken
Figure 295016DEST_PATH_IMAGE003
The delimited region where the k relatively clear conductive particle points are located
Figure 647237DEST_PATH_IMAGE004
J =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 area
Figure 384380DEST_PATH_IMAGE004
Performing maximum and minimum normalization processing to obtain the region
Figure 80941DEST_PATH_IMAGE004
Mean value of pixel values
Figure 557971DEST_PATH_IMAGE005
Sum variance
Figure 875951DEST_PATH_IMAGE006
Inputting the mean value
Figure 407164DEST_PATH_IMAGE005
And the variance
Figure 325441DEST_PATH_IMAGE006
Pearson 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)
Figure 836188DEST_PATH_IMAGE007
Subtracting the input mean value
Figure 772789DEST_PATH_IMAGE005
Then, the variance is divided by
Figure 976368DEST_PATH_IMAGE006
Further obtain the picture
Figure 116363DEST_PATH_IMAGE002
Of (2) a
Figure 194915DEST_PATH_IMAGE004
Normalizing the result
Figure 487487DEST_PATH_IMAGE008
. Specifically, the standard correlation coefficient matches the formula,
Figure 89064DEST_PATH_IMAGE009
(1)
wherein the content of the first and second substances,
Figure 591721DEST_PATH_IMAGE008
representing the result of normalization of a standard image taken from the region, w being the picture length, h being the picture width,
Figure 568904DEST_PATH_IMAGE010
is the average of the pixel values of the original picture,
Figure 604731DEST_PATH_IMAGE011
the standard deviation of the pixel value of the original picture is obtained;
Figure 25479DEST_PATH_IMAGE012
(2)
wherein the content of the first and second substances,
Figure 513967DEST_PATH_IMAGE013
representing samples of pictures to be transformed in a data set D
Figure 294841DEST_PATH_IMAGE014
The result of the normalization process, w is the picture length, h is the picture width,
Figure 686639DEST_PATH_IMAGE015
the pixel value of the picture sample to be transformed at (x, y),
Figure 776824DEST_PATH_IMAGE016
is the average value of the picture samples to be changed,
Figure 988494DEST_PATH_IMAGE017
the standard deviation of the picture sample to be changed is obtained;
Figure 687240DEST_PATH_IMAGE018
(3)
Figure 58179DEST_PATH_IMAGE019
is a matrix of radial transformations.
According to affine matrix
Figure 945363DEST_PATH_IMAGE019
Taking the coordinate position of the maximum value of similarity in the affine matrix
Figure 18230DEST_PATH_IMAGE020
These 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 set
Figure 281853DEST_PATH_IMAGE021
Which is
Figure 507298DEST_PATH_IMAGE022
Step S2: performing first preprocessing on the first data set to obtain a second data set;
for training set picture
Figure 63919DEST_PATH_IMAGE023
Obtaining an enhanced data set by a data enhancement method
Figure 391126DEST_PATH_IMAGE024
The method comprises the following specific steps: input gray scale picture is recorded as
Figure 691395DEST_PATH_IMAGE025
For the gray scale picture
Figure 771347DEST_PATH_IMAGE025
Respectively perform translation
Figure 334DEST_PATH_IMAGE026
Operation, as shown in equation (4):
Figure 65371DEST_PATH_IMAGE027
(4)
wherein the content of the first and second substances,
Figure 405217DEST_PATH_IMAGE026
in
Figure 605254DEST_PATH_IMAGE028
Is the translational component of the x-axis in two dimensions;
Figure 503677DEST_PATH_IMAGE029
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;
rotate
Figure 398952DEST_PATH_IMAGE030
Operation, as shown in equation (5):
Figure 181969DEST_PATH_IMAGE031
(5)
wherein, in the matrix
Figure 111879DEST_PATH_IMAGE032
Is the angle of rotation;
miscut cut
Figure 541724DEST_PATH_IMAGE033
Operation, as shown in equation (6):
Figure 688409DEST_PATH_IMAGE034
(6)
wherein the content of the first and second substances,
Figure 511003DEST_PATH_IMAGE033
in
Figure 534234DEST_PATH_IMAGE035
And
Figure 541505DEST_PATH_IMAGE036
is the coordinate position of the source map rotation center,
Figure 270426DEST_PATH_IMAGE037
is a miscut angle;
Figure 519880DEST_PATH_IMAGE038
is a miscut control variable;
the above hyper-parameters
Figure 299748DEST_PATH_IMAGE039
Etc. are all custom presets.
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 take
Figure 445296DEST_PATH_IMAGE040
Otherwise
Figure 68039DEST_PATH_IMAGE041
As 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
Figure 216123DEST_PATH_IMAGE042
. To summarize, we enhance the data set
Figure 473667DEST_PATH_IMAGE043
For each picture size in the enhanced data set, scaling down
Figure 432527DEST_PATH_IMAGE043
The 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 obtained
Figure 769662DEST_PATH_IMAGE044
The definition is as follows:
Figure 596803DEST_PATH_IMAGE045
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 encoder
Figure 334952DEST_PATH_IMAGE046
Inputting a second data set
Figure 353462DEST_PATH_IMAGE047
To-be-detected picture in
Figure 295004DEST_PATH_IMAGE048
Obtaining coding features
Figure 424372DEST_PATH_IMAGE049
And respectively performing classification prediction and regression prediction by using the coding characteristics q output by the model F.
Designing a visual encoder
Figure 892393DEST_PATH_IMAGE046
The visual encoder
Figure 707903DEST_PATH_IMAGE046
Is 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 as
Figure 759910DEST_PATH_IMAGE050
I =1,2,3,4 represents the i-th layer module of the encoder F,
Figure 804220DEST_PATH_IMAGE051
is an input feature of the ith layer;
the picture to be detected
Figure 896722DEST_PATH_IMAGE052
And (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 detected
Figure 492920DEST_PATH_IMAGE052
Which regions have a distribution of conductive particle centers
Figure 923901DEST_PATH_IMAGE053
(ii) a The other part, performing regression prediction to predict the deviation value of the center position
Figure 395072DEST_PATH_IMAGE054
The formula is as follows:
Figure 713051DEST_PATH_IMAGE055
wherein the content of the first and second substances,
Figure 978685DEST_PATH_IMAGE056
representing the prediction result of the ith sample of the training set,
Figure 631384DEST_PATH_IMAGE057
representing a merge operation, where the split streams are broken down
Figure 407710DEST_PATH_IMAGE058
The first channel represents
Figure 344311DEST_PATH_IMAGE059
The last two channels represent
Figure 547890DEST_PATH_IMAGE060
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
Figure 548205DEST_PATH_IMAGE061
Classification loss function
Figure 987277DEST_PATH_IMAGE061
And 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):
Figure 404483DEST_PATH_IMAGE062
(7)
wherein the content of the first and second substances,
Figure 11920DEST_PATH_IMAGE063
is the true value between the output values 0-1, from
Figure 124363DEST_PATH_IMAGE064
Figure 741027DEST_PATH_IMAGE065
Is a prediction value for the classification of the model,
Figure 12740DEST_PATH_IMAGE066
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 function
Figure 682755DEST_PATH_IMAGE067
Obtaining a predicted conductive particle to center shift error value
Figure 905664DEST_PATH_IMAGE068
The predicted center position is compensated and corrected by a smooth L1 loss function, as shown in equation (8):
Figure 437271DEST_PATH_IMAGE069
(8)
wherein the content of the first and second substances,
Figure 67884DEST_PATH_IMAGE070
from
Figure 784167DEST_PATH_IMAGE071
And n represents the number of all samples in the training set.
Step S43: computing a sample set
Figure 854892DEST_PATH_IMAGE072
Classification loss function of
Figure 813358DEST_PATH_IMAGE073
And correcting the loss function
Figure 935029DEST_PATH_IMAGE067
Figure 320749DEST_PATH_IMAGE074
Figure 19714DEST_PATH_IMAGE075
In order to be a hyper-parameter,
Figure 142391DEST_PATH_IMAGE076
as a function of total loss based on
Figure 7317DEST_PATH_IMAGE076
And 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):
Figure 675190DEST_PATH_IMAGE077
(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.
CN202111518830.XA 2021-12-14 2021-12-14 Conductive particle identification method, system, storage medium and computer equipment Active CN113920437B (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (8)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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