CN117952982A - Photovoltaic module quantity and capacity detection method, system, terminal and medium - Google Patents
Photovoltaic module quantity and capacity detection method, system, terminal and medium Download PDFInfo
- Publication number
- CN117952982A CN117952982A CN202410354183.0A CN202410354183A CN117952982A CN 117952982 A CN117952982 A CN 117952982A CN 202410354183 A CN202410354183 A CN 202410354183A CN 117952982 A CN117952982 A CN 117952982A
- Authority
- CN
- China
- Prior art keywords
- photovoltaic
- capacity
- photovoltaic module
- module
- area
- 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.)
- Granted
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 34
- 238000000034 method Methods 0.000 claims abstract description 34
- 238000000605 extraction Methods 0.000 claims abstract description 27
- 238000012545 processing Methods 0.000 claims abstract description 19
- 238000007781 pre-processing Methods 0.000 claims abstract description 15
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 11
- 230000003993 interaction Effects 0.000 claims description 9
- 238000004364 calculation method Methods 0.000 claims description 5
- 230000005855 radiation Effects 0.000 claims description 5
- 238000006243 chemical reaction Methods 0.000 claims description 4
- 230000011218 segmentation Effects 0.000 claims description 4
- 239000011159 matrix material Substances 0.000 claims description 3
- 230000006870 function Effects 0.000 description 8
- 238000004891 communication Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000010248 power generation Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000005611 electricity Effects 0.000 description 2
- 229910000831 Steel Inorganic materials 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000005260 corrosion Methods 0.000 description 1
- 230000007797 corrosion Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 238000013467 fragmentation Methods 0.000 description 1
- 238000006062 fragmentation reaction Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000003698 laser cutting Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 238000007789 sealing Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 239000010959 steel Substances 0.000 description 1
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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/11—Region-based segmentation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/60—Analysis of geometric attributes
- G06T7/62—Analysis of geometric attributes of area, perimeter, diameter or volume
-
- 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
-
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/70—Labelling scene content, e.g. deriving syntactic or semantic representations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10004—Still image; Photographic image
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30242—Counting objects in image
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E10/00—Energy generation through renewable energy sources
- Y02E10/50—Photovoltaic [PV] energy
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Multimedia (AREA)
- Geometry (AREA)
- Computational Linguistics (AREA)
- Quality & Reliability (AREA)
- Image Analysis (AREA)
Abstract
The invention relates to the field of detection of photovoltaic modules, and particularly discloses a method, a system, a terminal and a medium for detecting the quantity and the capacity of photovoltaic modules, wherein a target image containing the photovoltaic modules is obtained; preprocessing a target image; performing feature extraction operation on the preprocessed target image by using a feature extraction algorithm to obtain edge features and texture features of the photovoltaic module; marking the photovoltaic module based on edge features and texture features of the photovoltaic module; obtaining the number of the photovoltaic modules and the area of the photovoltaic modules according to the marking result; and calculating the photovoltaic capacity according to the area of the photovoltaic module. According to the invention, the number of the photovoltaic modules is automatically obtained through image processing, the photovoltaic capacity is automatically obtained, manual counting is not needed, and the detection efficiency is improved.
Description
Technical Field
The invention relates to the field of photovoltaic module detection, in particular to a method, a system, a terminal and a medium for detecting the quantity and the capacity of photovoltaic modules.
Background
Photovoltaic modules, also known as solar panels, are the core part in solar power generation systems. The solar cell is formed by sealing a certain number of single solar cells in a serial and parallel mode, so that corrosion of cell electrodes and interconnection lines is avoided, battery fragmentation is avoided due to packaging, and outdoor installation is facilitated. The photovoltaic module is used for converting solar energy into electric energy and sending the electric energy to a storage battery for storage or pushing a load to work. The photovoltaic power generation system is the most important part in the photovoltaic power generation system, and is formed by combining photovoltaic component pieces or photovoltaic components with different specifications cut by a laser cutting machine or a steel wire cutting machine.
In recent years, with the rapid development of the photovoltaic industry, the performance and efficiency of the photovoltaic module are further improved, and more users install the photovoltaic module on the top of the house and use the photovoltaic module to generate electricity so as to save electricity cost. Before the photovoltaic modules are installed, the number and the capacity of the photovoltaic modules which can be installed are determined according to the convention, however, after the photovoltaic modules are constructed and accepted, the photovoltaic modules can be installed in a private mode by a user, and therefore the number and the capacity of the photovoltaic modules of the user are required to be detected irregularly. The detection of the quantity of the photovoltaic modules is carried out in a traditional mode by manual checking, but the photovoltaic modules are inconvenient to check by manual work when installed on a roof, and are labor-consuming and labor-consuming. At present, the scheme for counting the number of the photovoltaic modules through image processing can only acquire the number of the photovoltaic modules and cannot acquire the photovoltaic capacity in time.
Disclosure of Invention
In order to solve the problems, the invention provides a method, a system, a terminal and a medium for detecting the number and the capacity of photovoltaic modules, which are used for automatically acquiring the number of the photovoltaic modules through image processing and automatically acquiring the photovoltaic capacity without manual counting and improving the detection efficiency.
In a first aspect, the present invention provides a method for detecting the number and capacity of photovoltaic modules, including the following steps:
acquiring a target image containing a photovoltaic module;
Preprocessing a target image;
Performing feature extraction operation on the preprocessed target image by using a feature extraction algorithm to obtain edge features and texture features of the photovoltaic module;
Marking the photovoltaic module based on edge features and texture features of the photovoltaic module;
obtaining the number of the photovoltaic modules and the area of the photovoltaic modules according to the marking result;
and calculating the photovoltaic capacity according to the area of the photovoltaic module.
In an optional embodiment, the feature extraction algorithm is used to perform feature extraction operation on the preprocessed target image, so as to obtain edge features and texture features of the photovoltaic module, and specifically includes:
processing the preprocessed target image by using a Prewitt operator to obtain edge characteristics of the photovoltaic module;
And processing the preprocessed target image by using the gray level co-occurrence matrix to obtain the texture characteristics of the photovoltaic module.
In an alternative embodiment, marking the photovoltaic module based on the edge features and texture features of the photovoltaic module specifically includes:
dividing the photovoltaic module area according to the edge characteristics to obtain an initial divided area result;
Splicing the adjacent initial segmentation areas with the same texture characteristics to obtain a spliced photovoltaic module area, namely a single photovoltaic module area;
And extracting the outer contour of each single photovoltaic module region, and marking each photovoltaic module.
In an alternative embodiment, the method for obtaining the number of the photovoltaic modules and the area of the photovoltaic modules according to the marking result specifically comprises the following steps:
counting the number of the outer contours to obtain the number of the photovoltaic modules;
Calculating the circumscribed rectangle of the photovoltaic module area according to the outer contour of the photovoltaic module area;
calculating the area of the corresponding photovoltaic module area according to the circumscribed rectangle;
And adding the areas of all the photovoltaic module areas to obtain the photovoltaic module area.
In an alternative embodiment, the photovoltaic capacity is calculated according to the area of the photovoltaic module, and specifically includes:
the photovoltaic capacity P is calculated by the following formula:
P = η × A × G;
Where η is the conversion efficiency of the photovoltaic module, a is the photovoltaic module area, and G is the average solar radiation per unit time.
In an alternative embodiment, after calculating the photovoltaic capacity according to the photovoltaic module area, the method further comprises the following steps:
Judging whether the number and the capacity of the photovoltaic modules are in an expected range or not;
If yes, judging that the detection is passed, and prompting the information of the quantity and the capacity of the photovoltaic modules and the detection passing result on a human-computer interaction interface;
If not, judging that the detection fails, prompting the information of the quantity and the capacity of the photovoltaic modules and the result of the failed detection on a human-computer interaction interface.
In an alternative embodiment, preprocessing the target image includes gray scale processing and denoising processing in sequence.
In a second aspect, the present invention provides a system for detecting the number and capacity of photovoltaic modules, comprising,
An image acquisition module: acquiring a target image containing a photovoltaic module;
and a pretreatment module: preprocessing a target image;
And the feature extraction module is used for: performing feature extraction operation on the preprocessed target image by using a feature extraction algorithm to obtain edge features and texture features of the photovoltaic module;
Component marking module: marking the photovoltaic module based on edge features and texture features of the photovoltaic module;
And the quantity and area counting module is used for: obtaining the number of the photovoltaic modules and the area of the photovoltaic modules according to the marking result;
the capacity calculation module: and calculating the photovoltaic capacity according to the area of the photovoltaic module.
In a third aspect, a technical solution of the present invention provides a terminal, including:
The memory is used for storing the quantity and capacity detection programs of the photovoltaic modules;
and the processor is used for realizing the steps of the photovoltaic module quantity and capacity detection method according to any one of the above steps when executing the photovoltaic module quantity and capacity detection program.
In a fourth aspect, the present invention provides a computer readable storage medium, where a photovoltaic module number and capacity detection program is stored, where the photovoltaic module number and capacity detection program when executed by a processor implement the steps of the photovoltaic module number and capacity detection method according to any one of the above.
The method, the system, the terminal and the medium for detecting the quantity and the capacity of the photovoltaic modules have the following beneficial effects compared with the prior art: the method comprises the steps of preprocessing an image, extracting edge characteristics and texture characteristics of a photovoltaic module, marking according to the edge characteristics and the texture characteristics, and counting the number of the photovoltaic modules according to marking results.
Drawings
For a clearer description of embodiments of the invention or of the prior art, the drawings that are used in the description of the embodiments or of the prior art will be briefly described, it being apparent that the drawings in the description below are only some embodiments of the invention, and that other drawings can be obtained from them without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a method for detecting the number and the capacity of photovoltaic modules according to an embodiment of the present invention.
Fig. 2 is a schematic block diagram of a photovoltaic module quantity and capacity detection system according to an embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to better understand the aspects of the present invention, the present invention will be described in further detail with reference to the accompanying drawings and detailed description. It will be apparent that the described embodiments are only some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
Fig. 1 is a schematic flow chart of a method for detecting the number and the capacity of photovoltaic modules according to an embodiment of the present invention. The execution body of fig. 1 may be a photovoltaic module number and capacity detection system. The method for detecting the quantity and the capacity of the photovoltaic modules is executed by the computer equipment, and accordingly, the system for detecting the quantity and the capacity of the photovoltaic modules runs in the computer equipment. The order of the steps in the flow chart may be changed and some may be omitted according to different needs.
As shown in fig. 1, the method includes the following steps.
S1, acquiring a target image containing a photovoltaic module.
In an alternative embodiment, the unmanned aerial vehicle photographs the target area to obtain a target image containing the photovoltaic modules, and then the unmanned aerial vehicle transmits the target image to the operation terminal, and the operation terminal performs image processing to obtain the number and capacity of the photovoltaic modules.
S2, preprocessing the target image.
In an alternative embodiment, the preprocessing of the target image includes gray scale processing and denoising processing, the gray scale processing is performed first, and then the denoising processing is performed, so as to reduce the operation amount, improve the operation efficiency, remove noise, and improve the operation precision.
And S3, performing feature extraction operation on the preprocessed target image by using a feature extraction algorithm to obtain edge features and texture features of the photovoltaic module.
In this embodiment, edge features and texture features of the photovoltaic module are extracted, and in an alternative embodiment, the Prewitt operator is used to process the preprocessed target image to obtain the edge features of the photovoltaic module, and the gray level co-occurrence matrix is used to process the preprocessed target image to obtain the texture features of the photovoltaic module.
And S4, marking the photovoltaic module based on the edge characteristics and the texture characteristics of the photovoltaic module.
The marking of the photovoltaic modules in this embodiment means that the outer contour of each individual photovoltaic module is obtained for subsequent counting of the number and calculation of the area. Specifically comprises the following steps 1-3.
And step 1, dividing the photovoltaic module area according to the edge characteristics to obtain an initial divided area result.
And step 2, splicing the adjacent initial segmentation areas with the same texture characteristics to obtain a spliced photovoltaic module area, namely a single photovoltaic module area.
Considering that a plurality of horizontal and vertical stripes exist in the middle of the photovoltaic module, the photovoltaic module is divided into a plurality of small areas, the horizontal and vertical stripes are marked as edge features, and in order to improve detection accuracy, the embodiment performs area segmentation according to the edge features and then performs splicing according to texture features, so that accurate single photovoltaic module areas are obtained, and all the single photovoltaic module areas are further obtained.
And 3, extracting the outer outline of each single photovoltaic module area, and marking each photovoltaic module.
After each photovoltaic module area is obtained, outline extraction is carried out on each single photovoltaic module area, and marking of each photovoltaic module is achieved.
And S5, obtaining the number of the photovoltaic modules and the area of the photovoltaic modules according to the marking result.
In this embodiment, the statistics of the number and the area of the photovoltaic modules specifically includes the following steps 1 to 4.
And step 1, counting the number of the outer contours to obtain the number of the photovoltaic modules.
The number of the photovoltaic modules is extracted by counting the number of the outer contours.
And 2, calculating the circumscribed rectangle of the photovoltaic module area according to the outer contour of the photovoltaic module area.
In an alternative embodiment, the circumscribed rectangular box of the outer contour is obtained by a function cv2.boundingrect.
And 3, calculating the area of the corresponding photovoltaic module area according to the circumscribed rectangle.
In an alternative embodiment, the area of the corresponding photovoltaic module region may be calculated by the number of pixels within the circumscribed rectangular frame.
And 4, adding the areas of all the photovoltaic module areas to obtain the photovoltaic module area.
And S6, calculating the photovoltaic capacity according to the area of the photovoltaic module.
The present embodiment calculates the photovoltaic capacity P by the following formula:
P = η × A × G;
Where η is the conversion efficiency of the photovoltaic module, a is the photovoltaic module area, and G is the average solar radiation per unit time.
The conversion efficiency eta of the photovoltaic module is generally between 15% and 20%, the average solar radiation amount in unit time can be stored in a storage area in advance, and corresponding parameters are set to obtain the current average solar radiation amount in unit time.
S7, judging whether the quantity and the capacity of the photovoltaic modules are in an expected range or not; if yes, judging that the detection is passed, and prompting the information of the quantity and the capacity of the photovoltaic modules and the detection passing result on a human-computer interaction interface; if not, judging that the detection fails, prompting the information of the quantity and the capacity of the photovoltaic modules and the result of the failed detection on a human-computer interaction interface.
According to the embodiment, after the number and the capacity of the photovoltaic modules are calculated, whether the number and the capacity of the photovoltaic modules meet the standards or not is automatically judged, an expected range can be preconfigured, judgment is automatically performed, after the judgment is completed, the number, the capacity and the judgment result are prompted on a human-computer interaction interface, and related personnel can conveniently check.
The embodiment of the method for detecting the quantity and the capacity of the photovoltaic modules is described in detail above, and based on the method for detecting the quantity and the capacity of the photovoltaic modules described in the embodiment, the embodiment of the invention also provides a system for detecting the quantity and the capacity of the photovoltaic modules corresponding to the method.
Fig. 2 is a schematic block diagram of a system for detecting the number of photovoltaic modules and the capacity according to an embodiment of the present invention, where in this embodiment, the system 200 for detecting the number of photovoltaic modules and the capacity may be divided into a plurality of functional modules according to the functions performed by the system, as shown in fig. 2. The functional module may include: an image acquisition module 210, a preprocessing module 220, a feature extraction module 230, a component marking module 240, a quantity area statistics module 250, a capacity calculation module 260, and a result determination display module 270. The module referred to in the present invention refers to a series of computer program segments capable of being executed by at least one processor and of performing a fixed function, stored in a memory.
The image acquisition module 210: a target image including a photovoltaic module is acquired.
The preprocessing module 220: and preprocessing the target image.
Feature extraction module 230: and performing feature extraction operation on the preprocessed target image by using a feature extraction algorithm to obtain edge features and texture features of the photovoltaic module.
Component marking module 240: the photovoltaic module is marked based on edge features and texture features of the photovoltaic module.
The number area statistics module 250: and obtaining the number of the photovoltaic modules and the area of the photovoltaic modules according to the marking result.
Capacity calculation module 260: and calculating the photovoltaic capacity according to the area of the photovoltaic module.
In an alternative embodiment, system 200 further includes a result determination display module 270: judging whether the number and the capacity of the photovoltaic modules are in an expected range or not; if yes, judging that the detection is passed, and prompting the information of the quantity and the capacity of the photovoltaic modules and the detection passing result on a human-computer interaction interface; if not, judging that the detection fails, prompting the information of the quantity and the capacity of the photovoltaic modules and the result of the failed detection on a human-computer interaction interface.
The system for detecting the number of photovoltaic modules and the capacity of the present embodiment is used for implementing the foregoing method for detecting the number of photovoltaic modules and the capacity of the photovoltaic modules, so that the specific implementation of the system can be found in the foregoing example portions of the method for detecting the number of photovoltaic modules and the capacity of the photovoltaic modules, and therefore, the specific implementation of the system can be referred to the description of the corresponding examples of the respective portions and will not be described herein.
In addition, since the photovoltaic module number and capacity detection system of the present embodiment is used to implement the foregoing photovoltaic module number and capacity detection method, the functions thereof correspond to those of the foregoing method, and will not be described herein again.
Fig. 3 is a schematic structural diagram of a terminal 300 according to an embodiment of the present invention, including: a processor 310, a memory 320 and a communication unit 330. The processor 310 is configured to implement the following steps when implementing the photovoltaic module number and capacity detection program stored in the memory 320:
acquiring a target image containing a photovoltaic module;
Preprocessing a target image;
Performing feature extraction operation on the preprocessed target image by using a feature extraction algorithm to obtain edge features and texture features of the photovoltaic module;
Marking the photovoltaic module based on edge features and texture features of the photovoltaic module;
obtaining the number of the photovoltaic modules and the area of the photovoltaic modules according to the marking result;
and calculating the photovoltaic capacity according to the area of the photovoltaic module.
The terminal 300 includes a processor 310, a memory 320, and a communication unit 330. The components may communicate via one or more buses, and it will be appreciated by those skilled in the art that the configuration of the server as shown in the drawings is not limiting of the invention, as it may be a bus-like structure, a star-like structure, or include more or fewer components than shown, or may be a combination of certain components or a different arrangement of components.
The memory 320 may be used to store instructions for execution by the processor 310, and the memory 320 may be implemented by any type of volatile or non-volatile memory terminal or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk. The execution of the instructions in memory 320, when executed by processor 310, enables terminal 300 to perform some or all of the steps in the method embodiments described below.
The processor 310 is a control center of the storage terminal, connects various parts of the entire electronic terminal using various interfaces and lines, and performs various functions of the electronic terminal and/or processes data by running or executing software programs and/or modules stored in the memory 320, and invoking data stored in the memory. The processor may be comprised of an integrated circuit (INTEGRATED CIRCUIT, simply referred to as an IC), for example, a single packaged IC, or may be comprised of multiple packaged ICs connected to one another for the same function or for different functions. For example, the processor 310 may include only a central processing unit (Central Processing Unit, CPU for short). In the embodiment of the invention, the CPU can be a single operation core or can comprise multiple operation cores.
And a communication unit 330 for establishing a communication channel so that the storage terminal can communicate with other terminals. Receiving user data sent by other terminals or sending the user data to other terminals.
The invention also provides a computer storage medium, which can be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (random access memory, RAM) and the like.
The computer storage medium stores a photovoltaic module quantity and capacity detection program, and the photovoltaic module quantity and capacity detection program realizes the following steps when being executed by a processor:
acquiring a target image containing a photovoltaic module;
Preprocessing a target image;
Performing feature extraction operation on the preprocessed target image by using a feature extraction algorithm to obtain edge features and texture features of the photovoltaic module;
Marking the photovoltaic module based on edge features and texture features of the photovoltaic module;
obtaining the number of the photovoltaic modules and the area of the photovoltaic modules according to the marking result;
and calculating the photovoltaic capacity according to the area of the photovoltaic module.
It will be apparent to those skilled in the art that the techniques of embodiments of the present invention may be implemented in software plus a necessary general purpose hardware platform. Based on such understanding, the technical solution in the embodiments of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium such as a U-disc, a mobile hard disc, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk or an optical disk, etc. various media capable of storing program codes, including several instructions for causing a computer terminal (which may be a personal computer, a server, or a second terminal, a network terminal, etc.) to execute all or part of the steps of the method described in the embodiments of the present invention.
In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The foregoing disclosure is merely illustrative of the preferred embodiments of the invention and the invention is not limited thereto, since modifications and variations may be made by those skilled in the art without departing from the principles of the invention.
Claims (10)
1. The method for detecting the quantity and the capacity of the photovoltaic modules is characterized by comprising the following steps of:
acquiring a target image containing a photovoltaic module;
Preprocessing a target image;
Performing feature extraction operation on the preprocessed target image by using a feature extraction algorithm to obtain edge features and texture features of the photovoltaic module;
Marking the photovoltaic module based on edge features and texture features of the photovoltaic module;
obtaining the number of the photovoltaic modules and the area of the photovoltaic modules according to the marking result;
and calculating the photovoltaic capacity according to the area of the photovoltaic module.
2. The method for detecting the number and the capacity of the photovoltaic modules according to claim 1, wherein the feature extraction operation is performed on the preprocessed target image by using a feature extraction algorithm, so as to obtain edge features and texture features of the photovoltaic modules, and specifically comprises the following steps:
processing the preprocessed target image by using a Prewitt operator to obtain edge characteristics of the photovoltaic module;
And processing the preprocessed target image by using the gray level co-occurrence matrix to obtain the texture characteristics of the photovoltaic module.
3. The method for detecting the number and the capacity of the photovoltaic modules according to claim 2, wherein the marking of the photovoltaic modules based on the edge features and the texture features of the photovoltaic modules specifically comprises:
dividing the photovoltaic module area according to the edge characteristics to obtain an initial divided area result;
Splicing the adjacent initial segmentation areas with the same texture characteristics to obtain a spliced photovoltaic module area, namely a single photovoltaic module area;
And extracting the outer contour of each single photovoltaic module region, and marking each photovoltaic module.
4. The method for detecting the number and the capacity of the photovoltaic modules according to claim 3, wherein the method for obtaining the number and the area of the photovoltaic modules according to the marking result comprises the following steps:
counting the number of the outer contours to obtain the number of the photovoltaic modules;
Calculating the circumscribed rectangle of the photovoltaic module area according to the outer contour of the photovoltaic module area;
calculating the area of the corresponding photovoltaic module area according to the circumscribed rectangle;
And adding the areas of all the photovoltaic module areas to obtain the photovoltaic module area.
5. The method for detecting the number and the capacity of the photovoltaic modules according to claim 4, wherein the calculating the photovoltaic capacity according to the area of the photovoltaic modules specifically comprises:
the photovoltaic capacity P is calculated by the following formula:
P = η × A × G;
Where η is the conversion efficiency of the photovoltaic module, a is the photovoltaic module area, and G is the average solar radiation per unit time.
6. The method for detecting the number and the capacity of the photovoltaic modules according to claim 5, further comprising the steps of:
Judging whether the number and the capacity of the photovoltaic modules are in an expected range or not;
If yes, judging that the detection is passed, and prompting the information of the quantity and the capacity of the photovoltaic modules and the detection passing result on a human-computer interaction interface;
If not, judging that the detection fails, prompting the information of the quantity and the capacity of the photovoltaic modules and the result of the failed detection on a human-computer interaction interface.
7. The method for detecting the number and the capacity of the photovoltaic modules according to any one of claims 1 to 6, wherein the preprocessing of the target image includes gray scale processing and denoising processing in sequence.
8. A photovoltaic module quantity and capacity detection system is characterized by comprising,
An image acquisition module: acquiring a target image containing a photovoltaic module;
and a pretreatment module: preprocessing a target image;
And the feature extraction module is used for: performing feature extraction operation on the preprocessed target image by using a feature extraction algorithm to obtain edge features and texture features of the photovoltaic module;
Component marking module: marking the photovoltaic module based on edge features and texture features of the photovoltaic module;
And the quantity and area counting module is used for: obtaining the number of the photovoltaic modules and the area of the photovoltaic modules according to the marking result;
the capacity calculation module: and calculating the photovoltaic capacity according to the area of the photovoltaic module.
9. A terminal, comprising:
The memory is used for storing the quantity and capacity detection programs of the photovoltaic modules;
a processor, configured to implement the steps of the method for detecting the number and the capacity of photovoltaic modules according to any one of claims 1 to 7 when executing the program for detecting the number and the capacity of the photovoltaic modules.
10. A computer readable storage medium, wherein a photovoltaic module number and capacity detection program is stored on the readable storage medium, and the photovoltaic module number and capacity detection program when executed by a processor implements the steps of the photovoltaic module number and capacity detection method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410354183.0A CN117952982B (en) | 2024-03-27 | 2024-03-27 | Photovoltaic module quantity and capacity detection method, system, terminal and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410354183.0A CN117952982B (en) | 2024-03-27 | 2024-03-27 | Photovoltaic module quantity and capacity detection method, system, terminal and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117952982A true CN117952982A (en) | 2024-04-30 |
CN117952982B CN117952982B (en) | 2024-07-23 |
Family
ID=90803397
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410354183.0A Active CN117952982B (en) | 2024-03-27 | 2024-03-27 | Photovoltaic module quantity and capacity detection method, system, terminal and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117952982B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110910172A (en) * | 2019-11-25 | 2020-03-24 | 广州供电局有限公司 | Photovoltaic installed capacity evaluation method, device and equipment |
CN112819909A (en) * | 2021-01-28 | 2021-05-18 | 北京理工大学重庆创新中心 | Self-adaptive coding method based on low-resolution prior spectrum image region segmentation |
CN115100221A (en) * | 2022-08-22 | 2022-09-23 | 启东市云鹏玻璃机械有限公司 | Glass defect segmentation method |
CN115424141A (en) * | 2022-08-22 | 2022-12-02 | 珠高智能科技(深圳)有限公司 | Photovoltaic installed capacity calculation method and device, electronic equipment and medium |
CN116168288A (en) * | 2022-12-08 | 2023-05-26 | 大唐东北电力试验研究院有限公司 | Method, system, equipment and storage medium for dividing photovoltaic array of distributed photovoltaic power station based on infrared image |
CN116402836A (en) * | 2022-12-20 | 2023-07-07 | 西安邮电大学 | SAR image segmentation method based on airspace statistical similarity and frequency domain texture similarity |
-
2024
- 2024-03-27 CN CN202410354183.0A patent/CN117952982B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110910172A (en) * | 2019-11-25 | 2020-03-24 | 广州供电局有限公司 | Photovoltaic installed capacity evaluation method, device and equipment |
CN112819909A (en) * | 2021-01-28 | 2021-05-18 | 北京理工大学重庆创新中心 | Self-adaptive coding method based on low-resolution prior spectrum image region segmentation |
CN115100221A (en) * | 2022-08-22 | 2022-09-23 | 启东市云鹏玻璃机械有限公司 | Glass defect segmentation method |
CN115424141A (en) * | 2022-08-22 | 2022-12-02 | 珠高智能科技(深圳)有限公司 | Photovoltaic installed capacity calculation method and device, electronic equipment and medium |
CN116168288A (en) * | 2022-12-08 | 2023-05-26 | 大唐东北电力试验研究院有限公司 | Method, system, equipment and storage medium for dividing photovoltaic array of distributed photovoltaic power station based on infrared image |
CN116402836A (en) * | 2022-12-20 | 2023-07-07 | 西安邮电大学 | SAR image segmentation method based on airspace statistical similarity and frequency domain texture similarity |
Non-Patent Citations (1)
Title |
---|
吴枫杰: "光伏电站中的航拍图像识别与匹配技术研究", 《万方》, 1 August 2018 (2018-08-01), pages 3 * |
Also Published As
Publication number | Publication date |
---|---|
CN117952982B (en) | 2024-07-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113489457A (en) | Photovoltaic module fault detection method and device | |
CN115759365A (en) | Photovoltaic power generation power prediction method and related equipment | |
CN116151776A (en) | Power distribution line power protection management method and system and electronic equipment | |
CN117952982B (en) | Photovoltaic module quantity and capacity detection method, system, terminal and medium | |
CN110796362A (en) | Electric vehicle charging pile state analysis method and system, equipment and medium thereof | |
CN114143734A (en) | Data processing method and device for 5G Internet of things network card flow acquisition | |
CN114154915A (en) | Data processing method and device for risk management and control of power equipment | |
CN116307945B (en) | Building electric intelligent operation monitoring method, system and medium | |
CN116819191B (en) | Remote phase sequence checking method and system for fixed-point detection function of power grid | |
CN110399658B (en) | Method, device, equipment and storage medium for calculating acceleration factor value of battery | |
CN116822954A (en) | Evaluation method and device for power generation project, electronic equipment and storage medium | |
CN113570388B (en) | Remote anti-electricity-stealing checking method, device, computer equipment and storage medium | |
CN116137061A (en) | Training method and device for quantity statistical model, electronic equipment and storage medium | |
CN107025624B (en) | Public transport code scanning payment data processing method, device and system | |
CN114154911A (en) | Intelligent power grid fault positioning method and device | |
CN115372752A (en) | Fault detection method, device, electronic equipment and storage medium | |
CN112612934A (en) | User charging behavior portrait processing method and device | |
CN111768045A (en) | Method for supplementing resident electricity consumption missing data by applying multiple interpolation in resident electricity consumption management | |
CN111832896B (en) | Analysis method and device for investment value of power supply equipment, storage medium and equipment | |
CN117405975B (en) | Method, system and medium for detecting insulation resistance of PV panel | |
CN114024302B (en) | Method and device for evaluating a region | |
CN104050018B (en) | Webpage operation method and system | |
CN111209369B (en) | Marking management method, marking management device, terminal equipment and computer readable storage medium | |
CN114254775A (en) | Data processing method, system, device and medium based on distributed energy | |
CN117056086A (en) | Fault detection method, system, terminal and storage medium based on permutation entropy algorithm |
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 |