CN112102236A - Polycrystalline subfissure detection method based on two deep stages - Google Patents
Polycrystalline subfissure detection method based on two deep stages Download PDFInfo
- Publication number
- CN112102236A CN112102236A CN202010789624.1A CN202010789624A CN112102236A CN 112102236 A CN112102236 A CN 112102236A CN 202010789624 A CN202010789624 A CN 202010789624A CN 112102236 A CN112102236 A CN 112102236A
- Authority
- CN
- China
- Prior art keywords
- image
- subfissure
- polycrystalline
- detection
- interest
- 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.)
- Pending
Links
Images
Classifications
-
- 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
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/25—Fusion techniques
- G06F18/253—Fusion techniques of extracted features
-
- 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
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
- G06V10/25—Determination of region of interest [ROI] or a volume of interest [VOI]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/40—Extraction of image or video features
- G06V10/44—Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Data Mining & Analysis (AREA)
- Life Sciences & Earth Sciences (AREA)
- Multimedia (AREA)
- Evolutionary Computation (AREA)
- Artificial Intelligence (AREA)
- General Engineering & Computer Science (AREA)
- Biophysics (AREA)
- Molecular Biology (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Bioinformatics & Computational Biology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Evolutionary Biology (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Quality & Reliability (AREA)
- Image Analysis (AREA)
Abstract
The invention discloses a polycrystalline subfissure detection method based on two stages of depth, which comprises the steps of preprocessing and amplifying an EL image of a polycrystalline photovoltaic panel; aiming at the problem of polycrystalline photovoltaic panel subfissure, a new method for screening the region of interest is designed; the detection method is used for training and classifying image features based on Fast R-CNN algorithm. The method has the advantage that the method is applied to the subfissure research of the polycrystalline photovoltaic module for the first time based on the machine learning algorithm. The method is applied to the polycrystalline photovoltaic component subfissure detection, and the detection accuracy rate of the method is verified to be far higher than that of the traditional method and the learning method through comparison of different methods, so that the problems that the existing subfissure detection mainly depends on manpower and is low in detection efficiency are solved, and the detection precision of the subfissure failure area of the polycrystalline photovoltaic panel is improved.
Description
Technical Field
The invention relates to a two-stage deep learning method for polycrystalline photovoltaic panel subfissure detection.
Background
The power generation efficiency of a solar cell module is one of the most concerned problems in photovoltaic power generation. The clapping diagnosis of the photovoltaic module directly influences the power generation efficiency, so that clapping detection becomes a general concern and also provides new requirements for a detection method. The existing subfissure detection method mainly depends on manual work, and has low detection efficiency, so that the method has important research significance for quickly and accurately positioning the subfissure-generating region.
In recent years, various target detection algorithms are proposed one after another, which are widely applied to the problems of face detection, vehicle identification and the like, but are rarely applied to the aspect of photovoltaic module subfissure detection so far. The reason is that due to the existence of the polycrystalline photovoltaic panel background floccules, the polycrystalline photovoltaic panel background floccules are easy to be confused with the subfissure, and the detection difficulty is increased; due to the imbalance between the positive and negative surface samples and the requirement on positioning precision, the method is low in efficiency for directly detecting the whole photovoltaic module image, and the traditional deep learning method is poor in detection effect and cannot meet the requirement.
Disclosure of Invention
The invention aims to solve the problems and provides an advanced polycrystalline photovoltaic panel subfissure detection method. The accuracy is ensured as much as possible, and the requirements on precision and speed of hidden crack positioning are improved.
The technical scheme is as follows: the polycrystalline subfissure detection method based on the two-stage depth comprises the steps of cutting and preprocessing a subfissure image sample, and provides a screening strategy of an interested region and a detection neural network based on Fast R-CNN aiming at subfissure characteristics.
And (3) segmenting the EL image of the polycrystalline photovoltaic module according to the boundary of the photovoltaic module unit to obtain a 240 x 240 image, automatically calculating the position of a grid line according to the gray information, and cutting the image along the grid line. And performing sliding window clipping on the obtained result to finally obtain a 40-by-40 image. Due to the great difference between the positive sample and the negative sample, the negative sample is enlarged by 8 times through data augmentation modes such as mirroring, overturning, random cutting, center cutting and the like. After treatment, the ratio of positive to negative samples was about 1:1, and the number of training samples was about 15000. And extracting low-frequency characteristics of the original image by using Haar wavelets, and discarding the high-frequency image. The size of the image after the Haar transformation is one fourth of the original image, and bilinear interpolation is selected to adjust the size of the image to 40 x 40.
A selective search is used to extract the region of interest and discarded if the region contour is greater than 140 or less than 40. The edges were obtained by Canny algorithm, threshold 150, and secondary screening was performed in conjunction with the edge information. The screening condition is that the effective information ratio of the k-th ROIGreater than 25%:
is the amount of edge information of the kth region of interestedgeIs the total number of all edge information on a graph. Or the effective area of the kth region of interestThe ratio is more than 40%:
andwidth and height of the kth region of interest. The edges are composed of pixels, so the number of edge pixels in a region of interest is equal to the area. Only when the region of interest satisfies (1) or (2) can be left.
And arranging the interested areas according to the priority rule, and normalizing the interested areas to be 5. If the number of the interested areas is more than 5, selecting the first 5 interested areas; if the number of the interested areas is less than 5, the interested areas are sequentially supplemented according to the priority order. The priority rules are as follows:
(1) the area is greater than 40.
(2) When the mean pixels in the region of interest are smaller than the mean pixels of the entire image, they are arranged in descending order of area and gray. If the areas are the same, the region of interest with the better gray value is preferentially selected.
(3) The pixel mean value of the interested area is higher than the original pixel mean value.
For images larger than 5 regions of interest, the first 5 are selected; and in other cases, increases according to priority until 5 regions of interest are selected.
In a two-class network, a region of interest is integrated as a local feature with original image information, so that the system focuses more on the local information. We apply the resulting candidate region of interest to the feature map of the first layer convolution by linear transformation.Representing the mth region of interest of image k in layer 1 feature map i.Andrepresenting the mth region of interest in the kth picture.bk,iRepresenting the weights and offsets of layer 1. The output of the first layer convolution is:
the mth region of interest is in the feature map i. r represents the size ratio of the feature map and the original image.
The size of the region of interest features is normalized to 18 x 18 by the region of interest pooling layer. Three local feature maps will be obtained for each image. And then sending the 15 local feature maps combined with the original features to a two-classification network for training. Obtaining the result of each ROI feature map through the region-of-interest pooling layer:
the result of each common signature from the origin to the maximum pooling layer is:
and (3) splicing the two feature maps calculated above:
after the network training is finished, the method has a good effect on a test set, wherein the accuracy rate of the positive sample reaches 89.5%, the accuracy rate of the negative sample reaches 90.25%, and the average accuracy rate reaches 89.89%.
Has the advantages that:
compared with the existing subfissure detection technology, the invention has the following advantages: (1) on the premise of not depending on a high-quality label, the method is firstly tried to be applied to the engineering field of polycrystalline photovoltaic module subfissure detection by using a depth method; (2) according to the method, grid line interference is eliminated aiming at the characteristic of the subfissure image, and image information is reserved to the maximum extent by using a method of combining wavelet and bilinear interpolation; (3) the invention provides a more effective region-of-interest extraction method aiming at a polycrystalline photovoltaic panel subfissure image; (4) the algorithm designed by the invention focuses attention on the target as much as possible, excludes other irrelevant information, and is superior to most traditional and learning methods in the polycrystalline subfissure detection problem; (5) compared with the traditional manual method, the method is more suitable for industrial production and application.
Drawings
Fig. 1 is an EL image of a polycrystalline photovoltaic panel to which the present invention is directed.
FIG. 2 is a schematic diagram of a cropping scheme of the method for polycrystalline subfissure images;
fig. 3 is a flow chart of region of interest extraction proposed in the present invention;
fig. 4 is a diagram of a neural network algorithm framework proposed in the present invention.
Detailed Description
The technical scheme of the invention is further explained by combining the accompanying drawings as follows:
as shown in fig. 2-4, the present invention provides a polycrystalline subfissure detection method based on two stages of depth, which includes: preprocessing and augmenting image data, designing a new region-of-interest screening method aiming at the subfissure image, and designing a neural network based on Fast R-CNN algorithm. The specific method of the present invention is directed to a polycrystalline light sheet EL image as shown in fig. 1.
The method is completed by using a Python3 language, a pyWavelets library is used for filtering data, and a Pythroch building algorithm structure is adopted.
Fig. 2 shows a process of image data cropping. The five-grid photovoltaic panel was cut into 6 images according to grid line positions, and img2-img5 was further cut with a 40 × 40 sliding window as input for subsequent preprocessing. Extracting low-frequency characteristics of an original image by using Haar wavelets, and adjusting the size of the image to 40 x 40 by selecting bilinear interpolation because the size of the converted image is one fourth of that of the original image.
Fig. 3 shows a flow of image preprocessing, and a specific process thereof is shown in table 1. The purpose of extracting the ROI is to fuse more local features, facilitate subsequent convolutional neural network learning rules and improve accuracy. The number of ROIs is planned to be normalized to 5.
TABLE 1 interesting region extraction procedure
Fig. 4 shows the specific structure of the algorithm, and the parameters are shown in table 2. The output of the neural network, 0, represents no subfissure and 1 represents subfissure.
TABLE 2 Algorithm Structure parameters
Claims (2)
1. A polycrystalline subfissure detection method based on two deep stages is characterized by comprising the following steps:
step one, preprocessing and amplifying polycrystalline subfissure EL image data of a photovoltaic panel: extracting low-frequency features of the image by using Haar wavelets, and abandoning high-frequency features; then, reducing the image to the original size by using a bilinear interpolation method, and dividing the image to manufacture a training set and a test set;
designing a new region-of-interest screening method aiming at the subfissure image; firstly, extracting all possible interesting regions by using a selective search algorithm, and filtering out regions with too large or too small circumference; secondly, obtaining edge information of the target by using a Canny algorithm, wherein the threshold value is fixed to be 150; the edge information is defined as valid information. Screening out areas with effective information proportion larger than 25% or effective area larger than 40%;
the effective information ratio calculation method is as follows, wherein the effective information ratio of the k-th ROIMore than 25 percent of the total weight of the composition,is the amount of edge information of the k-th ROI NedgeIs the total number of all edge information on a graph:
the effective area calculation method is as follows, whereinAndwidth and height of kth ROI, the edge is made up of pixels, so the number of edge pixels in one ROI equals the area:
arranging the interested areas according to the priority rule, normalizing to 5, and if the number of the interested areas is more than 5, selecting the first 5 interested areas; if the number of the interested areas is less than 5, sequentially supplementing according to a priority order, wherein the priority rule is as follows: (21) the area of the region of interest is greater than 40 pixels; (22) when the mean pixels in the region of interest are smaller than the mean pixels of the entire image, they are arranged in descending order of area and gray. If the areas are the same, preferentially selecting an interested area with higher gray value; (23) the pixel mean value of the interested area is higher than the original pixel mean value;
step three, designing a neural network based on a Fast R-CNN algorithm: respectively sending the original image and the region of interest into a convolutional layer and a pooling layer, respectively obtaining 15 and 20 characteristic graphs for splicing, sending the spliced characteristic graphs into a three-layer fully-connected neural network for training, wherein the training process comprises the following steps: (31) setting the network parameters as default values, and calculating a classification result; (32) comparing the classification result with the actual label, reducing parameter errors by using a cross validation function, and recalculating; (33) and repeating the steps until the training precision meets the requirement, and stopping training.
2. The polycrystalline subfissure detection method based on the two-stage depth is characterized by comprising the following steps of: in the first step, the preprocessing and the amplification of the polycrystalline subfissure EL image data of the photovoltaic panel further comprise the steps of segmenting the EL image of the polycrystalline photovoltaic module according to the boundary of a photovoltaic module unit to obtain a 240 x 240 image, automatically calculating the position of a grid line according to gray scale information, cutting the image along the grid line, and performing sliding window cutting on the obtained result to finally obtain a 40 x 40 image; the negative samples are enlarged by 8 times by mirroring, flipping, random cropping and center cropping.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010789624.1A CN112102236A (en) | 2020-08-07 | 2020-08-07 | Polycrystalline subfissure detection method based on two deep stages |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010789624.1A CN112102236A (en) | 2020-08-07 | 2020-08-07 | Polycrystalline subfissure detection method based on two deep stages |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112102236A true CN112102236A (en) | 2020-12-18 |
Family
ID=73752986
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010789624.1A Pending CN112102236A (en) | 2020-08-07 | 2020-08-07 | Polycrystalline subfissure detection method based on two deep stages |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112102236A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113487563A (en) * | 2021-07-02 | 2021-10-08 | 河海大学常州校区 | Photovoltaic module subfissure self-adaptive detection method based on EL image |
CN115759820A (en) * | 2022-11-10 | 2023-03-07 | 广东华矩检测技术有限公司 | Photovoltaic power station loss assessment calculation method and system and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107123117A (en) * | 2017-04-26 | 2017-09-01 | 广东工业大学 | A kind of IC pin quality of welding spot detection method and device based on deep learning |
CN107451615A (en) * | 2017-08-01 | 2017-12-08 | 广东工业大学 | Thyroid papillary carcinoma Ultrasound Image Recognition Method and system based on Faster RCNN |
CN108280855A (en) * | 2018-01-13 | 2018-07-13 | 福州大学 | A kind of insulator breakdown detection method based on Fast R-CNN |
CN110487802A (en) * | 2019-08-15 | 2019-11-22 | 苏州热工研究院有限公司 | The identification device of on-site test photovoltaic module defect |
-
2020
- 2020-08-07 CN CN202010789624.1A patent/CN112102236A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107123117A (en) * | 2017-04-26 | 2017-09-01 | 广东工业大学 | A kind of IC pin quality of welding spot detection method and device based on deep learning |
CN107451615A (en) * | 2017-08-01 | 2017-12-08 | 广东工业大学 | Thyroid papillary carcinoma Ultrasound Image Recognition Method and system based on Faster RCNN |
CN108280855A (en) * | 2018-01-13 | 2018-07-13 | 福州大学 | A kind of insulator breakdown detection method based on Fast R-CNN |
CN110487802A (en) * | 2019-08-15 | 2019-11-22 | 苏州热工研究院有限公司 | The identification device of on-site test photovoltaic module defect |
Non-Patent Citations (1)
Title |
---|
SIRUI CHEN等: "A Deep Two-Stage Scheme for Polycrystalline Micro-Crack Detection", 《PROCEEDINGS OF THE 2020 INTERNATIONAL CONFERENCE ON PATTERN RECOGNITION AND INTELLIGENT SYSTEMS》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113487563A (en) * | 2021-07-02 | 2021-10-08 | 河海大学常州校区 | Photovoltaic module subfissure self-adaptive detection method based on EL image |
CN113487563B (en) * | 2021-07-02 | 2023-09-05 | 河海大学常州校区 | EL image-based self-adaptive detection method for hidden cracks of photovoltaic module |
CN115759820A (en) * | 2022-11-10 | 2023-03-07 | 广东华矩检测技术有限公司 | Photovoltaic power station loss assessment calculation method and system and storage medium |
CN115759820B (en) * | 2022-11-10 | 2024-02-02 | 广东华矩检测技术有限公司 | Loss assessment calculation method, system and storage medium for photovoltaic power station |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108961235B (en) | Defective insulator identification method based on YOLOv3 network and particle filter algorithm | |
CN113052210B (en) | Rapid low-light target detection method based on convolutional neural network | |
CN110298227B (en) | Vehicle detection method in unmanned aerial vehicle aerial image based on deep learning | |
CN107153822A (en) | A kind of smart mask method of the semi-automatic image based on deep learning | |
CN109448001B (en) | Automatic picture clipping method | |
CN110909666A (en) | Night vehicle detection method based on improved YOLOv3 convolutional neural network | |
CN107506765B (en) | License plate inclination correction method based on neural network | |
CN108520212A (en) | Method for traffic sign detection based on improved convolutional neural networks | |
CN110399840B (en) | Rapid lawn semantic segmentation and boundary detection method | |
CN112149535B (en) | Lane line detection method and device combining SegNet and U-Net | |
CN112102236A (en) | Polycrystalline subfissure detection method based on two deep stages | |
CN110032952B (en) | Road boundary point detection method based on deep learning | |
CN110675421B (en) | Depth image collaborative segmentation method based on few labeling frames | |
CN111553898A (en) | Fabric defect detection method based on convolutional neural network | |
CN113160139A (en) | Attention-based steel plate surface defect detection method of Faster R-CNN network | |
CN110969620A (en) | Method and device for detecting magnetic shoe ripple defects | |
CN115272204A (en) | Bearing surface scratch detection method based on machine vision | |
CN113658200A (en) | Edge perception image semantic segmentation method based on self-adaptive feature fusion | |
CN111353396A (en) | Concrete crack segmentation method based on SCSEOCUnet | |
CN115953408A (en) | YOLOv 7-based lightning arrester surface defect detection method | |
CN114359702A (en) | Method and system for identifying building violation of remote sensing image of homestead based on Transformer | |
CN112487938A (en) | Method for realizing garbage classification by utilizing deep learning algorithm | |
CN116503336A (en) | Pavement crack detection method based on deep learning | |
CN115880691A (en) | Roof photovoltaic potential estimation method based on computer vision | |
CN114693966A (en) | Target detection method based on deep learning |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201218 |
|
RJ01 | Rejection of invention patent application after publication |