CN109035226B - Mura defect detection method based on LSTM model - Google Patents

Mura defect detection method based on LSTM model Download PDF

Info

Publication number
CN109035226B
CN109035226B CN201810763443.4A CN201810763443A CN109035226B CN 109035226 B CN109035226 B CN 109035226B CN 201810763443 A CN201810763443 A CN 201810763443A CN 109035226 B CN109035226 B CN 109035226B
Authority
CN
China
Prior art keywords
lstm
panel
lstm model
sample
areas
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
CN201810763443.4A
Other languages
Chinese (zh)
Other versions
CN109035226A (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.)
Wuhan Jingce Electronic Group Co Ltd
Original Assignee
Wuhan Jingce Electronic Group 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 Wuhan Jingce Electronic Group Co Ltd filed Critical Wuhan Jingce Electronic Group Co Ltd
Priority to CN201810763443.4A priority Critical patent/CN109035226B/en
Publication of CN109035226A publication Critical patent/CN109035226A/en
Application granted granted Critical
Publication of CN109035226B publication Critical patent/CN109035226B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/8851Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/8851Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
    • G01N2021/8887Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges based on image processing techniques
    • 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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Data Mining & Analysis (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Artificial Intelligence (AREA)
  • Signal Processing (AREA)
  • Evolutionary Computation (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Quality & Reliability (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Abstract

The invention discloses a Mura defect detection method based on an LSTM model, which comprises the following steps: 1) equally dividing the panel into m areas, and collecting qualified product samples and defective product samples of the m areas; 2) forming a sample sequence by the qualified product sample and the defective product sample of each region, and establishing an LSTM model for each sequence; 3) respectively carrying out LSTM model training on the sample sequences of the m areas; 4) inputting the pictures of m areas of the panel to be detected into corresponding LSTM models, and outputting qualified or defective classification results by the m LSTM models; 5) and (5) integrating the classification results of the m LSTM models, and judging whether the classification result of any region is a defect. According to the method, the defect detection model is established through the deep neural network, so that the limitations of background segmentation and parameter extraction of the traditional algorithm are effectively avoided, the labor cost is reduced, the Mura defect can be rapidly output, the defect is accurately detected, and the accuracy and the efficiency of the Mura defect detection are improved.

Description

Mura defect detection method based on LSTM model
Technical Field
The invention relates to the field of automatic defect detection of panels, in particular to deep learning and image processing, and specifically relates to a Mura defect detection method based on an LSTM model.
Background
In AOI (Automatic optical Inspection) defect detection, Mura defect detection is of great importance, and the final judgment results of defect reduction and the like of the LCD panel are directly influenced. The Mura defect has the characteristics of irregular shape, uneven size, unfixed position, uneven local or overall brightness and low contrast, and is limited by human eye perception and subjective factors, so that the Mura defect is difficult to quickly and accurately detect and evaluate quickly and accurately, and as can be seen from figure 1, the contrast of the Mura defect relative to the background is very low, the edge is fuzzy and is difficult to identify by naked eyes. Meanwhile, with the generation of new processes, various unpredictable Mura defects are also generated. At present, a stable and reliable detection system is not formed in the traditional algorithm, and a more stable and higher-precision Mura defect detection method needs to be found.
As shown in fig. 2, the conventional Mura defect detection process is generally divided into 4 processes of image acquisition, brightness correction, image enhancement and defect detection. Along with the development trend of large picture, light weight and high resolution of LCD, the occurrence probability of Mura defect is greatly increased, and the environment is more and more complex, and the repeated texture background, the non-uniform whole brightness, the fuzzy edge of the defect and the lower contrast ratio make the traditional brightness correction and picture enhancement algorithm in image processing difficult to directly detect the Mura defect. Therefore, a new set of methods must be developed to meet the existing industry requirements.
Disclosure of Invention
Aiming at the defects of the prior art, the invention aims to provide a Mura defect detection method based on an LSTM model, which establishes a defect detection model through a deep neural network, effectively avoids the limitations of background segmentation and parameter extraction of the traditional algorithm, reduces the labor cost, can quickly output Mura defects, accurately detects the defects and improves the accuracy and efficiency of Mura defect detection.
In order to achieve the above purpose, the invention provides a Mura defect detection method based on an LSTM model, which is characterized by comprising the following steps:
1) equally dividing the panel into m areas, and collecting qualified product samples and defective product samples of the m areas;
2) forming a sample sequence by the qualified product sample and the defective product sample of each region, and establishing an LSTM model for each sequence;
3) respectively carrying out LSTM model training on the sample sequences of the m regions, and extracting qualified product sample characteristics and defective product sample characteristics through deep learning by the LSTM model;
4) inputting the pictures of m areas of the panel to be detected into corresponding LSTM models, and outputting qualified or defective classification results by the m LSTM models;
5) and (4) integrating the classification results of the m LSTM models, judging whether the classification result of any region is a defect, if so, judging that the panel to be detected is a Mura defect, and positioning the position of the defect, otherwise, judging that the panel to be detected is a qualified product.
Preferably, the ratio of the qualified product sample to the defective product sample is (0.8-1.2): (0.8 to 1.2).
Preferably, m ═ a, a is a natural number. Most preferably, a is 10.
Preferably, the panels to be tested are n panel products of the same batch.
Preferably, the panels of the qualified product samples and the defective product samples and the panel to be detected are panel products of the same model.
The invention provides a complete Mura defect detection method, which forms a sample sequence according to panel production time, carries out memory training through an LSTM network model, and can quickly screen defect-removed areas and normal areas after the network model trains the sample sequence, thereby carrying out defect detection. By the method, the Mura defect of the panel can be accurately and specifically detected, the limitation of the traditional algorithm can be successfully avoided, and meanwhile, the labor cost is greatly reduced.
The invention has the advantages that:
1) the panel area is divided into a plurality of sub-areas, so that the sequence information of each sub-area is improved, and the LSTM detection is facilitated;
2) based on the LSTM neural network, a large number of samples are learned, the interference of a complex background is reduced, and the accuracy of Mura detection is improved;
3) the detection method is suitable for online detection, and replaces the detection process of personnel, so that the labor cost and the time cost are reduced.
Drawings
Fig. 1 is an LCD sample view.
Fig. 2 is a flowchart of conventional Mura detection.
FIG. 3 is a schematic diagram of the LSTM model.
FIG. 4 is a flow chart of the Mura defect detection method based on the LSTM model.
FIG. 5 is a schematic diagram of a sample sequence structure.
Detailed Description
The invention is described in further detail below with reference to the figures and specific embodiments.
The present invention detects Mura defects using the LSTM model, which is a specific form of RNN (Recurrent neural network) that is a generic term for a series of neural networks that can process sequence data.
At present, panel products are produced according to batches, all products in the same batch can be regarded as a sequence sample, the difference between normal samples is small, the difference between every two adjacent samples in a sequence is smaller, and once the obvious difference occurs, Mura defects are generated with high probability.
The LSTM model avoids long-term dependency problems through deliberate design. Keeping in mind that long-term information is in practice the default behavior of LSTM. The key to the LSTM model is the cell state, with horizontal lines running across the top of the graph. The unit state is similar to a conveyor belt. Run directly on the whole chain with only a few linear interactions. It is easy for information to remain unchanged in the stream above. The LSTM model has the ability to remove or add information to the cell state through a carefully designed structure called a "gate". The gate is a method for selectively passing information, and comprises a Sigmoid neural network layer and a pointwise multiplication operation. The Sigmoid layer outputs a value between 0 and 1 describing how much of each part can pass through. 0 means that no amount is allowed to pass, and 1 means that any amount is allowed to pass. The LSTM model has three gates to protect and control the cell states, and its structural principle is shown in fig. 3.
The LSTM model established by the invention finds the mutual relation among normal samples by learning a sequence of panel samples, controls the information needing to be reserved or deleted by a forgetting gate, and correspondingly outputs the normal samples and Mura defect samples by an output gate.
As shown in fig. 4, the specific steps of the Mura defect detection method based on the LSTM model provided by the present invention include:
1) and equally dividing the panel into m-a areas, and collecting qualified product samples and defective product samples of the m areas. In this embodiment, m is 100 and a is 10. Dividing each panel sample into 100 areas of 10 × 10; and labeled 1-100, as shown in FIG. 5-a, the number of panels in the same batch is labeled as n.
2) The non-defective samples and defective samples of each region constitute a sample sequence, as shown in fig. 5-b, and each sequence establishes an LSTM model.
3) And respectively carrying out LSTM model training on the sample sequences of the m regions, and extracting qualified product sample characteristics and defective product sample characteristics by the LSTM model through deep learning. The training samples are generally 500-2000 pieces under normal conditions, and the ratio of qualified product samples to defective product samples is about 1: 1.
And (3) respectively carrying out LSTM model training on 100 sequence samples, wherein each sample controls input, forgetting and output through a gate. The gate is actually a fully connected layer, the input is the eigenvector x, and the output is a real vector between 0 and 1. The formula is as follows:
g(x)=σ(Wx+b)
in the formula, W: the weight matrix controls whether to reserve or forget by setting 0 or 1; b: the bias term of the gate, σ denotes the sigmoid function, is used as a threshold function for the neural network, maps variables between 0,1,
Figure BDA0001728439790000041
the LSTM calculates the unit state of the current input according to the last output and the current input by controlling an input gate according to the information of the learned sample sequence, and the input gate determines how much the input of the network is stored in the unit state at the current moment; the control of the forgetting door determines how much the unit state at the previous moment is reserved to the current moment; how much of the output gate control unit state is output to the current output value of the LSTM. Because the samples in the same batch have obvious sequence information, the LSTM can learn the previous useful information, and finally, the output gate can control how much information becomes the output value of the current LSTM; the LSTM establishes the feature rules of qualified products and defective products according to the features extracted by the LSTM, and then controls the retention quantity and the output quantity of the features extracted by each sample through three gates to establish a better model and realize Mura defect detection.
4) And inputting the pictures of the m areas of the panel to be detected into the corresponding LSTM models, and outputting qualified or defective classification results by the m LSTM models. In the LSTM learning process, 100 LSTM networks are generated, and when performing a test, a panel area is also divided into 10 × 10(100 areas), and each area is detected by using a corresponding model.
5) And (4) integrating the classification results of the m LSTM models, judging whether the classification result of any region is a defect, if so, judging that the panel to be detected is a Mura defect, and positioning the position of the defect, otherwise, judging that the panel to be detected is a qualified product. If one of the 100 output results is a Mura defect, the panel is judged as the Mura defect, and the defect position can be accurately positioned.
The foregoing is only a preferred embodiment of this invention and it should be noted that modifications can be devised by those skilled in the art without departing from the principles of the invention and these modifications should also be considered as within the scope of the invention.
Details not described in this specification are within the skill of the art that are well known to those skilled in the art.

Claims (5)

1. A Mura defect detection method based on an LSTM model is characterized in that: the method comprises the following steps:
1) equally dividing the panel into m areas, and collecting qualified product samples and defective product samples of the m areas; the panel of the qualified product sample and the panel of the defective product sample and the panel to be detected are panel products of the same type;
2) forming a sample sequence by the qualified product sample and the defective product sample of each region, and establishing an LSTM model for each sequence;
3) respectively carrying out LSTM model training on the sample sequences of the m regions, and extracting qualified product sample characteristics and defective product sample characteristics through deep learning by the LSTM model;
4) inputting the pictures of m areas of the panel to be detected into corresponding LSTM models, and outputting qualified or defective classification results by the m LSTM models;
5) and (4) integrating the classification results of the m LSTM models, judging whether the classification result of any region is a defect, if so, judging that the panel to be detected is a Mura defect, and positioning the position of the defect, otherwise, judging that the panel to be detected is a qualified product.
2. The method of claim 1 for detecting Mura defect based on LSTM model, wherein: the proportion of the qualified product sample to the defective product sample is (0.8-1.2): (0.8 to 1.2).
3. The method of claim 1 for detecting Mura defect based on LSTM model, wherein: m is a, a is a natural number.
4. The method of claim 1 for detecting Mura defect based on LSTM model, wherein: the qualified product sample and the defective product sample are n panel products in the same batch.
5. The method of claim 1 for detecting Mura defect based on LSTM model, wherein: a is 10.
CN201810763443.4A 2018-07-12 2018-07-12 Mura defect detection method based on LSTM model Active CN109035226B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810763443.4A CN109035226B (en) 2018-07-12 2018-07-12 Mura defect detection method based on LSTM model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810763443.4A CN109035226B (en) 2018-07-12 2018-07-12 Mura defect detection method based on LSTM model

Publications (2)

Publication Number Publication Date
CN109035226A CN109035226A (en) 2018-12-18
CN109035226B true CN109035226B (en) 2021-11-23

Family

ID=64641301

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810763443.4A Active CN109035226B (en) 2018-07-12 2018-07-12 Mura defect detection method based on LSTM model

Country Status (1)

Country Link
CN (1) CN109035226B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109856157A (en) * 2019-01-24 2019-06-07 武汉精立电子技术有限公司 It is a kind of based on the LCD panel defect inspection method adaptively focused
CN109829914B (en) * 2019-02-26 2021-09-03 视睿(杭州)信息科技有限公司 Method and device for detecting product defects
CN110322429B (en) * 2019-05-09 2022-04-05 中南大学 Honeycomb composite material defect classification method based on deep learning
CN110232406B (en) * 2019-05-28 2021-07-06 厦门大学 Liquid crystal panel CF image identification method based on statistical learning
CN110174409B (en) * 2019-06-14 2021-01-12 北京科技大学 Medium plate periodic defect control method based on real-time detection result
CN111191739B (en) * 2020-01-09 2022-09-27 电子科技大学 Wall surface defect detection method based on attention mechanism

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104318256A (en) * 2014-11-17 2015-01-28 上海埃蒙特自动化系统有限公司 Method for achieving automatic detection and classification of glass defects on basis of computer software
CN107423756A (en) * 2017-07-05 2017-12-01 武汉科恩斯医疗科技有限公司 Nuclear magnetic resonance image sequence sorting technique based on depth convolutional neural networks combination shot and long term memory models
CN108197648A (en) * 2017-12-28 2018-06-22 华中科技大学 A kind of Fault Diagnosis Method of Hydro-generating Unit and system based on LSTM deep learning models
CN108255656A (en) * 2018-02-28 2018-07-06 湖州师范学院 A kind of fault detection method applied to batch process

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9767557B1 (en) * 2016-06-23 2017-09-19 Siemens Healthcare Gmbh Method and system for vascular disease detection using recurrent neural networks

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104318256A (en) * 2014-11-17 2015-01-28 上海埃蒙特自动化系统有限公司 Method for achieving automatic detection and classification of glass defects on basis of computer software
CN107423756A (en) * 2017-07-05 2017-12-01 武汉科恩斯医疗科技有限公司 Nuclear magnetic resonance image sequence sorting technique based on depth convolutional neural networks combination shot and long term memory models
CN108197648A (en) * 2017-12-28 2018-06-22 华中科技大学 A kind of Fault Diagnosis Method of Hydro-generating Unit and system based on LSTM deep learning models
CN108255656A (en) * 2018-02-28 2018-07-06 湖州师范学院 A kind of fault detection method applied to batch process

Also Published As

Publication number Publication date
CN109035226A (en) 2018-12-18

Similar Documents

Publication Publication Date Title
CN109035226B (en) Mura defect detection method based on LSTM model
Chen et al. Accurate and robust crack detection using steerable evidence filtering in electroluminescence images of solar cells
Shipway et al. Automated defect detection for fluorescent penetrant inspection using random forest
CN104458755B (en) Multi-type material surface defect detection method based on machine vision
CN105118044B (en) A kind of wheel shape cast article defect automatic testing method
CN110274908A (en) Flaw detection apparatus, defect detecting method and computer readable recording medium
CN106875373A (en) Mobile phone screen MURA defect inspection methods based on convolutional neural networks pruning algorithms
CN107123111B (en) Deep residual error network construction method for mobile phone screen defect detection
CN108596226A (en) A kind of defects of display panel training method and system based on deep learning
CN109064459A (en) A kind of Fabric Defect detection method based on deep learning
CN111047655A (en) High-definition camera cloth defect detection method based on convolutional neural network
CN110852316A (en) Image tampering detection and positioning method adopting convolution network with dense structure
CN108492291A (en) A kind of photovoltaic silicon chip Defect Detection system and method based on CNN segmentations
CN110378313A (en) Cell mass recognition methods, device and electronic equipment
Arikan et al. Surface defect classification in real-time using convolutional neural networks
CN116843650A (en) SMT welding defect detection method and system integrating AOI detection and deep learning
CN115359054B (en) Power equipment defect detection method based on pseudo defect space generation
CN114359695A (en) Insulator breakage identification method based on uncertainty estimation
CN115797694A (en) Display panel microdefect classification method based on multi-scale twin neural network
CN110567967B (en) Display panel detection method, system, terminal device and computer readable medium
CN108960413A (en) A kind of depth convolutional neural networks method applied to screw surface defects detection
CN116385758A (en) Detection method for damage to surface of conveyor belt based on YOLOv5 network
Choi et al. Deep learning based defect inspection using the intersection over minimum between search and abnormal regions
Kunze et al. Efficient deployment of deep neural networks for quality inspection of solar cells using smart labeling
CN113393414A (en) Deep learning-based method and system for detecting roll mark defects of cold-rolled strip after steel grinding

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