Photovoltaic panel image detection method and device and photovoltaic inspection robot

By combining visible light cameras and infrared light cameras, image relationships are established to determine the outline of photovoltaic panels, which solves the problem of difficulty in fault judgment and positioning during photovoltaic panel inspections, and improves inspection efficiency and accuracy.

CN118587196APending Publication Date: 2024-09-03LEAPTING TECH CO LTD
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202410790915.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

Existing photovoltaic panel inspection equipment cannot effectively segment and identify individual photovoltaic panels, making fault judgment and location location difficult, affecting inspection efficiency and accuracy.

Method used

By combining visible light cameras and infrared light cameras, images are acquired and processed, image relationships are established, photovoltaic panel contours are determined, and fault points are obtained through image fusion to improve fault detection efficiency and accuracy.

Benefits of technology

It achieves rapid and accurate identification and location of photovoltaic panel faults, improves the efficiency and accuracy of photovoltaic panel inspections, and reduces the frequency of mapping relationship updates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118587196A
    Figure CN118587196A
Patent Text Reader

Abstract

The embodiment of the invention provides a photovoltaic panel image detection method and device and a photovoltaic inspection robot. The detection method comprises the steps that a first image and a second image are obtained, the first image is obtained based on a visible light camera shooting a nearby area of a first navigation point, and the second image is obtained based on an infrared light camera shooting the nearby area of the first navigation point; wherein an area nearby the first navigation point comprises a target photovoltaic panel; determining a first contour of the target photovoltaic panel based on the first image; determining a target contour based on a first mapping relation between the first image and the second image and the first contour; and determining a fault detection result of the target photovoltaic panel based on the target contour and the second image. According to the detection method, the plurality of images are subjected to image identification, image contour searching and mapping relation establishment, so that the specific fault photovoltaic panel and the position of the fault photovoltaic panel are determined, and the photovoltaic panel inspection efficiency and accuracy and the photovoltaic panel fault positioning efficiency and accuracy are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of photovoltaic panel detection, and in particular to a photovoltaic panel image detection method, device and photovoltaic inspection robot. Background Art

[0002] With the continuous development of new energy technologies, the scale of newly installed photovoltaic power generation continues to expand, and photovoltaic energy has become an important part of the new energy structure. Since photovoltaic equipment is exposed to the outdoor environment for a long time, it may encounter various environmental factors during operation, such as high temperature, high humidity, lightning strikes, etc. These factors will threaten the normal and safe operation of photovoltaic equipment, especially photovoltaic panels. It is necessary to discover and deal with safety hazards in a timely manner to ensure the stable operation of the equipment. Therefore, the detection and identification of photovoltaic panels deserves attention. Summary of the invention

[0003] In view of this, the present application provides a photovoltaic panel image detection method, device and photovoltaic inspection robot, in order to solve the problem of detecting photovoltaic panel faults through image recognition during photovoltaic panel inspection. In the first aspect, the present application provides a photovoltaic panel image detection method, including: acquiring a first image and a second image, the first image is obtained based on a visible light camera photographing a vicinity of a first navigation point, and the second image is obtained based on an infrared light camera photographing a vicinity of the first navigation point; wherein the vicinity of the first navigation point includes a target photovoltaic panel; determining a first contour of the target photovoltaic panel based on the first image; determining a target contour based on a first mapping relationship between the first image and the second image and the first contour; determining a fault detection result of the target photovoltaic panel based on the target contour and the second image.

[0004] Optionally, determining a first profile of a target photovoltaic panel based on the first image includes:

[0005] The first image is segmented by using an image segmentation algorithm to obtain the outlines of all photovoltaic panels on the first image and their outline centers;

[0006] The distance from the center of each photovoltaic panel contour to the center point of the first image is calculated, and the photovoltaic panel contour with the smallest distance is taken as the central contour. The central contour is longitudinally extended to the edge of the first image, and all the covered photovoltaic panel contours are taken as the first contour of the target photovoltaic panel.

[0007] Optionally, the detection method further includes: manually selecting central photovoltaic areas of the first image and the second image, and obtaining pixel values ​​of multiple corner points of the two central photovoltaic areas, and calculating a first mapping relationship between the first image and the second image through two sets of pixel values.

[0008] Optionally, the detection method also includes: determining a second contour of the target photovoltaic panel based on the second image; determining a third contour of the target photovoltaic panel based on the first contour and the second image; calculating the similarity between the second contour and the third contour, comparing the similarity with a preset similarity threshold, and determining whether to update the first mapping relationship.

[0009] Optionally, determining the second contour of the target photovoltaic panel based on the second image includes: processing the second image using an image preprocessing method; detecting the processed second image using an edge detection algorithm to obtain edge lines of the second image; determining the straight line containing the edge of the photovoltaic panel using a straight line detection algorithm; selecting two edge straight lines with the largest slope and the smallest slope as the longitudinal edge straight lines of the target photovoltaic panel; selecting two edge straight lines with the absolute value of the slope less than 0.2 and the maximum and minimum values ​​of the longitudinal intercept as the transverse edge straight lines of the target photovoltaic panel; the longitudinal edge straight lines and the transverse edge straight lines constitute the second contour of the target photovoltaic panel.

[0010] Optionally, the similarity between the second contour and the third contour is calculated, the similarity is compared with a preset similarity threshold, and it is determined whether to update the first mapping relationship, including: when the similarity between the second contour and the third contour is greater than or equal to the preset similarity threshold, updating the first mapping relationship; when the similarity between the second contour and the third contour is less than the preset similarity threshold, not updating the first mapping relationship.

[0011] Optionally, updating the first mapping relationship includes: determining a plurality of first contour corner point parameters based on the first contour; determining a plurality of second contour corner point parameters based on the second contour; and calculating a linear mapping relationship between the two sets of corner point parameters to update the first mapping relationship.

[0012] Optionally, obtaining a first image and a second image includes: shooting parameters of the first image and the second image are the same, the shooting parameters including: shooting angle, camera parameters or navigation point information; determining file names of the first image and the second image based on the navigation point information; wherein the navigation point information is determined based on the first navigation point.

[0013] Optionally, the fault detection result with the position information is determined by screening based on the target outline, the second image and the file name.

[0014] In a second aspect, the present application provides a photovoltaic panel image detection device, comprising: an acquisition unit, used to acquire a first image and a second image, the first image being obtained based on an area near a first navigation point photographed by a visible light camera, and the second image being obtained based on an area near the first navigation point photographed by an infrared light camera; wherein the area near the first navigation point includes a target photovoltaic panel; a determination unit, used to determine a first contour of the target photovoltaic panel based on the first image; determine a target contour based on a first mapping relationship between the first image and the second image and the first contour; and determine a fault detection result of the target photovoltaic panel based on the target contour and the second image.

[0015] In a third aspect, the present application provides a photovoltaic inspection robot, comprising: a visible light camera, used to photograph the area near a first navigation point, and determine a first image; an infrared camera, used to photograph the area near the first navigation point, and determine a second image; and a processor, used to execute the detection method provided in the first aspect above.

[0016] Compared with the prior art, the present invention has at least one of the following beneficial effects:

[0017] 1. The present application can map the image relationship between the infrared light image and the visible light image, and respectively perform image recognition processing on the images to determine the infrared light image contour and the visible light image contour, and at the same time fuse the visible light image contour with the infrared light image to delineate the fault point of the photovoltaic panel, thereby improving the efficiency and accuracy of fault determination during the inspection of the photovoltaic panel.

[0018] 2. This application can fix the mapping relationship in the same task when the inspection path of the photovoltaic inspection equipment is a straight line, minimize the mapping relationship update frequency, help improve the efficiency of photovoltaic panel inspection, and quickly obtain accurate photovoltaic panel inspection results.

[0019] 3. After acquiring visible light images and infrared light images, the present application can quickly locate the target photovoltaic panel by fusing and superimposing the acquired image files. After obtaining the photovoltaic panel detection results, the detection results of the photovoltaic panel with position information are further obtained to report the specific location information of the fault location. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The following is a brief introduction to the drawings used in describing the embodiments of the present application:

[0021] Figure 1 A flow chart of a photovoltaic panel image detection method provided in an embodiment of the present application is shown;

[0022] Figure 2 A flowchart of a method for determining a first mapping relationship based on a first image and a second image provided by an embodiment of the present application is shown;

[0023] Figure 3A flowchart of a method for updating a first mapping relationship provided by an embodiment of the present application is shown;

[0024] Figure 4 A flow chart of another photovoltaic panel image detection method provided in an embodiment of the present application is shown;

[0025] Figure 5 A structural diagram of a photovoltaic panel image detection device provided in an embodiment of the present application is shown;

[0026] Figure 6 A schematic structural diagram of a photovoltaic inspection robot provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the specific implementation methods of the present application will be described below with reference to the accompanying drawings. The accompanying drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other accompanying drawings or embodiments can be obtained based on these accompanying drawings or embodiments without paying creative work. The adjustments and improvements made without departing from the concept of the present application all belong to the protection scope of the present application.

[0028] In order to simplify the drawings, each figure only schematically shows the parts related to the embodiments, and they do not represent the actual structure of the product. In addition, in order to simplify the drawings and facilitate understanding, in some figures, only a part of the components with the same structure or function is schematically drawn, and there may be more or less components with the same structure or function in reality.

[0029] In this application, unless otherwise clearly specified and limited, ordinal numbers, such as "first", "second", etc., are only used to distinguish and describe associated objects, and cannot be understood as indicating or implying the relative importance or order between associated objects; in addition, they do not represent the number of associated objects. "Multiple" includes two or more, and other quantifiers are similar. " / " is used to describe the relationship between associated objects, which indicates the "or" relationship between associated objects. "And / or" is used to describe the relationship between associated objects, which includes any combination relationship between associated objects, such as "a and / or b" includes: "alone a", "alone b", or "a and b". "One or more" or "at least one" in multiple objects refers to any object or any combination of multiple objects, such as "one or more of a1, a2, a3" or "at least one of a1, a2, a3" includes: "alone a1", "alone a2", "alone a3", "a1 and a2", "a1 and a3", "a2 and a3" or "a1, a2 and a3".

[0030] Photovoltaic power stations are often located in large photovoltaic sites with sufficient sunlight and open environment. Photovoltaic panels are usually set at high positions and staggered. It is difficult to support such a huge workload and inspection frequency by using human inspection. Therefore, the daily inspection of photovoltaic equipment can be carried out by photovoltaic inspection equipment. However, when some cells on the photovoltaic panel cannot work normally due to various factors, the faulty cells will become the load in the circuit, consuming the energy generated by other normally working cells and showing it in the form of heat energy, causing the local temperature of the cells to rise, causing damage to the photovoltaic module. This type of fault can be detected by carrying an infrared camera to detect the hot spot area on the front of the photovoltaic panel when the photovoltaic inspection equipment performs the inspection task, so as to determine whether there is an abnormal defect on the front of the photovoltaic panel. However, since the entire picture taken by the infrared camera usually contains multiple photovoltaic panels, and the picture taken by the infrared camera shows the continuous change of the temperature of the photovoltaic module, it is currently impossible to effectively segment a single photovoltaic panel, and then the system cannot correctly determine whether a specific single photovoltaic panel has an abnormality and cannot obtain the location information of a specific single photovoltaic panel in the entire picture, thereby affecting the actual effect of the inspection task.

[0031] This application takes visible light images and infrared light images of the same photovoltaic area, and performs image recognition on multiple images separately, finds the image contours, establishes a mapping relationship, and then determines the specific faulty photovoltaic panel and the location of the faulty photovoltaic panel, thereby improving the efficiency of photovoltaic panel inspection and photovoltaic panel fault location.

[0032] The following is a description with reference to the accompanying drawings.

[0033] Please refer to Figure 1 , which is a flow chart of a photovoltaic panel image detection method provided in an embodiment of the present application. Figure 1 As shown, the detection method at least comprises the following steps:

[0034] S110: Acquire a first image and a second image, wherein the first image is obtained based on a visible light camera photographing a vicinity of the first navigation point, and the second image is obtained based on an infrared camera photographing a vicinity of the first navigation point; wherein the vicinity of the first navigation point includes a target photovoltaic panel;

[0035] S120: Determine a first profile of a target photovoltaic panel based on the first image;

[0036] S130: determining a target contour based on a first mapping relationship between the first image and the second image and the first contour;

[0037] S140: Determine a fault detection result of the target photovoltaic panel based on the target contour and the second image.

[0038] Photovoltaic inspection equipment can be equipped with both visible light cameras and infrared cameras. Among them, visible light cameras are devices that use visible light bands for imaging. They can capture light in the spectrum range visible to the human eye and convert these lights into electronic signals to eventually form images. Visible light cameras usually have high pixel resolution and can capture images with rich details. The working principle of infrared cameras is similar to that of visible light cameras, but it uses special sensors and optical elements to capture infrared light and is sensitive to infrared wavelengths. It can convert infrared radiation into electrical signals and eventually generate images. Infrared cameras can generate thermal images, that is, heat maps, which can show the temperature distribution on the surface of an object and provide image support for heat distribution analysis and fault detection on photovoltaic panels. When photographing photovoltaic panels with visible light cameras and infrared cameras, in order to ensure that the images formed when the two cameras photograph the photovoltaic panels are easier to establish a correlation, the visible light camera and the infrared camera can be made as similar as possible in terms of shooting angle, focal length, shutter speed or field of view. At the same time, in order to ensure that the photovoltaic inspection equipment can effectively detect each photovoltaic panel during the inspection and obtain a relatively complete image, the photovoltaic inspection equipment can be controlled to shoot at a shooting position with a better field of view, such as setting the shooting point at the center point, vertex, or long side or short side of the photovoltaic panel. When the photovoltaic inspection equipment inspects by shooting, the shooting is completed when it reaches the pre-set shooting point. The above shooting points can be achieved by setting navigation points on the photovoltaic panels in the photovoltaic array. When the photovoltaic inspection equipment, such as the photovoltaic inspection robot, is in the process of inspection, when it reaches the first navigation point, it shoots the area near the first navigation point through the visible light camera and the infrared camera.

[0039] However, due to the limitations of factors such as photovoltaic panel production, maintenance, and power generation efficiency, photovoltaic panels are often not set up alone in a photovoltaic power plant, but are set up together by multiple panels to form a photovoltaic array. Therefore, when the photovoltaic inspection equipment takes pictures of the nearby area at the first navigation point, the photovoltaic panel presented in the image is often not just one, so it is necessary to identify the captured image to determine the target photovoltaic panel. When the fault is determined, the specific location of the faulty photovoltaic panel can be effectively locked. Since the visible light imaging image and the infrared light imaging image are easier to identify the contour when performing image recognition, the effective contour recognition can more easily find the target photovoltaic panel of the photovoltaic inspection equipment, thereby distinguishing it from other non-target photovoltaic panels, and improving the effectiveness of detection and recognition. In the first image, a segmentation algorithm can be used to segment each photovoltaic panel included in the first image to obtain the contours and contour centers of all photovoltaic panels on the first image. Due to the influence of the shooting field of view, there may be multiple photovoltaic panels in the first image or the second image. After the contours are divided, it is easy to confuse the non-target photovoltaic panel with the target photovoltaic panel, resulting in false detection. For example, when a hot spot is detected on a photovoltaic panel, it is easy to identify the hot spot on the non-target photovoltaic panel as belonging to the target photovoltaic panel. Therefore, the specific point of each photovoltaic panel outline identified by the first image and the distance from the specific point to the center point of the first image can be calculated, wherein the specific point can be the center point of the outline, the centroid or other set point. The central outline is determined according to the minimum value of the distance from the specific point, such as the center point, to the center point of the first image, and the central outline is longitudinally extended to the edge of the first image, and all the photovoltaic panel outlines covered are used as the first outline of the target photovoltaic panel. At the same time, the first outline can be polygonally fitted to obtain the corner points of the first outline. For example, if the first outline is fitted as a rectangle, the four corner points of the first outline can be obtained, and if the first outline is fitted as a pentagon, the five corner points of the first outline can be obtained, and so on.

[0040] Since the shape of the photovoltaic panel can be a rectangle, the size parameters of multiple photovoltaic panels of the photovoltaic field can be the same. Therefore, when acquiring the first image and the second image, the corner points of the photovoltaic panels presented in the two images can be identified. The central photovoltaic area of ​​the first image and the second image is artificially selected, and the pixel values ​​of multiple corner points of the two central photovoltaic areas are obtained. The first mapping relationship between the first image and the second image is calculated by two sets of pixel values. Multiple first corner point pixel parameters are determined based on the first image, and multiple second corner point pixel parameters are determined based on the second image. Among them, the first corner point pixel parameters and the second corner point pixel parameters may include: pixel values ​​or pixel coordinates. The pixel coordinates may be the position of each pixel in the image. For example, in a two-dimensional image, (x, y) coordinates may be used to represent it, where x represents the horizontal position, y represents the vertical position, and the upper left corner of the image (or any position such as the lower left corner or the center point) may be the origin of the coordinates, that is, (0, 0). After determining the corner points, for example, the pixel values ​​of the corner points in the first image can be matched with the pixel values ​​of the corner points at the corresponding positions in the second image. For example, a rectangular photovoltaic panel can be matched with the pixel values ​​of the four corner points, thereby calculating the correspondence between the first image and the second image, and establishing the first mapping relationship through linear mapping. For another example, find the corner point of the upper left corner of the photovoltaic panel in the first image, and find the corresponding corner point of the upper left corner of the photovoltaic panel in the second image, and match the pixel values ​​of these two positions, or the correspondence of the upper right corner, the lower left corner, and the lower right corner, etc., without specific limitation. Or the first mapping relationship is obtained by matching the pixel coordinates of the corner points in the first image with the pixel coordinates of the corner points at the corresponding positions in the second image.

[0041] The first contour is mapped to the second image through the established first mapping relationship and the first contour obtained based on the first image. Since the first image and the second image have the same or similar parameters such as shooting angle, focal length, shutter speed or field of view when shooting, the two images finally presented are actually different in imaging form, and other contents such as shape and image layout are mostly similar. Therefore, after the first contour is mapped, the range of the target photovoltaic panel on the second image can be effectively delineated, so as to determine whether there is a hot spot on the photovoltaic panel in combination with the heat distribution presented by the second image, and then determine whether the photovoltaic panel is faulty.

[0042] In some embodiments of the present application, the first image and the second image can be obtained by pre-processing the images or performing corner detection and judgment by computer vision and machine learning software libraries, such as using OpenCV (Open Source Computer Vision Library), Pillow (Python Imaging Library), or MATLAB Image Processing Toolbox. The segmentation process of the first image can be implemented using a target detection model, such as using v1-v8 of the YOLO (You Only Look Once) series, and v9 and higher versions that may appear in the future, thereby improving image processing efficiency.

[0043] In some embodiments of this application, please refer to Figure 2 , which is a flow chart of a method for determining a first mapping relationship based on a first image and a second image provided in an embodiment of the present application. Figure 2 As shown, the detection method at least comprises the following steps:

[0044] S210: Determine a second profile of the target photovoltaic panel based on the second image;

[0045] S220: Determine a third profile of the target photovoltaic panel based on the first profile and the second image;

[0046] S230: Calculate the similarity between the second contour and the third contour, compare the similarity with a preset similarity threshold, and determine whether to update the first mapping relationship.

[0047] Determining the first contour in step S120 can effectively help the photovoltaic inspection equipment identify whether there is a fault on the photographed photovoltaic panel image and the photovoltaic panel to which the fault belongs. In order to ensure that the first contour can better fit the second image and improve the accuracy of the first mapping relationship, the second contour of the target photovoltaic panel can be further determined in the second image. Since the content presented by the second image is mainly composed of lines and patterns representing data intensity or density, thereby forming textures of various shapes, the second image can be blurred using an image preprocessing method to eliminate various textures within the photovoltaic panel contour in the second image, and then the processed second image is detected by an edge detection algorithm to obtain the edge lines of the second image. Further, a straight line detection algorithm is used to find a straight line containing the edges of multiple photovoltaic panels, and multiple similar straight lines detected are merged into one line according to the slope and intercept. Among them, the edge detection algorithm can be implemented by the Canny edge detection algorithm, and similarly, other edge detection methods such as the Sobel operator, Roberts operator, and Prewitt operator can also be used, which are not specifically limited here. In order to more accurately determine the edge of the target photovoltaic panel in the second image, the straight lines can be screened. The outline of the target photovoltaic panel presented in the center of the second image is within a preset threshold range. For example, the shape of a photovoltaic panel is usually rectangular, but because the shooting angle is not completely vertical, the shape of the photovoltaic panel presented in the second image is not rectangular but trapezoidal. For the two vertical lines of the trapezoid, the two edge straight lines with the largest slope and the smallest slope can be selected as the longitudinal edge straight lines of the target photovoltaic panel respectively; for the two horizontal lines of the trapezoid, the two edge straight lines with the absolute value of the slope less than 0.2 and the maximum and minimum longitudinal intercepts are selected as the transverse edge straight lines of the target photovoltaic panel; then the intersection of the four screened straight lines is calculated to obtain the outline and outline corner points of the target photovoltaic panel at the center of the second image, and then the second outline is obtained.

[0048] The first contour is mapped onto the second image using the first mapping relationship to obtain the third contour. The similarity between the second contour and the third contour is calculated to determine whether the second contour is accurate. If the similarity is greater than or equal to the preset similarity threshold, it means that the second contour is determined relatively accurately, and a new first mapping relationship can be determined again based on the first contour and the second contour, and the detection is performed using the new first mapping relationship. If the similarity is less than the preset similarity threshold, it means that the determination of the second contour is relatively inaccurate, indicating that the contour of the target photovoltaic panel in the second image is not easy to identify. If a new first mapping relationship is determined by the first contour and the second contour, there may be a risk of recognition error, such as misidentifying the fault point of other photovoltaic panels in the photovoltaic panel image as the fault point of the target photovoltaic panel; at this time, the previous first mapping relationship can continue to be used as the first contour to determine the mapping of the contour of the target photovoltaic panel to the second image.

[0049] In some embodiments of this application, please refer to Figure 3 , which is a flow chart of a method for updating a first mapping relationship provided in an embodiment of the present application. Figure 3 As shown, the method comprises at least the following steps:

[0050] S310: Determine a plurality of first contour corner point parameters based on the first contour;

[0051] S320: Determine a plurality of second contour corner point parameters based on the second contour;

[0052] S330: Based on the plurality of first contour corner point parameters and the plurality of second contour corner point parameters, a linear mapping relationship between the two groups of corner point parameters is calculated to update the first mapping relationship.

[0053] When the first contour of the target photovoltaic panel is identified in the first image, the shape of the target photovoltaic panel is similar to the shape of the first contour, so multiple first contour corner point parameters can be further determined through the first contour, and the first contour corner point parameters can include: the pixel coordinates of the first contour corner point, the pixel value of the first contour corner point, or the coordinate position of the first contour corner point in the first image. The shape of the target photovoltaic panel is mostly rectangular, and multiple corner points can be determined between its edges. For example, a rectangular target photovoltaic panel can determine 4 corner points, and the first contour can also determine 4 corner points based on this. Similarly, when the second contour of the target photovoltaic panel is identified in the second image, the second image is an image containing the target photovoltaic panel of a different type corresponding to the first image. Therefore, after the second contour of the target photovoltaic panel is determined, the same number of corner points as the first contour corner points can be obtained, and then multiple second contour corner point parameters can be determined. Therefore, based on the correspondence between multiple first contour corner point parameters and second contour corner point parameters of the target photovoltaic panel, a new first mapping relationship can be obtained after linear mapping of the above correspondence relationship. When the similarity between the second contour and the third contour is high, mapping between the second contour and the first contour can effectively improve the accuracy of the projection of the first contour on the second image, thereby helping to improve the efficiency and accuracy of photovoltaic panel fault detection based on visible light cameras and infrared cameras.

[0054] In some embodiments of the present application, step S130 can also determine whether the first mapping relationship has been updated. For example, when the photovoltaic inspection device inspects the photovoltaic panel at the location for the first time, after acquiring the first image and the second image, the first mapping relationship can be initially determined. When the photovoltaic inspection device inspects the photovoltaic panel at the location for the second time, it can be known that the photovoltaic panel at the location has been inspected before through the judgment of the navigation point of the photovoltaic inspection device itself. The first mapping relationship can be directly obtained through the original record or data cache, but in order to further ensure the accuracy of the first mapping relationship in this inspection, when it is determined that the first mapping relationship has not been updated, the first mapping relationship can be further updated through steps S210-S230. It should be noted that when the similarity between the second contour and the third contour does not meet the requirements of the preset similarity threshold, it means that the reliability of the second contour determined by the second image is weak at this time, so the first mapping relationship determined previously can continue to be used; if the preset similarity threshold meets the requirements, the first mapping relationship can be re-determined and updated through steps S310-S330. When the photovoltaic inspection device inspects the photovoltaic panel at the location for the third time, if the first mapping relationship has been updated in the second inspection, the target contour can be directly determined through the first mapping relationship, thereby determining the detection result; if the first mapping relationship has not been updated in the second inspection, the first mapping relationship is updated again through steps S210-S230. Therefore, in the embodiment of the present application, when the inspection path of the photovoltaic inspection device is a straight line, the first mapping relationship in the same task can be updated only once, thereby obtaining an accurate detection result.

[0055] In some embodiments of the present application, obtaining a first image and a second image includes: the shooting parameters of the first image and the second image are the same, and the shooting parameters include: shooting angle, camera parameters or navigation point information; determining the file names of the first image and the second image based on the navigation point information; wherein the navigation point information is determined based on the first navigation point. When the photovoltaic inspection equipment is inspecting, a navigation point can be set in each photovoltaic panel on a plurality of photovoltaic arrays to be inspected in the photovoltaic array, and during the inspection, the positioning algorithm of the photovoltaic inspection equipment is combined to obtain the location information of the photovoltaic panel based on the navigation point, and the inspection is carried out according to the pre-planned inspection route, and the first image and the second image are captured when the navigation point is reached. The setting of the navigation point can be set at the center of the photovoltaic panel, or on a specific edge of the photovoltaic panel, or at a point with a specific meaning, such as the vertex of the photovoltaic panel. In order to make the first image and the second image have a high degree of fit, and to improve the accuracy of subsequently delineating the fault position of the photovoltaic panel with the first contour and the second image through the first mapping relationship, the shooting parameters of the first image and the second image can be made the same, such as shooting at the same navigation point position, setting the shooting angle to be perpendicular to the photovoltaic panel when reaching the navigation point, and setting the aperture, shutter, ISO and other camera parameters of the visible light camera and the infrared camera to the same or similar parameters, so as to obtain the first image and the second image. At the same time, after the first image and the second image are shot, they can be stored in the storage space of the corresponding camera or photovoltaic inspection equipment. In order to facilitate retrieval and subsequent image processing, the file names of the first image and the second image can be named according to the navigation point information in addition to the necessary distinguishing information, time information and other naming contents. Therefore, when it is determined that there is a fault on the target photovoltaic panel, the fault detection result of the target photovoltaic panel with location information can be directly generated by obtaining the navigation point information. At the same time, since multiple photovoltaic panels may be presented in the first image and the second image, in some embodiments of the present application, specific photovoltaic panels can be delineated by target contours in the image, and screening can be performed based on the target contours, the second image and the file name to determine the fault detection results of the photovoltaic panels.

[0056] In some embodiments of this application, please refer to Figure 4 , which is a flow chart of another photovoltaic panel image detection method provided in an embodiment of the present application. Figure 4 As shown, the method comprises at least the following steps:

[0057] S410: Using the position of a single photovoltaic panel as a navigation point, capturing a visible light image and an infrared light image according to the navigation point, naming the image according to the position information of the navigation point, and acquiring a first mapping relationship between the visible light image and the infrared light image;

[0058] S420: using a segmentation algorithm to obtain a contour contour_1 of the photovoltaic region in the center of the visible light image;

[0059] S430: Determine whether the first mapping relationship is updated; if the first mapping relationship is updated, perform steps S440-S460; if the first mapping relationship is not updated, perform steps S431-S460.

[0060] S431: Calculate the contour contour_2 of the photovoltaic area in the center of the infrared image;

[0061] S432: Mapping the photovoltaic region contour contour_1 at the center of the visible light image onto the infrared light image according to the first mapping relationship to obtain a third contour contour_3;

[0062] S433: Calculate the similarity between the contour contour_2 of the photovoltaic region at the center of the infrared image and the third contour contour_3;

[0063] S434: Compare the similarity with a preset similarity threshold, and execute step S4351 when the similarity is greater than or equal to the preset similarity threshold; and execute step S4352 when the similarity is less than the preset similarity threshold.

[0064] S4351: Calculate the mapping relationship between the contour contour_1 of the photovoltaic region at the center of the visible light image and the contour contour_2 of the photovoltaic region at the center of the infrared light image, and update the first mapping relationship;

[0065] S4352: continuing to update the first mapping relationship in the next group of images, and the current group of images uses the first mapping relationship that has not been updated;

[0066] S440: Mapping the photovoltaic region contour contour_1 in the visible light image to the infrared light image according to the first mapping relationship to obtain the target contour contour_target;

[0067] S450: Obtaining a detection result of a target photovoltaic panel area according to a target contour contour_target;

[0068] S460: Obtaining a fault detection result of a target photovoltaic panel with position information according to the image name.

[0069] The above scenarios are only used as examples to help more clearly understand the solutions of the embodiments of the present disclosure.

[0070] Based on the same technical concept, please refer to Figure 5 , which is a structural diagram of a photovoltaic panel image detection device provided in an embodiment of the present application. Figure 5As shown, the present application provides a photovoltaic panel image detection device 500, including: an acquisition unit 510, used to acquire a first image and a second image, the first image is obtained based on an area near a first navigation point photographed by a visible light camera, and the second image is obtained based on an area near the first navigation point photographed by an infrared light camera; wherein the area near the first navigation point includes a target photovoltaic panel; a determination unit 520, used to determine a first contour of the target photovoltaic panel based on the first image; determine a target contour based on a first mapping relationship between the first image and the second image and the first contour; and determine a fault detection result of the target photovoltaic panel based on the target contour and the second image.

[0071] In some embodiments of the present application, the determination unit 520 is also used to segment the first image using an image segmentation algorithm to obtain the contours of all photovoltaic panels on the first image and their contour centers; calculate the distance from the center of each photovoltaic panel contour to the center point of the first image, take the photovoltaic panel contour with the smallest distance as the central contour, vertically extend the central contour to the edge of the first image, and take the contours of all covered photovoltaic panels as the first contour of the target photovoltaic panel.

[0072] In some embodiments of the present application, the determination unit 520 is also used to determine a second contour of the target photovoltaic panel based on the second image; determine a third contour of the target photovoltaic panel based on the first contour and the second image; calculate the similarity between the second contour and the third contour, compare the similarity with a preset similarity threshold, and determine whether to update the first mapping relationship.

[0073] In some embodiments of the present application, the determination unit 520 is also used to process the second image using an image preprocessing method; detect the processed second image using an edge detection algorithm to obtain edge lines of the second image; determine the straight line containing the edge of the photovoltaic panel using a straight line detection algorithm; select the two edge straight lines with the largest slope and the smallest slope as the longitudinal edge straight lines of the target photovoltaic panel; select the two edge straight lines with the absolute value of the slope less than 0.2 and the maximum and minimum values ​​of the longitudinal intercept as the transverse edge straight lines of the target photovoltaic panel; the longitudinal edge straight line and the transverse edge straight line constitute the second contour of the target photovoltaic panel.

[0074] In some embodiments of the present application, the determination unit 520 is further used to update the first mapping relationship when the similarity between the second contour and the third contour is greater than or equal to a preset similarity threshold; when the similarity between the second contour and the third contour is less than the preset similarity threshold, not to update the first mapping relationship.

[0075] In some embodiments of the present application, the determination unit 520 is also used to determine multiple first contour corner point parameters based on the first contour; determine multiple second contour corner point parameters based on the second contour; and calculate the linear mapping relationship between the two sets of corner point parameters based on the multiple first contour corner point parameters and the multiple second contour corner point parameters, thereby updating the first mapping relationship.

[0076] In some embodiments of the present application, the determination unit 520 is further configured to determine the file names of the first image and the second image based on the navigation point information; wherein the navigation point information is determined based on the first navigation point.

[0077] In some embodiments of the present application, the determination unit 520 is further configured to filter and determine the hot spot detection result with position information based on the target outline, the second image, and the file name.

[0078] The division of the above units is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated.

[0079] Please refer to Figure 6 , which shows a structural schematic diagram of a photovoltaic inspection robot provided in an embodiment of the present application, the photovoltaic inspection robot 600, including: a visible light camera 610, used to photograph the vicinity of a first navigation point to determine a first image; an infrared light camera 620, used to photograph the vicinity of the first navigation point to determine a second image; a processor 630, used to execute a detection method provided in any of the above embodiments.

[0080] It should be noted that the above embodiments can be freely combined as needed. The above are only preferred implementations of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application, and these improvements and modifications should also be regarded as the protection scope of the present application.

Claims

1. A method for detecting a photovoltaic panel image, characterized in that: include: Acquire a first image and a second image, wherein the first image is obtained based on a visible light camera photographing a vicinity of a first navigation point, and the second image is obtained based on an infrared camera photographing a vicinity of the first navigation point; wherein the vicinity of the first navigation point includes a target photovoltaic panel; determine a first contour of the target photovoltaic panel based on the first image; Determine a target contour based on a first mapping relationship between the first image and the second image and the first contour; A fault detection result of the target photovoltaic panel is determined based on the target contour and the second image.

2. The detection method according to claim 1, characterized in that: The determining a first profile of the target photovoltaic panel based on the first image comprises: Segmenting the first image using an image segmentation algorithm to obtain all photovoltaic panel contours and contour centers on the first image; The distance from the center of each photovoltaic panel contour to the center point of the first image is calculated, the photovoltaic panel contour with the smallest distance is taken as the central contour, the central contour is longitudinally extended to the edge of the first image, and all the covered photovoltaic panel contours are taken as the first contour of the target photovoltaic panel.

3. The detection method according to claim 1, characterized in that: Also includes: The central photovoltaic regions of the first image and the second image are artificially selected, and the pixel values ​​of multiple corner points of the two central photovoltaic regions are obtained, and the first mapping relationship between the first image and the second image is calculated through the two groups of pixel values.

4. The detection method according to claim 1, characterized in that: Also includes: determining a second profile of the target photovoltaic panel based on the second image; determining a third profile of the target photovoltaic panel based on the first profile and the second image; The similarity between the second contour and the third contour is calculated, and the similarity is compared with a preset similarity threshold to determine whether to update the first mapping relationship.

5. The detection method according to claim 4, characterized in that: The determining a second profile of the target photovoltaic panel based on the second image comprises: Processing the second image using an image preprocessing method; Detecting the processed second image using an edge detection algorithm to obtain edge lines of the second image; Determine an edge straight line including the photovoltaic panel using a straight line detection algorithm; Selecting two edge straight lines with the largest slope and the smallest slope as the longitudinal edge straight lines of the target photovoltaic panel; Screening two edge straight lines with a slope absolute value less than 0.2 and a longitudinal intercept with a maximum value and a minimum value as the lateral edge straight lines of the target photovoltaic panel; The longitudinal edge straight line and the transverse edge straight line constitute a second contour of the target photovoltaic panel.

6. The detection method according to claim 4, characterized in that: The calculating the similarity between the second contour and the third contour, comparing the similarity with a preset similarity threshold, and determining whether to update the first mapping relationship includes: When the similarity between the second contour and the third contour is greater than or equal to the preset similarity threshold, updating the first mapping relationship; When the similarity between the second contour and the third contour is less than the preset similarity threshold, the first mapping relationship is not updated.

7. The detection method according to claim 6, characterized in that: The updating of the first mapping relationship comprises: Determine a plurality of first contour corner point parameters based on the first contour; Determine a plurality of second contour corner point parameters based on the second contour; Based on the multiple first contour corner point parameters and the multiple second contour corner point parameters, a linear mapping relationship between the two groups of corner point parameters is calculated to update the first mapping relationship.

8. The detection method according to any one of claims 1 to 7, characterized in that: The acquiring of the first image and the second image comprises: The shooting parameters of the first image and the second image are the same, and the shooting parameters include: shooting angle, camera parameters or navigation point information; Determine the file names of the first image and the second image based on the navigation point information; Wherein, the navigation point information is determined based on the first navigation point.

9. The detection method according to claim 8, characterized in that: The step of determining a fault detection result of the target photovoltaic panel based on the target contour and the second image comprises: The fault detection result having position information is determined by screening based on the target outline, the second image and the file name.

10. A photovoltaic panel image detection device, characterized in that: include: an acquisition unit, configured to acquire a first image and a second image, wherein the first image is obtained by photographing a vicinity of a first navigation point with a visible light camera, and the second image is obtained by photographing a vicinity of the first navigation point with an infrared light camera; wherein the vicinity of the first navigation point includes a target photovoltaic panel; A determination unit is used to determine a first contour of the target photovoltaic panel based on the first image; determine a target contour based on a first mapping relationship between the first image and the second image and the first contour; and determine a fault detection result of the target photovoltaic panel based on the target contour and the second image.

11. A photovoltaic inspection robot, characterized in that: include: A visible light camera, used to photograph an area near the first navigation point to determine a first image; an infrared camera, used to photograph an area near the first navigation point to determine a second image; A processor, configured to execute the detection method according to any one of claims 1 to 9.

Citation Information

Cited By

  • Photovoltaic panel assembly segmentation method, system and device and storage medium

    CN120635123A

  • Photovoltaic module edge position extraction method and device, storage medium and robot

    CN120807942A

  • Defect detection method of photovoltaic array, self-moving equipment and storage medium

    CN122866172A

  • Traffic light recognition method, and apparatus

    WO2026076577A1