CN114170507A - Method, device and equipment for determining photovoltaic module installation area and storage medium - Google Patents

Method, device and equipment for determining photovoltaic module installation area and storage medium Download PDF

Info

Publication number
CN114170507A
CN114170507A CN202111454105.0A CN202111454105A CN114170507A CN 114170507 A CN114170507 A CN 114170507A CN 202111454105 A CN202111454105 A CN 202111454105A CN 114170507 A CN114170507 A CN 114170507A
Authority
CN
China
Prior art keywords
determining
obstacle
area
installation area
recognition result
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111454105.0A
Other languages
Chinese (zh)
Inventor
许庆金
孙德亮
陈建凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sungrow Renewables Development Co Ltd
Original Assignee
Sungrow Renewables Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sungrow Renewables Development Co Ltd filed Critical Sungrow Renewables Development Co Ltd
Priority to CN202111454105.0A priority Critical patent/CN114170507A/en
Publication of CN114170507A publication Critical patent/CN114170507A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Marketing (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • Public Health (AREA)
  • Primary Health Care (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Water Supply & Treatment (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Image Analysis (AREA)

Abstract

The embodiment of the invention discloses a method for determining a photovoltaic module installation area, which comprises the following steps: acquiring a real object sketch and a real object photo of a component installation place, performing image recognition on the real object sketch and the real object photo, and acquiring a first recognition result and a second recognition result, wherein the real object sketch is drawn based on the real object photo; verifying the first recognition result according to the second recognition result; if the verification is passed, determining a preliminary installation area of the photovoltaic module according to the first identification result; and determining the installation area of the photovoltaic module according to the preliminary installation area. According to the method for determining the photovoltaic module installation area, provided by the embodiment of the invention, the physical sketch and the physical picture are identified by using different algorithms, and the physical sketch is verified according to the identification result, so that the automatic examination and verification of the physical sketch are realized, the photovoltaic module installation area is determined based on the sketch passed by examination, and the working efficiency is improved.

Description

Method, device and equipment for determining photovoltaic module installation area and storage medium
Technical Field
The invention relates to the technical field of photovoltaic power generation, in particular to a method, a device, equipment and a storage medium for determining a photovoltaic module installation area.
Background
Before the photovoltaic power station is established, firstly, surveying an area where a customer needs to install the photovoltaic power station by surveying personnel, shooting a photo, and drawing a sketch according to the photo and a standard to form an order. The installation of the photovoltaic power station can be started only after the order audit is passed. The order is audited mainly by auditing the accuracy of sketch drawing, and at present, the order audit is performed through a manual audit mode, which is time-consuming, labor-consuming and expensive, and greatly increases the cost, so that the method is urgently required for the technology of automatically auditing the order.
Furthermore, the prior art does not allow for automated determination of the installation area of the photovoltaic module in regular or irregular areas after the order has been approved.
Disclosure of Invention
The embodiment of the invention provides a method, a device, equipment and a storage medium for determining a photovoltaic module installation area, which can realize automatic audit of a real object sketch and determination of the installation area of a photovoltaic module in the area.
In a first aspect, an embodiment of the present invention provides a method for determining a photovoltaic module installation area, including:
acquiring a real object sketch and a real object photo of a component installation place, performing image recognition on the real object sketch and the real object photo, and acquiring a first recognition result and a second recognition result, wherein the real object sketch is drawn based on the real object photo;
verifying the first recognition result according to the second recognition result;
if the verification is passed, determining a preliminary installation area of the photovoltaic module according to the first identification result;
and determining the installation area of the photovoltaic assembly according to the preliminary installation area.
Further, image recognition is carried out on the object sketch and the object photo to obtain a first recognition result and a second recognition result, and the method comprises the following steps:
carrying out image recognition on the real object sketch by using an image processing algorithm to obtain the first recognition result;
and carrying out image recognition on the real object picture by using a target detection algorithm to obtain a second recognition result.
Further, the first recognition result comprises a first area boundary, a first obstacle category and first obstacle coordinates, and the second recognition result comprises a second area boundary, a second obstacle category and second obstacle coordinates;
verifying the first recognition result according to the second recognition result, comprising:
comparing the first area boundary with the second area boundary, the first obstacle category and the second obstacle category, and the first obstacle coordinate and the second obstacle coordinate, and respectively determining a first similarity, a second similarity and a third similarity;
and if the first similarity, the second similarity and the third similarity all accord with the respective corresponding allowable ranges, the verification is passed.
Further, comparing the first area boundary with a second area boundary, the first obstacle category and the second obstacle category, and the first obstacle coordinate and the second obstacle coordinate, and determining a first similarity, a second similarity, and a third similarity, respectively, includes:
determining the area of an intersection region and the area of a union region according to the first region boundary and the second region boundary, and determining the ratio of the area of the intersection region to the area of the union region as the first similarity;
if the first obstacle type is consistent with a second obstacle type, the second similarity is a first set value, otherwise, the second similarity is a second set value;
and determining the distance between the two coordinates according to the first obstacle coordinate and the second obstacle coordinate, and determining the distance as the third similarity.
Further, determining a preliminary installation area of the photovoltaic module according to the first identification result includes:
determining an allowable installation area according to the first recognition result;
and carrying out meshing on the allowable installation area, and determining the preliminary installation area.
Further, the grid dividing the installation-allowed area and determining the preliminary installation area includes:
establishing a rectangular coordinate system, wherein a transverse shaft of the rectangular coordinate system is vertical to the pointing direction of the photovoltaic assembly;
determining points in the allowable installation area which are the closest and the farthest to the horizontal axis and points which are the closest and the farthest to the vertical axis;
establishing two straight lines parallel to the transverse axis respectively through the points closest to and farthest from the transverse axis, establishing two straight lines parallel to the longitudinal axis respectively through the points closest to and farthest from the longitudinal axis, and obtaining a rectangular area surrounded by the four straight lines;
and performing grid division on the rectangular area, determining unqualified grids exceeding the allowable installation area in each grid, and determining a residual grid set obtained after the unqualified grids are removed from the rectangular area as the preliminary installation area.
Further, determining the photovoltaic module installation area according to the preliminary installation area comprises:
if the first identification result does not contain obstacle information, determining the preliminary installation area as the photovoltaic module installation area;
if the first identification result contains obstacle information, determining a shadow area generated by an obstacle according to the obstacle information, removing an intersection with the shadow area in the preliminary installation area, and determining the installation area of the photovoltaic module.
Further, the obstacle information includes an obstacle position and an obstacle height, and determining a shadow area generated by the obstacle according to the obstacle information includes:
determining the position and height of the obstacle according to the first recognition result;
and determining the maximum fan shape generated by the barrier according to the position of the barrier, the height of the barrier and the longitude and latitude of the assembly installation place, and determining the maximum fan shape as the shadow area.
Further, determining the maximum sector generated by the obstacle according to the obstacle position, the obstacle height and the longitude and latitude of the assembly installation place, including:
determining the position of the obstacle as the center of the circle of the maximum fan shape;
determining the length of the shadow generated by the barrier at the first set moment and the second set moment and the included angle between the two shadows according to the height of the barrier and the longitude and latitude of the installation place of the assembly;
and determining the included angle as the central angle of the maximum fan shape, and determining the maximum value of the two shadow lengths as the radius of the maximum fan shape.
In a second aspect, an embodiment of the present invention further provides an apparatus for determining a photovoltaic module installation area, including:
the device comprises a first recognition result and second recognition result acquisition module, a first recognition result and a second recognition result acquisition module, a second recognition result acquisition module and a third recognition module, wherein the first recognition result and the second recognition result acquisition module are used for acquiring a real object sketch and a real object photo of a component installation place, carrying out image recognition on the real object sketch and the real object photo and acquiring a first recognition result and a second recognition result, and the real object sketch is drawn based on the real object photo;
the verification module is used for verifying the first identification result according to the second identification result;
the preliminary installation area determination module is used for determining a preliminary installation area of the photovoltaic module according to the first identification result if the verification passes;
and the photovoltaic assembly installation area determining module is used for determining the photovoltaic assembly installation area according to the preliminary installation area.
Optionally, the first recognition result and the second recognition result obtaining module are further configured to:
carrying out image recognition on the real object sketch by using an image processing algorithm to obtain the first recognition result;
and carrying out image recognition on the real object picture by using a target detection algorithm to obtain a second recognition result.
Optionally, the first recognition result includes a first area boundary, a first obstacle category and a first obstacle coordinate, and the second recognition result includes a second area boundary, a second obstacle category and a second obstacle coordinate; the verification module is further configured to:
comparing the first area boundary with the second area boundary, the first obstacle category and the second obstacle category, and the first obstacle coordinate and the second obstacle coordinate, and respectively determining a first similarity, a second similarity and a third similarity;
and if the first similarity, the second similarity and the third similarity all accord with the respective corresponding allowable ranges, the verification is passed.
Optionally, the check module is further configured to:
determining the area of an intersection region and the area of a union region according to the first region boundary and the second region boundary, and determining the ratio of the area of the intersection region to the area of the union region as the first similarity;
if the first obstacle type is consistent with a second obstacle type, the second similarity is a first set value, otherwise, the second similarity is a second set value;
and determining the distance between the two coordinates according to the first obstacle coordinate and the second obstacle coordinate, and determining the distance as the third similarity.
Optionally, the preliminary installation area determining module is further configured to:
determining an allowable installation area according to the first recognition result;
and carrying out meshing on the allowable installation area, and determining the preliminary installation area.
Optionally, the preliminary installation area determining module is further configured to:
establishing a rectangular coordinate system, wherein a transverse shaft of the rectangular coordinate system is vertical to the pointing direction of the photovoltaic assembly;
determining points in the allowable installation area which are the closest and the farthest to the horizontal axis and points which are the closest and the farthest to the vertical axis;
establishing two straight lines parallel to the transverse axis respectively through the points closest to and farthest from the transverse axis, establishing two straight lines parallel to the longitudinal axis respectively through the points closest to and farthest from the longitudinal axis, and obtaining a rectangular area surrounded by the four straight lines;
and performing grid division on the rectangular area, determining unqualified grids exceeding the allowable installation area in each grid, and determining a residual grid set obtained after the unqualified grids are removed from the rectangular area as the preliminary installation area.
Optionally, the photovoltaic module installation area determining module is further configured to:
if the first identification result does not contain obstacle information, determining the preliminary installation area as the photovoltaic module installation area;
if the first identification result contains obstacle information, determining a shadow area generated by an obstacle according to the obstacle information, removing an intersection with the shadow area in the preliminary installation area, and determining the installation area of the photovoltaic module.
Optionally, the photovoltaic module installation area determining module is further configured to:
determining the position and height of the obstacle according to the first recognition result;
and determining the maximum fan shape generated by the barrier according to the position of the barrier, the height of the barrier and the longitude and latitude of the assembly installation place, and determining the maximum fan shape as the shadow area.
Optionally, the photovoltaic module installation area determining module is further configured to:
determining the position of the obstacle as the center of the circle of the maximum fan shape;
determining the length of the shadow generated by the barrier at the first set moment and the second set moment and the included angle between the two shadows according to the height of the barrier and the longitude and latitude of the installation place of the assembly;
and determining the included angle as the central angle of the maximum fan shape, and determining the maximum value of the two shadow lengths as the radius of the maximum fan shape.
In a third aspect, an embodiment of the present invention further provides a computer device for determining a photovoltaic module installation area, including:
the photovoltaic module installation area determination method comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the program to realize the photovoltaic module installation area determination method according to any one of the embodiments of the invention.
In a fourth aspect, an embodiment of the present invention further provides a storage medium for determining a photovoltaic module installation area, where the storage medium stores a computer program, and the computer program, when executed by a processing device, implements the method for determining a photovoltaic module installation area according to any one of the embodiments of the present invention.
According to the embodiment of the invention, the real object sketch and the real object photo of the component installation place are firstly obtained, the image recognition is carried out on the real object sketch and the real object photo, the first recognition result and the second recognition result are obtained, then the first recognition result is verified according to the second recognition result, if the verification is passed, the primary installation area of the photovoltaic component is determined according to the first recognition result, and finally the photovoltaic component installation area is determined according to the primary installation area. According to the method for determining the photovoltaic module installation area, provided by the embodiment of the invention, the physical sketch and the physical picture are identified by using different algorithms, and the physical sketch is verified according to the identification result, so that the automatic examination and verification of the physical sketch are realized, the photovoltaic module installation area is determined based on the sketch passed by examination, and the working efficiency is improved.
Drawings
Fig. 1 is a flowchart of a method for determining a photovoltaic module installation area according to a first embodiment of the present invention;
fig. 2 is a flowchart of a method for determining a photovoltaic module installation area according to a second embodiment of the present invention;
fig. 3 is a schematic diagram of a region meshing method according to a second embodiment of the present invention;
fig. 4 is a schematic diagram of a method for determining a shadow area according to a second embodiment of the present invention;
fig. 5 is a schematic structural view of a device for determining a photovoltaic module installation area according to a third embodiment of the present invention;
fig. 6 is a schematic structural diagram of a computer device in the fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a method for determining a photovoltaic module installation area according to an embodiment of the present invention, where the embodiment is applicable to a situation where a real sketch is automatically checked and a photovoltaic module is determined to be an installation area, and the method may be executed by a device for determining a photovoltaic module installation area, where the device may be composed of hardware and/or software, and may generally be integrated in a device having a function of determining a photovoltaic module installation area, where the device may be an electronic device such as a server or a server cluster. As shown in fig. 1, the method specifically comprises the following steps:
and 110, acquiring a real object sketch and a real object photo of the assembly installation place, and performing image recognition on the real object sketch and the real object photo to acquire a first recognition result and a second recognition result.
And the real object sketch is drawn based on the real object photo.
Before the photovoltaic power station is established, firstly, surveying is carried out on an area where a customer wants to install a photovoltaic module by a surveying staff, a photo is taken, and then a physical sketch is drawn according to the photo and the specification. Since the surveyor is usually a staff member of the dealer, and may miss obstacles, etc., it is necessary to review the sketch provided by the surveyor to determine whether the sketch submitted by the surveyor is accurate. After the drawn sketch passes the auditing, the arrangement and installation of the photovoltaic assembly can be designed according to the sketch.
In this embodiment, the two obtained recognition results are compared by respectively performing image recognition on the real object sketch and the real object photo, and if the comparison result is consistent or the similarity of the two results is within an allowable range, the sketch may be considered to be accurately drawn, and if the comparison result is inconsistent or the similarity of the two results is not within the allowable range, the review needs to be performed, for example, the review may be performed in a manual review manner.
Optionally, the object sketch may be identified through an image processing algorithm to obtain a first identification result; and identifying the real object picture through a deep learning algorithm to obtain a second identification result. The first recognition result and the second recognition result should contain the same content, such as the area boundary, the obstacle category, the obstacle position, and the like.
And 120, checking the first identification result according to the second identification result.
In this embodiment, the second recognition result is obtained by performing image recognition on the physical photograph, and the first recognition result is obtained by performing image recognition on a physical sketch, where the physical sketch may be drawn by a hand of a surveyor or by drawing software such as CAD. Since the auditing needs to verify the accuracy of the sketch drawn by the surveyor, for example, whether the region boundary, the position of the obstacle, etc. in the sketch are correct, the first recognition result can be verified according to the second recognition result after the image recognition is performed, so as to determine the accuracy of the sketch.
Optionally, the first recognition result may be verified according to the second recognition result by comparing each item in the recognition results respectively to determine the similarity of each item, and if the similarities are within the allowable range, the verification is passed.
And step 130, if the verification is passed, determining a preliminary installation area of the photovoltaic module according to the first identification result.
The preliminary installation area may be an installation area of the photovoltaic module determined after a partial area is removed after an installation-allowed area in the sketch is divided, and the installation-allowed area is an area having a module installation condition identified according to the image.
In this embodiment, the mounting-allowed region having the component mounting condition may be identified from the image, for example, it may be a flat ground or a high platform, the shape of the region may be irregular, there may be an edge portion of the region where mounting is impossible, and therefore, the mounting-allowed region needs to be processed to obtain a preliminary mounting region.
And 140, determining a photovoltaic module installation area according to the preliminary installation area.
The module installation area is an area for finally determining photovoltaic module installation, and can be determined according to the initial installation area.
Optionally, if there is no obstacle or other object affecting the photovoltaic module in the preliminary installation area, the preliminary installation area may be determined as the photovoltaic module installation area; if objects such as obstacles influencing the photovoltaic module exist in the primary installation area, the size of a shadow area generated by the obstacles can be determined, if an intersection exists between the primary installation area and the shadow area, the intersection can be removed in the primary installation area, and the residual area is the photovoltaic module installation area.
Optionally, a preliminary arrangement method of the photovoltaic modules may be determined in the preliminary installation area, and then the modules falling in the intersection are removed, and the area where the remaining modules are located is the installation area of the photovoltaic modules.
According to the embodiment of the invention, the real object sketch and the real object photo of the component installation place are firstly obtained, the image recognition is carried out on the real object sketch and the real object photo, the first recognition result and the second recognition result are obtained, then the first recognition result is verified according to the second recognition result, if the verification is passed, the primary installation area of the photovoltaic component is determined according to the first recognition result, and finally the photovoltaic component installation area is determined according to the primary installation area. According to the method for determining the photovoltaic module installation area, provided by the embodiment of the invention, the physical sketch and the physical picture are identified by using different algorithms, and the physical sketch is verified according to the identification result, so that the automatic examination and verification of the physical sketch are realized, the photovoltaic module installation area is determined based on the sketch passed by examination, and the working efficiency is improved.
Example two
Fig. 2 is a flowchart of a method for determining a photovoltaic module installation area according to a second embodiment of the present invention, which is applicable to a situation where a real sketch is automatically checked and a photovoltaic module installation area is determined. As shown in fig. 2, the method specifically includes the following steps:
and step 210, acquiring a real object sketch and a real object photo of the component installation place.
Wherein, the photo of material object can utilize camera equipment such as unmanned aerial vehicle to acquire, contains the permission installation area of subassembly and region around it in this photo of material object, and the sketch of material object can be that surveying and mapping personnel draw according to the photo of material object.
In this embodiment, the physical sketch conforms to a certain drawing specification, for example, different colors are used to draw different types of objects, and each color represents one type of object; determining the center point of the obstacle and abstracting the center point into a circle or other figures; attributes such as height information, whether removable, etc. are added to the obstacle.
And step 220, carrying out image recognition on the real object sketch by using an image processing algorithm to obtain a first recognition result.
In this embodiment, the image recognition of the real object sketch may be performed by recognizing colors, lines, and the like in the real object sketch by using an image processing algorithm to determine the types and positions of the obstacles and the allowable installation area in the sketch.
Specifically, the image processing algorithm may include:
1. color searching is carried out in the real object sketch, and obstacles are judged according to the color to obtain the category information of the obstacles;
2. extracting pixel points with specified colors, and obtaining the position of a specific obstacle (for example, an RGB image can be converted into an HSV image, and a corresponding area is determined by screening the pixel range with the specific color);
3. and obtaining the allowable installation area of the photovoltaic module by using an edge detection algorithm (such as a Canny edge detection algorithm).
And step 230, performing image recognition on the real object photo by using a target detection algorithm to obtain a second recognition result.
The target detection algorithm is a deep learning algorithm, and data, such as images, sounds, texts and the like, are interpreted by learning the internal rules and representation levels of sample data and simulating the mechanism of human brain.
In this embodiment, the target detection algorithm may be a YOLOv4 target detection algorithm, a fast RCNN target detection algorithm, and the like, and these algorithms may all implement detection and identification of an object, so as to obtain the boundary of the installation-allowed area of the photovoltaic module, the category information of the obstacle, the position information, and the like.
Specifically, when image recognition is performed by using a target detection algorithm, images need to be acquired, a training set, a verification set and a test set are manufactured to be used for training a target detection model, then a real object photo is input into the trained model for detection, and boundary information of an allowable installation area, category information of obstacles, position information of the obstacles and the like are acquired.
Step 240, comparing the first area boundary with the second area boundary, the first obstacle category and the second obstacle category, and the first obstacle coordinate and the second obstacle coordinate, and determining a first similarity, a second similarity, and a third similarity, respectively.
The first recognition result comprises a first area boundary, a first obstacle category and a first obstacle coordinate, and the second recognition result comprises a second area boundary, a second obstacle category and a second obstacle coordinate.
In this embodiment, the first recognition result is a result of recognizing a real object sketch through an image processing algorithm, the second recognition result is a result of recognizing a real object photo through a target detection algorithm, and the recognition results of the two methods both include the area boundary of the permitted installation area of the photovoltaic module and the type and coordinate information of the obstacle. From the above information, the respective similarity degrees can be calculated, respectively.
Optionally, comparing the first area boundary with the second area boundary, the first obstacle category and the second obstacle category, and the first obstacle coordinate and the second obstacle coordinate, the manner of respectively determining the first similarity, the second similarity, and the third similarity may be: determining the area of an intersection region and the area of a union region according to the first region boundary and the second region boundary, and determining the ratio of the area of the intersection region to the area of the union region as a first similarity; if the first obstacle type is consistent with the second obstacle type, the second similarity is a first set value, otherwise, the second similarity is a second set value; and determining the distance between the two coordinates according to the first obstacle coordinates and the second obstacle coordinates, and determining the distance as a third similarity.
Specifically, the object sketch is drawn according to the object photo, so that the two image recognition algorithms can establish a unified coordinate system although the recognized objects are different. For the first similarity corresponding to the region boundary, the calculation method is as follows: let the area that first regional boundary encloses be A, the area that second regional boundary encloses be B, then first similarity is the area of A and B intersection and the area ratio of union, promptly:
Figure BDA0003387259800000141
wherein, boundary-similarity is the first similarity.
For the second similarity corresponding to the obstacle category, the calculation method is as follows: and C is set as the first obstacle type, D is set as the second obstacle type, if C and D are equal, the value of the second similarity is set as a first set value, and otherwise, the value is set as a second set value. Preferably, the second similarity may be category-similarity, the first set value is 1, and the second set value is 0, then
Figure BDA0003387259800000142
For the third similarity corresponding to the coordinates of the obstacle, the calculation method is as follows: let the first obstacle coordinate be (x)1,y1) The second obstacle coordinate is (x)2,y2) And the third similarity is ρ, then
Figure BDA0003387259800000143
And step 250, if the first similarity, the second similarity and the third similarity all accord with the respective corresponding allowable ranges, the verification is passed.
In this embodiment, different allowable ranges may be set according to different similarities. For example, the allowable range of the first similarity may be greater than 0.9, the allowable range of the second similarity may be equal to 1, and the allowable range of the third similarity may be less than 0.5. After the three similarities are calculated, if the three similarities accord with the respective corresponding allowable ranges, the verification is passed, that is, the physical sketch provided by the surveyor is accurate, and the method can be used for subsequent component arrangement design.
And step 260, determining an installation allowing area according to the first recognition result.
The first recognition result is a result obtained by image recognition of the real object sketch, and the installation allowed area is an area which is recognized from the real object sketch and has photovoltaic module installation conditions.
In this embodiment, the allowable installation area surrounded by the first area boundary in the first recognition result can be determined.
And 270, meshing the allowed installation area to determine a preliminary installation area.
The preliminary installation area is an area formed by the remaining grids after unqualified grids are removed after the grid division is carried out on the allowable installation area.
In this embodiment, the installation-allowed area may be divided into a plurality of continuous grids, each grid representing one photovoltaic module. Since the allowable installation area may be irregular and the grid may be regular and rectangular, defective grids that do not fall within the allowable installation area may exist near the edge, and the preliminary installation area may be determined after removing these grids. The preliminary installation area is made up of grids, each grid representing a photovoltaic module.
Optionally, the allowable installation area is subjected to meshing, and the manner of determining the preliminary installation area may be: establishing a rectangular coordinate system, wherein a transverse shaft of the rectangular coordinate system is vertical to the pointing direction of the photovoltaic assembly; determining points within the allowed installation area that are closest and farthest from the lateral axis and points that are closest and farthest from the longitudinal axis; establishing two straight lines parallel to the transverse axis respectively through points closest to and farthest from the transverse axis, establishing two straight lines parallel to the longitudinal axis respectively through points closest to and farthest from the longitudinal axis, and obtaining a rectangular area surrounded by the four straight lines; and performing grid division on the rectangular area, determining unqualified grids exceeding the allowable installation area in each grid, and determining a residual grid set obtained after removing the unqualified grids in the rectangular area as a preliminary installation area.
Specifically, photovoltaic modules in different regions often have different orientations, and a rectangular coordinate system established in the image recognition step may have an included angle with the orientation of the module. The coordinate axis conversion method can be used to make the origin of the coordinate axis unchanged, and the coordinate system is rotated to make the horizontal axis and the component direction perpendicular to each other. In the transformed rectangular coordinate system, the point closest to the horizontal axis and the point farthest from the horizontal axis, and the point closest to the vertical axis and the point farthest from the vertical axis are calculated, and the 4 points are taken as parallel lines of coordinate axes, so that a rectangular area can be obtained, and the area comprises the boundary of the allowable installation area. And carrying out grid division on the rectangular area according to factors such as installation inclination angles, intervals and the like of the components, wherein each grid is a component. Fig. 3 is a schematic diagram of a region meshing method according to an embodiment of the present invention, where coordinate axes before rotation are x and y, and coordinate axes after rotation are x1And y1The hatched area in the figure is the allowed installation area.
In the real sketch, the region where the installation is allowed may be represented by a set color, the region outside the installation-allowed region may be represented by another set color, and the rectangular region may be searched using a search algorithm, for example, if the region outside the installation-allowed region is white, it may be determined by the search algorithm whether or not the grid includes a point having a pixel value of (255, 255, 255) (the pixel value of white in the RGB color space is (255, 255, 255)). If it is contained, the grid is discarded, indicating that the installation position of the component exceeds the boundary of the allowable installation area; if there is no point in the grid with a pixel value of (255, 255, 255), indicating that the grid is inside the allowed installation area, a component can be installed. This results in a large capacity of the preliminary mounting area and the corresponding arrangement of the components. Further, the search algorithm may be a traversal algorithm, a depth-first search algorithm, or a breadth-first search algorithm, etc., and if the components may be distributed discretely, the traversal algorithm may be used, and if the components must be arranged continuously, the depth-first search algorithm or the breadth-first search algorithm may be used.
And step 280, if the first identification result does not contain the obstacle information, determining the initial installation area as the photovoltaic module installation area.
In this embodiment, if the first identification result does not include the obstacle information, it may be considered that there is no object blocking the photovoltaic module in the preliminary installation area, and at this time, the preliminary installation area may be directly determined as the photovoltaic module installation area.
And 290, if the first identification result contains the obstacle information, determining a shadow area generated by the obstacle according to the obstacle information, removing the intersection with the shadow area in the primary installation area, and determining the installation area of the photovoltaic module.
Wherein the obstacle information includes an obstacle position and an obstacle height.
In this embodiment, if the first identification result includes the obstacle information, it may be considered that an object affecting the photovoltaic module exists in the preliminary installation area, and at this time, an influence range of the obstacle on the light and a generated shadow area need to be determined, an intersection between the shadow area and the preliminary installation area is calculated, and the preliminary installation area after the intersection is removed, that is, the installation area of the photovoltaic module. Further, the grids falling in the intersection in the preliminary installation area may be removed, and the remaining grids may be determined as the installation area of the photovoltaic module.
Optionally, the manner of determining the shadow area generated by the obstacle according to the obstacle information may be: determining the position and height of the obstacle according to the first recognition result; and determining the maximum fan shape generated by the barrier according to the position of the barrier, the height of the barrier and the longitude and latitude of the assembly installation place, and determining the maximum fan shape as a shadow area.
Specifically, the shadow area may be a sector, the radius of the sector may be the longest shadow that the obstacle may generate within the sunlight irradiation time, the central angle of the sector may be an included angle between the two longest shadows, and the position of the center of the sector is the position corresponding to the obstacle.
Further, according to the position of the obstacle, the height of the obstacle and the longitude and latitude of the installation place of the assembly, the mode of determining the maximum fan shape generated by the obstacle may be: determining the position of the obstacle as the center of a circle of the largest sector; determining the length of a shadow generated by the barrier at the first set moment and the second set moment and an included angle between the two shadows according to the height of the barrier and the longitude and latitude of the installation place of the assembly; the included angle is determined as the central angle of the largest sector and the maximum of the two shadow lengths is determined as the radius of the largest sector.
Preferably, since the solar altitude changes with the change of time and season, the solar altitude increases from morning to noon and decreases from noon to afternoon, and two moments generating the longest shadow can be selected. Considering the intensity of solar irradiation, generally, only the shadow occlusion from 9 am to 3 pm needs to be considered, and according to statistics, the solar altitude angle is the smallest and the shadow is the longest at 9 am and 3 pm of the winter solstice day in the time period, so that the lengths of the shadow of the obstacles at the two local moments need to be calculated, the first set moment is 9 am of the winter solstice day, and the second set moment is 3 pm of the winter solstice day.
Fig. 4 is a schematic diagram of a method for determining a shadow area according to an embodiment of the present invention, where as shown in the figure, α is a solar altitude, and the shadow length is L, then
Figure BDA0003387259800000181
The calculation method of alpha comprises the following steps:
Figure BDA0003387259800000182
in the formula (I), the compound is shown in the specification,
Figure BDA0003387259800000183
the local latitude is, delta is the declination angle, and t is the solar hour angle.
If the first set time is 9 am of the winter solstice day and the second set time is 3 pm of the winter solstice day, the shadow lengths corresponding to the two times can be determined to be L respectively through calculation1And L2Taking the maximum value L of the twomaxIs prepared by mixing LmaxAs the sector radius, the position of the obstacle is determined as the center of the sector, and L is set1And L2The included angle between the two is determined as the central angle of the sector, and the sector area is the shadow area.
The embodiment of the invention firstly obtains a real object sketch and a real object photo of a component installation place, then utilizes an image processing algorithm to carry out image recognition on the real object sketch, obtains a first recognition result, then utilizes a target detection algorithm to carry out image recognition on the real object photo, obtains a second recognition result, compares a first area boundary with a second area boundary, a first obstacle type and a second obstacle type as well as a first obstacle coordinate and a second obstacle coordinate, respectively determines a first similarity, a second similarity and a third similarity, if the first similarity, the second similarity and the third similarity are all in accordance with respective corresponding allowable ranges, the verification is passed, then determines an allowable installation area according to the first recognition result, then carries out grid division on the allowable installation area, determines an initial installation area, if the first recognition result does not contain obstacle information, determines the initial installation area as a photovoltaic component installation area, if the first recognition result contains the obstacle information, determining a shadow area generated by the obstacle according to the obstacle information, removing an intersection with the shadow area in the primary installation area, and determining the installation area of the photovoltaic module. According to the method for determining the photovoltaic module installation area, provided by the embodiment of the invention, the physical sketch and the physical picture are identified by using different algorithms, and the physical sketch is verified according to the identification result, so that the automatic examination and verification of the physical sketch are realized, the photovoltaic module installation area is determined based on the sketch passed by examination, and the working efficiency is improved.
EXAMPLE III
Fig. 5 is a schematic structural view of a device for determining a mounting area of a photovoltaic module according to a third embodiment of the present invention. As shown in fig. 5, the apparatus includes: a first recognition result and second recognition result obtaining module 310, a checking module 320, a preliminary installation area determining module 330, and a photovoltaic module installation area determining module 340.
The first recognition result and second recognition result obtaining module 310 is configured to obtain a material object sketch and a material object photo of a component installation place, perform image recognition on the material object sketch and the material object photo, and obtain a first recognition result and a second recognition result, where the material object sketch is drawn based on the material object photo.
Optionally, the first recognition result and second recognition result obtaining module 310 is further configured to:
carrying out image recognition on the real object sketch by using an image processing algorithm to obtain a first recognition result; and carrying out image recognition on the real object photo by using a target detection algorithm to obtain a second recognition result.
The checking module 320 is configured to check the first recognition result according to the second recognition result.
Optionally, the first recognition result includes a first area boundary, a first obstacle category, and a first obstacle coordinate, and the second recognition result includes a second area boundary, a second obstacle category, and a second obstacle coordinate; the verification module 320 is further configured to: comparing the first area boundary with the second area boundary, the first obstacle type and the second obstacle type, and the first obstacle coordinate and the second obstacle coordinate, and respectively determining a first similarity, a second similarity and a third similarity; and if the first similarity, the second similarity and the third similarity all accord with the respective corresponding allowable ranges, the verification is passed.
Optionally, the checking module 320 is further configured to: determining the area of an intersection region and the area of a union region according to the first region boundary and the second region boundary, and determining the ratio of the area of the intersection region to the area of the union region as a first similarity; if the first obstacle type is consistent with the second obstacle type, the second similarity is a first set value, otherwise, the second similarity is a second set value; and determining the distance between the two coordinates according to the first obstacle coordinates and the second obstacle coordinates, and determining the distance as a third similarity.
And a preliminary installation area determination module 330, configured to determine a preliminary installation area of the photovoltaic module according to the first identification result if the verification passes.
Optionally, the preliminary installation area determining module 330 is further configured to: determining an installation-allowed area according to the first recognition result; and meshing the allowable installation area to determine a preliminary installation area.
Optionally, the preliminary installation area determining module 330 is further configured to: establishing a rectangular coordinate system, wherein a transverse shaft of the rectangular coordinate system is vertical to the pointing direction of the photovoltaic assembly; determining points within the allowed installation area that are closest and farthest from the lateral axis and points that are closest and farthest from the longitudinal axis; establishing two straight lines parallel to the transverse axis respectively through points closest to and farthest from the transverse axis, establishing two straight lines parallel to the longitudinal axis respectively through points closest to and farthest from the longitudinal axis, and obtaining a rectangular area surrounded by the four straight lines; and carrying out grid division on the rectangular area, determining unqualified grids exceeding the allowable installation area in each grid, and determining a residual grid set obtained after removing the unqualified grids in the rectangular area as a preliminary installation area.
And a photovoltaic module installation area determining module 340, configured to determine a photovoltaic module installation area according to the preliminary installation area.
Optionally, the photovoltaic module installation area determining module 340 is further configured to:
if the first identification result does not contain the obstacle information, determining the initial installation area as a photovoltaic module installation area; if the first recognition result contains the obstacle information, determining a shadow area generated by the obstacle according to the obstacle information, removing an intersection with the shadow area in the primary installation area, and determining the installation area of the photovoltaic module.
Optionally, the photovoltaic module installation area determining module 340 is further configured to:
determining the position and height of the obstacle according to the first recognition result; and determining the maximum fan shape generated by the barrier according to the position of the barrier, the height of the barrier and the longitude and latitude of the assembly installation place, and determining the maximum fan shape as a shadow area.
Optionally, the photovoltaic module installation area determining module 340 is further configured to: determining the position of the obstacle as the center of a circle of the largest sector; determining the length of a shadow generated by the barrier at the first set moment and the second set moment and an included angle between the two shadows according to the height of the barrier and the longitude and latitude of the installation place of the assembly; the included angle is determined as the central angle of the largest sector and the maximum of the two shadow lengths is determined as the radius of the largest sector.
The device can execute the methods provided by all the embodiments of the disclosure, and has corresponding functional modules and beneficial effects for executing the methods. For technical details that are not described in detail in this embodiment, reference may be made to the methods provided in all the foregoing embodiments of the disclosure.
Example four
Fig. 6 is a schematic structural diagram of a computer device according to a fourth embodiment of the present invention. FIG. 6 illustrates a block diagram of a computer device 412 suitable for use in implementing embodiments of the present invention. The computer device 412 shown in FIG. 6 is only one example and should not impose any limitations on the functionality or scope of use of embodiments of the present invention. The device 412 is a typical photovoltaic module installation area determination computing device.
As shown in FIG. 6, computer device 412 is in the form of a general purpose computing device. Components of computer device 412 may include, but are not limited to: one or more processors 416, a storage device 428, and a bus 418 that couples the various system components including the storage device 428 and the processors 416.
Bus 418 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MCA) bus, an enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
Computer device 412 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by computer device 412 and includes both volatile and nonvolatile media, removable and non-removable media.
Storage 428 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) 430 and/or cache Memory 432. The computer device 412 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 434 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 6, commonly referred to as a "hard drive"). Although not shown in FIG. 6, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a Compact disk-Read Only Memory (CD-ROM), a Digital Video disk (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to bus 418 by one or more data media interfaces. Storage 428 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
Program 436 having a set (at least one) of program modules 426 may be stored, for example, in storage 428, such program modules 426 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination may comprise an implementation of a network environment. Program modules 426 generally perform the functions and/or methodologies of embodiments of the invention as described herein.
The computer device 412 may also communicate with one or more external devices 414 (e.g., keyboard, pointing device, camera, display 424, etc.), with one or more devices that enable a user to interact with the computer device 412, and/or with any devices (e.g., network card, modem, etc.) that enable the computer device 412 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 422. Also, computer device 412 may communicate with one or more networks (e.g., a Local Area Network (LAN), Wide Area Network (WAN), and/or a public Network, such as the internet) through Network adapter 420. As shown, network adapter 420 communicates with the other modules of computer device 412 over bus 418. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the computer device 412, including but not limited to: microcode, device drivers, Redundant processing units, external disk drive Arrays, disk array (RAID) systems, tape drives, and data backup storage systems, to name a few.
The processor 416 executes various functional applications and data processing by executing programs stored in the storage device 428, for example, to implement the method for determining the installation area of the photovoltaic module according to the above-described embodiment of the present invention.
EXAMPLE five
Embodiments of the present invention provide a computer-readable storage medium having stored thereon a computer program, which when executed by a processing apparatus, implements a method of determining a photovoltaic module installation area as in embodiments of the present invention. The computer readable medium of the present invention described above may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring a real object sketch and a real object photo of a component installation place, performing image recognition on the real object sketch and the real object photo, and acquiring a first recognition result and a second recognition result, wherein the real object sketch is drawn based on the real object photo; verifying the first recognition result according to the second recognition result; if the verification is passed, determining a preliminary installation area of the photovoltaic module according to the first identification result; and determining the installation area of the photovoltaic module according to the preliminary installation area.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (12)

1. A method for determining a photovoltaic module installation area is characterized by comprising the following steps:
acquiring a real object sketch and a real object photo of a component installation place, performing image recognition on the real object sketch and the real object photo, and acquiring a first recognition result and a second recognition result, wherein the real object sketch is drawn based on the real object photo;
verifying the first recognition result according to the second recognition result;
if the verification is passed, determining a preliminary installation area of the photovoltaic module according to the first identification result;
and determining the installation area of the photovoltaic assembly according to the preliminary installation area.
2. The method of claim 1, wherein the image recognizing the sketch and the picture of the real object to obtain a first recognition result and a second recognition result comprises:
carrying out image recognition on the real object sketch by using an image processing algorithm to obtain the first recognition result;
and carrying out image recognition on the real object picture by using a target detection algorithm to obtain a second recognition result.
3. The method of claim 1, wherein the first recognition result comprises a first zone boundary, a first obstacle category, and first obstacle coordinates, and wherein the second recognition result comprises a second zone boundary, a second obstacle category, and second obstacle coordinates;
verifying the first recognition result according to the second recognition result, comprising:
comparing the first area boundary with the second area boundary, the first obstacle category and the second obstacle category, and the first obstacle coordinate and the second obstacle coordinate, and respectively determining a first similarity, a second similarity and a third similarity;
and if the first similarity, the second similarity and the third similarity all accord with the respective corresponding allowable ranges, the verification is passed.
4. The method of claim 3, wherein comparing the first zone boundary to a second zone boundary, the first and second obstacle classes, and first and second obstacle coordinates to determine a first similarity, a second similarity, and a third similarity, respectively, comprises:
determining the area of an intersection region and the area of a union region according to the first region boundary and the second region boundary, and determining the ratio of the area of the intersection region to the area of the union region as the first similarity;
if the first obstacle type is consistent with a second obstacle type, the second similarity is a first set value, otherwise, the second similarity is a second set value;
and determining the distance between the two coordinates according to the first obstacle coordinate and the second obstacle coordinate, and determining the distance as the third similarity.
5. The method of claim 1, wherein determining a preliminary installation area of the photovoltaic module based on the first identification comprises:
determining an allowable installation area according to the first recognition result;
and carrying out meshing on the allowable installation area, and determining the preliminary installation area.
6. The method of claim 5, wherein meshing the allowed installation area, determining the preliminary installation area, comprises:
establishing a rectangular coordinate system, wherein a transverse shaft of the rectangular coordinate system is vertical to the pointing direction of the photovoltaic assembly;
determining points in the allowable installation area which are the closest and the farthest to the horizontal axis and points which are the closest and the farthest to the vertical axis;
establishing two straight lines parallel to the transverse axis respectively through the points closest to and farthest from the transverse axis, establishing two straight lines parallel to the longitudinal axis respectively through the points closest to and farthest from the longitudinal axis, and obtaining a rectangular area surrounded by the four straight lines;
and performing grid division on the rectangular area, determining unqualified grids exceeding the allowable installation area in each grid, and determining a residual grid set obtained after the unqualified grids are removed from the rectangular area as the preliminary installation area.
7. The method of claim 1, wherein determining the photovoltaic module mounting area from the preliminary mounting area comprises:
if the first identification result does not contain obstacle information, determining the preliminary installation area as the photovoltaic module installation area;
if the first identification result contains obstacle information, determining a shadow area generated by an obstacle according to the obstacle information, removing an intersection with the shadow area in the preliminary installation area, and determining the installation area of the photovoltaic module.
8. The method of claim 7, wherein the obstacle information includes an obstacle position and an obstacle height, and wherein determining a shadow region generated by the obstacle based on the obstacle information comprises:
determining the position and height of the obstacle according to the first recognition result;
and determining the maximum fan shape generated by the barrier according to the position of the barrier, the height of the barrier and the longitude and latitude of the assembly installation place, and determining the maximum fan shape as the shadow area.
9. The method of claim 8, wherein determining a maximum sector shape generated by the obstacle based on the obstacle position, the obstacle height, and the latitude and longitude of the component mounting location comprises:
determining the position of the obstacle as the center of the circle of the maximum fan shape;
determining the length of the shadow generated by the barrier at the first set moment and the second set moment and the included angle between the two shadows according to the height of the barrier and the longitude and latitude of the installation place of the assembly;
and determining the included angle as the central angle of the maximum fan shape, and determining the maximum value of the two shadow lengths as the radius of the maximum fan shape.
10. An apparatus for determining a photovoltaic module mounting area, comprising:
the device comprises a first recognition result and second recognition result acquisition module, a first recognition result and a second recognition result acquisition module, a second recognition result acquisition module and a third recognition module, wherein the first recognition result and the second recognition result acquisition module are used for acquiring a real object sketch and a real object photo of a component installation place, carrying out image recognition on the real object sketch and the real object photo and acquiring a first recognition result and a second recognition result, and the real object sketch is drawn based on the real object photo;
the verification module is used for verifying the first identification result according to the second identification result;
the preliminary installation area determination module is used for determining a preliminary installation area of the photovoltaic module according to the first identification result if the verification passes;
and the photovoltaic assembly installation area determining module is used for determining the photovoltaic assembly installation area according to the preliminary installation area.
11. A computer device, comprising: memory, processor and computer program stored on the memory and executable on the processor, which when executed by the processor implements the method of determining a photovoltaic module installation area according to any one of claims 1 to 9.
12. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processing device, carries out the method for determining a photovoltaic module installation area according to any one of claims 1 to 9.
CN202111454105.0A 2021-12-01 2021-12-01 Method, device and equipment for determining photovoltaic module installation area and storage medium Pending CN114170507A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111454105.0A CN114170507A (en) 2021-12-01 2021-12-01 Method, device and equipment for determining photovoltaic module installation area and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111454105.0A CN114170507A (en) 2021-12-01 2021-12-01 Method, device and equipment for determining photovoltaic module installation area and storage medium

Publications (1)

Publication Number Publication Date
CN114170507A true CN114170507A (en) 2022-03-11

Family

ID=80482192

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111454105.0A Pending CN114170507A (en) 2021-12-01 2021-12-01 Method, device and equipment for determining photovoltaic module installation area and storage medium

Country Status (1)

Country Link
CN (1) CN114170507A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116834003A (en) * 2023-06-29 2023-10-03 广州市创博机电设备安装有限公司 Intelligent installation method and system of photovoltaic module

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116834003A (en) * 2023-06-29 2023-10-03 广州市创博机电设备安装有限公司 Intelligent installation method and system of photovoltaic module
CN116834003B (en) * 2023-06-29 2024-01-02 广州市创博机电设备安装有限公司 Intelligent installation method and system of photovoltaic module

Similar Documents

Publication Publication Date Title
US11144795B2 (en) System and method for detecting features in aerial images using disparity mapping and segmentation techniques
US9251420B2 (en) System for mapping and identification of plants using digital image processing and route generation
US11328506B2 (en) Crop identification method and computing device
CN114359758B (en) Power transmission line detection method and device, computer equipment and storage medium
CN109916415B (en) Road type determination method, device, equipment and storage medium
CN114170507A (en) Method, device and equipment for determining photovoltaic module installation area and storage medium
CN114252884A (en) Method and device for positioning and monitoring roadside radar, computer equipment and storage medium
Zhao et al. YOLO-highway: An improved highway center marking detection model for unmanned aerial vehicle autonomous flight
CN114413854A (en) Real-scene three-dimensional image checking system based on oblique photography
US20230394705A1 (en) Location determination in a gps-denied environment with user annotation
CN113537026A (en) Primitive detection method, device, equipment and medium in building plan
CN112184903A (en) Method, device, equipment and medium for detecting high-voltage line tree obstacle risk points
CN114252859A (en) Target area determination method and device, computer equipment and storage medium
CN114881763B (en) Post-loan supervision method, device, equipment and medium for aquaculture
CN112949726B (en) ISCCP cloud classification method, system, medium and terminal based on FY-4A satellite
CN112541403B (en) Indoor personnel falling detection method by utilizing infrared camera
CN114565780A (en) Target identification method and device, electronic equipment and storage medium
CN114418945A (en) Photovoltaic module hot spot detection method and device
CN114140703A (en) Intelligent recognition method and system for forest pine wood nematode diseases
CN114092813A (en) Industrial park image extraction method, model, electronic equipment and storage medium
CN112766068A (en) Vehicle detection method and system based on gridding labeling
US11651511B2 (en) Computer vision systems and methods for determining roof shapes from imagery using segmentation networks
CN116109712B (en) Automatic measuring method and measuring equipment for background sky light of telescope-pointing sky area
CN116721136B (en) Piping dangerous case identification method, electronic equipment and storage medium
CN114255264B (en) Multi-base-station registration method and device, computer equipment and storage medium

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