Method, device, equipment and medium for determining shooting parameters of unmanned aerial vehicle inspection objects

By calculating the angle between the sun's light and the camera's light direction, the optimal inspection time and pan/tilt angle of the drone are determined, which solves the image quality problem in backlight scenarios and improves the efficiency and image quality of the drone's power inspection. Clarity.

CN118466555BActive Publication Date: 2024-10-25TIANJIN YUNSHENG INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410910698.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2024-10-25
Estimated Expiration
2044-07-09

AI Technical Summary

Technical Problem

When drones conduct power inspections, images captured in backlit scenes are prone to overexposure and low image quality, making it impossible to clearly determine whether the insulator is damaged or whether the pins have fallen off, affecting inspection efficiency.

Method used

By obtaining the angle between the sun's light direction vector and the camera's light direction, the optimal inspection time and pan/tilt angle of the drone are determined to avoid backlighting and collect image data.

Benefits of technology

It improves the efficiency of drone inspections, avoids backlight overexposure and low-quality images, and ensures the clarity of inspection results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118466555B_ABST
    Figure CN118466555B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, device, equipment and medium for determining shooting parameters of an unmanned aerial vehicle inspection object. The method comprises: obtaining the angle between the sun's ray direction vector and the camera's ray direction vector; determining the optimal inspection time and the optimal pan-tilt angle of the unmanned aerial vehicle inspection according to the angle between the sun's ray direction vector and the camera's ray direction vector; and inspecting and collecting image data of the inspection object based on the optimal inspection time and the optimal pan-tilt angle. This technical solution can calculate the optimal shooting parameters for fully autonomous inspection, improve inspection efficiency, and avoid shooting backlit overexposure and low-quality images.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of industrial unmanned aerial vehicle inspection technology, and in particular to a method, device, equipment and medium for determining shooting parameters of an unmanned aerial vehicle inspection object. Background Art

[0002] When the drone is conducting periodic inspections of the power line, if the shooting angle is facing the sun, that is, facing the sun against the light, overexposure and stray light will occur. If you take pictures at this time, you cannot see whether the insulator is damaged or the pin is off, so the entire line inspection is invalid.

[0003] In this scenario, camera manufacturers usually turn on backlight compensation and increase ISO (sensitivity).

[0004] However, this solution usually sacrifices the overall image quality, increases noise, and does not actually solve the problem under strong light. Summary of the invention

[0005] The present invention provides a method, device, equipment and medium for determining shooting parameters of an unmanned aerial vehicle inspection object, which can calculate the optimal shooting parameters for a fully autonomous inspection, improve the inspection efficiency, and avoid shooting backlit, overexposed and low-quality images.

[0006] According to one aspect of the present invention, a method for determining shooting parameters of an unmanned aerial vehicle inspection object is provided, the method comprising:

[0007] Get the angle between the sun light direction vector and the camera light direction vector;

[0008] Determine the optimal inspection time and optimal gimbal angle of the drone inspection according to the angle between the sun light direction vector and the camera light direction vector;

[0009] Based on the optimal inspection time and the optimal pan / tilt angle, inspection and image data collection are performed on the inspection object.

[0010] According to another aspect of the present invention, a device for determining shooting parameters of an unmanned aerial vehicle inspection object is provided, the device comprising:

[0011] An angle acquisition module, used to obtain the angle between the sun light direction vector and the camera light direction vector;

[0012] An inspection time and gimbal angle determination module is used to determine the optimal inspection time and optimal gimbal angle for drone inspection based on the angle between the sun light direction vector and the camera light direction vector;

[0013] The drone inspection object shooting parameter determination module is used to inspect the inspection object and collect image data based on the optimal inspection time and the optimal pan / tilt angle.

[0014] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0015] At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for determining shooting parameters of an unmanned aerial vehicle inspection object as described in any embodiment of the present invention.

[0016] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for determining shooting parameters of an unmanned aerial vehicle inspection object described in any embodiment of the present invention when executed.

[0017] The technical solution of the embodiment of the present invention obtains the angle between the sun's light direction vector and the camera's light direction vector, and then determines the optimal inspection time and optimal gimbal angle of the drone inspection based on the angle between the sun's light direction vector and the camera's light direction vector, and inspects and collects image data on the inspection object based on the optimal inspection time and optimal gimbal angle. This technical solution can calculate the optimal shooting parameters for fully autonomous inspections, improve inspection efficiency, and avoid shooting backlit overexposure and low-quality images.

[0018] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0020] Figure 1 is a flow chart of a method for determining shooting parameters of an unmanned aerial vehicle inspection object provided in accordance with Embodiment 1 of the present invention;

[0021] Figure 2 A schematic diagram of a process for determining shooting parameters of an inspection object by a drone provided in Embodiment 2 of the present invention;

[0022] Figure 3 A schematic diagram of the structure of a device for determining shooting parameters of an unmanned aerial vehicle inspection object provided in Embodiment 3 of the present invention;

[0023] Figure 4 It is a structural schematic diagram of an electronic device that implements the method for determining shooting parameters of an unmanned aerial vehicle inspection object according to an embodiment of the present invention. DETAILED DESCRIPTION

[0024] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0025] It should be noted that the terms "candidate", "target", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0026] Embodiment 1

[0027] Figure 1 This is a flow chart of a method for determining shooting parameters of a drone inspection object provided according to the first embodiment of the present invention. This embodiment is applicable to the case where the shooting parameters of a drone inspection object are determined. The method can be executed by a drone inspection object shooting parameter determination device. The drone inspection object shooting parameter determination device can be implemented in the form of hardware and / or software. The drone inspection object shooting parameter determination device can be configured in a device. For example, the device can be a background server or other device with communication and computing capabilities. Figure 1 As shown, the method includes:

[0028] S110, obtaining the angle between the sun light direction vector and the camera light direction vector.

[0029] The camera light direction vector may refer to the light direction vector of the camera pointing to the tower.

[0030] In this solution, the angle between the sun ray direction vector and the camera ray direction vector can be calculated based on the sun ray direction vector and the camera ray direction vector by obtaining the sun ray direction vector and the camera ray direction vector.

[0031] Optionally, get the angle between the sun light direction vector and the camera light direction vector, including:

[0032] Get the sun light direction vector and the camera light direction vector;

[0033] A dot product operation is performed on the sun light direction vector and the camera light direction vector to obtain an angle between the sun light direction vector and the camera light direction vector.

[0034] In this scheme, it is assumed that the three components of the sun's ray direction vector are , the three components of the camera light direction vector are , you can and Perform a dot product operation and apply the arc cosine function to calculate the angle between the sun light direction vector and the camera light direction vector .

[0035] Specifically, calculate the angle between the sun light direction vector and the camera light direction vector The formula is: .in, The larger it is, the greater the angle between the sun's rays and the camera's rays, and the greater the possibility of backlighting.

[0036] By calculating the angle between the sun's light direction vector and the camera's light direction vector, the optimal shooting parameters for fully autonomous inspection can be calculated based on the angle between the sun's light direction vector and the camera's light direction vector, thereby improving inspection efficiency and avoiding shooting backlit, overexposed, and low-quality images.

[0037] Optionally, get the sun's direction vector, including:

[0038] Get the solar altitude angle and solar azimuth angle;

[0039] Based on the solar altitude angle and the solar azimuth angle, a solar ray direction vector is determined.

[0040] In this embodiment, the solar altitude angle and the solar azimuth angle can be obtained through meteorological data.

[0041] Specifically, the sun's altitude angle :

[0042] ;

[0043] Solar azimuth :

[0044] ;

[0045] in, and It is a general astronomical algorithm that can be calculated through the input parameters (latitude and longitude, date, time). and The components of the sun's ray direction vector can be calculated. Where:

[0046] Quantity : ;

[0047] North-South Component : ;

[0048] Zenith Component : .

[0049] By calculating the direction vector of the sun's rays, the optimal shooting parameters for fully autonomous inspections can be calculated based on the angle between the direction vector of the sun's rays and the direction vector of the camera's rays, thereby improving inspection efficiency and avoiding overexposure and low-quality images caused by backlighting.

[0050] Optionally, get the camera light direction vector, including:

[0051] Get the drone shooting location and the tower location;

[0052] The tower position and the drone shooting position are calculated to obtain the camera light direction vector.

[0053] Among them, the drone shooting location and the power tower location can be obtained from the database or through other methods.

[0054] In this solution, the light direction vector of the camera pointing to the tower can be calculated based on the drone shooting position and the tower position, that is, the camera light direction vector. Specifically, the tower position and the drone shooting position can be subtracted to determine the camera light direction vector. Assume that the drone shooting position is , the tower location is , camera light direction vector The calculation formula is:

[0055] , this vector represents the direction and magnitude (i.e., distance) from the drone to the tower.

[0056] By calculating the camera light direction vector, the optimal shooting parameters for fully autonomous inspection can be calculated based on the angle between the sun light direction vector and the camera light direction vector, thereby improving the inspection efficiency and avoiding shooting backlit, overexposed and low-quality images.

[0057] S120. Determine the optimal inspection time and optimal gimbal angle for the drone inspection based on the angle between the sun light direction vector and the camera light direction vector.

[0058] In this solution, a backlight threshold is set according to actual needs. , when the calculated angle Greater than When the backlight threshold is Can be adjusted according to needs.

[0059] Specifically, it can be based on the angle between the sun light direction vector and the camera light direction vector , set the backlight degree discrimination function , where the backlight degree discrimination function It is a simple piecewise function that compares with the threshold and can output two states: backlight and non-backlight, expressed as 1 and 0.

[0060] .

[0061] Furthermore, due to The source is calculated from the direction vector of the sun light and the direction vector of the camera light at different times, which can be based on The optimal inspection time is determined by the size of . Specifically, the time point with the lowest backlight level can be found within a given time range as the optimal inspection time. Assume that the function of the optimal inspection time is , within a given time frame Find the time point with the lowest backlight level as the best inspection time. This function can be implemented by traversing the time range, calculating the angle and backlight level at each time point, and then finding the time point with the lowest backlight level. , Represents the coordinates of the electric tower.

[0062] In this embodiment, an iterative approximation method can be used to use the backlight degree discrimination function Determine the optimal gimbal angle.

[0063] S130: Based on the optimal inspection time and the optimal pan / tilt angle, inspect the object to be inspected and collect image data.

[0064] In this solution, by determining the optimal inspection time and the optimal gimbal angle, the drone can be controlled to inspect the inspection object and collect image data based on the optimal inspection time and the optimal gimbal angle, thereby improving the drone inspection efficiency and avoiding taking backlit, overexposed and low-quality images.

[0065] The technical solution of the embodiment of the present invention obtains the angle between the sun's light direction vector and the camera's light direction vector, and then determines the optimal inspection time and the optimal gimbal angle of the drone inspection based on the angle between the sun's light direction vector and the camera's light direction vector, and performs inspection and image data collection on the inspection object based on the optimal inspection time and the optimal gimbal angle. By executing this technical solution, the optimal shooting parameters for fully autonomous inspection can be calculated, the inspection efficiency is improved, and the shooting of backlit overexposure and low-quality images can be avoided.

[0066] Embodiment 2

[0067] Figure 2 This is a schematic diagram of the process of determining the shooting parameters of the inspection object of the drone provided in the second embodiment of the present invention. The relationship between this embodiment and the above embodiment is a detailed description of the process of determining the optimal inspection time and the optimal pan / tilt angle. Figure 2 As shown, the method includes:

[0068] S210, obtaining the angle between the sun light direction vector and the camera light direction vector.

[0069] In this scheme, by executing S220-S240, the optimal inspection time of the drone inspection is determined according to the angle between the sun's light direction vector and the camera's light direction vector; and by executing S250-S260, the optimal gimbal angle of the drone inspection is determined according to the angle between the sun's light direction vector and the camera's light direction vector.

[0070] S220: Determine a candidate time range.

[0071] In this solution, the candidate time range includes the inspection start time and the inspection end time, which can be set according to the inspection requirements of the drone. For example, the candidate time range can be , etc., among which, , The inspection start time; , The inspection end time.

[0072] S230. Calculate a candidate backlight degree according to the candidate time range and the angle between the sun light direction vector and the camera light direction vector.

[0073] Among them, the backlight degree can be used to characterize the backlight situation when the camera captures the image of the power tower.

[0074] In this scheme, the angle between the sun light direction vector and the camera light direction vector can be used to calculate the backlight degree corresponding to each time point in the candidate time range, and then the average of the backlight degree corresponding to each time point is calculated to obtain the candidate backlight degree.

[0075] Specifically, set the granularity of the traversal time check and the size of the sliding window. The size of the sliding window is set to find a continuous period of low backlight level, and the specific time can also be adjusted. Traverse the candidate time range of the day and calculate the backlight level at each time point. Use the sliding window to evaluate the average backlight level to obtain the candidate backlight level.

[0076] S240: Determine a minimum backlight level from the candidate backlight levels, and use a candidate time range corresponding to the minimum backlight level as an optimal inspection time for the drone inspection.

[0077] In this embodiment, the lowest backlight level can be found from the candidate backlight levels, and then the candidate time range corresponding to the lowest backlight level is used as the optimal inspection time for the drone inspection.

[0078] Specifically, after using a sliding window to evaluate the average backlight degree and obtaining the candidate backlight degree, track the time period with the lowest backlight degree; update the optimal inspection time; after the traversal is completed, check whether the optimal inspection time is found, and if found, output the optimal inspection time; otherwise, output a message that no suitable optimal inspection time is found.

[0079] S250, obtain the original gimbal angle.

[0080] Among them, the original PTZ angle can be obtained from the database or in real time .

[0081] S260: According to the angle between the sun light direction vector and the camera light direction vector, the original gimbal angle is adjusted to obtain the optimal gimbal angle for the drone inspection.

[0082] In this embodiment, the degree of backlighting corresponding to the original gimbal angle can be calculated based on the angle between the sun's light direction vector and the camera's light direction vector, and then the original gimbal angle can be adjusted according to the degree of backlighting until the optimal gimbal angle for drone inspection is obtained.

[0083] The adjustment of the original gimbal angle includes increasing the original gimbal angle or decreasing the original gimbal angle. One of the original gimbal angles can be selected in sequence for adjustment. For example, the pitch, yaw, and roll of the original gimbal angle can be adjusted in sequence; the yaw, pitch, and roll of the original gimbal angle can also be adjusted in sequence.

[0084] Optionally, the original gimbal angle is adjusted according to the angle between the sun light direction vector and the camera light direction vector to obtain the optimal gimbal angle for drone inspection, including:

[0085] Determine the current backlighting degree based on the angle between the sun light direction vector and the camera light direction vector;

[0086] When the current backlight level is not zero, adjusting the original gimbal angle to obtain a target gimbal angle, and determining a target backlight level corresponding to the target gimbal angle;

[0087] If the target backlight level is less than the current backlight level, the target gimbal angle is used as the optimal gimbal angle for drone inspection.

[0088] The step size can be adjusted by setting , and adjust the original gimbal angle in sequence. Step length It can be increased or decreased according to the needs of optimizing the gimbal angle.

[0089] Specifically, the current backlighting degree is calculated based on the angle between the sun light direction vector and the camera light direction vector ; When the current backlight level is not zero, select an adjustment step , adjust the original gimbal angle to get the target gimbal angle , and calculate the target backlight degree corresponding to the target gimbal angle ;if , then accept the adjustment and update ; Otherwise, adjust in the opposite direction to get the target gimbal angle , and calculate the target backlight degree corresponding to the target gimbal angle ;if , then accept the adjustment and update ; .if , then adjust or , or reduce the step size and repeat the above steps. If you still cannot reduce the step size after a certain number of attempts , then it may reach a local minimum or the adjustment step size is too small. You can consider increasing the step size or adopting other optimization strategies. Output the final gimbal angle until the stop condition is met As the optimal gimbal angle for drone inspection. The stopping conditions include reaching the maximum number of iterations, Small enough or the change is small enough, etc.

[0090] In this embodiment, the current backlight degree is calculated based on the angle between the sun light direction vector and the camera light direction vector. ; When the current backlight level is zero, stop iteration and set the original gimbal angle As the optimal gimbal angle for drone inspection .

[0091] S270: Based on the optimal inspection time and the optimal pan / tilt angle, inspect the object to be inspected and collect image data.

[0092] The technical solution of the embodiment of the present invention determines the candidate time range by obtaining the angle between the sun's light direction vector and the camera's light direction vector, calculates the candidate backlight degree according to the candidate time range and the angle between the sun's light direction vector and the camera's light direction vector, determines the lowest backlight degree from the candidate backlight degrees, and uses the candidate time range corresponding to the lowest backlight degree as the optimal inspection time for the drone inspection. The original gimbal angle is obtained, and the original gimbal angle is adjusted according to the angle between the sun's light direction vector and the camera's light direction vector to obtain the optimal gimbal angle for the drone inspection. Based on the optimal inspection time and the optimal gimbal angle, the inspection object is inspected and image data is collected. By executing this technical solution, the optimal shooting parameters for fully autonomous inspections can be calculated, the inspection efficiency is improved, and the shooting of backlight overexposure and low-quality images can be avoided.

[0093] Embodiment 3

[0094] Figure 3 This is a schematic diagram of the structure of the device for determining the shooting parameters of the inspection object provided by the drone in the third embodiment of the present invention. Figure 3 As shown, the device comprises:

[0095] An angle acquisition module 310, used to acquire the angle between the sun light direction vector and the camera light direction vector;

[0096] Inspection time and gimbal angle determination module 320, used to determine the optimal inspection time and optimal gimbal angle for drone inspection according to the angle between the sun light direction vector and the camera light direction vector;

[0097] The drone inspection object shooting parameter determination module 330 is used to inspect the inspection object and collect image data based on the optimal inspection time and the optimal pan / tilt angle.

[0098] Optionally, the angle acquisition module 310 includes:

[0099] A direction vector acquisition unit, used to acquire the direction vector of the sun light and the direction vector of the camera light;

[0100] The angle obtaining unit is used to perform a dot product operation on the sun light direction vector and the camera light direction vector to obtain the angle between the sun light direction vector and the camera light direction vector.

[0101] Optionally, a direction vector acquisition unit is used to:

[0102] Get the solar altitude angle and solar azimuth angle;

[0103] Based on the solar altitude angle and the solar azimuth angle, a solar ray direction vector is determined.

[0104] Optionally, the direction vector acquisition unit is also used to:

[0105] Get the drone shooting location and the tower location;

[0106] The tower position and the drone shooting position are calculated to obtain the camera light direction vector.

[0107] Optionally, the inspection time and PTZ angle determination module 320 includes:

[0108] A candidate time range determination unit, used to determine a candidate time range;

[0109] A candidate backlight degree calculation unit, used for calculating the candidate backlight degree according to the candidate time range and the angle between the sun light direction vector and the camera light direction vector;

[0110] The optimal inspection time determination unit is used to determine the lowest backlight level from the candidate backlight levels, and use the candidate time range corresponding to the lowest backlight level as the optimal inspection time for the drone inspection.

[0111] Optionally, the inspection time and PTZ angle determination module 320 further includes:

[0112] An original gimbal angle acquisition unit, used to acquire an original gimbal angle;

[0113] The optimal gimbal angle obtaining unit is used to adjust the original gimbal angle according to the angle between the sun light direction vector and the camera light direction vector to obtain the optimal gimbal angle for drone inspection.

[0114] Optionally, the optimal gimbal angle obtaining unit is specifically used for:

[0115] Determine the current backlighting degree based on the angle between the sun light direction vector and the camera light direction vector;

[0116] When the current backlight level is not zero, adjusting the original gimbal angle to obtain a target gimbal angle, and determining a target backlight level corresponding to the target gimbal angle;

[0117] If the target backlight level is less than the current backlight level, the target gimbal angle is used as the optimal gimbal angle for drone inspection.

[0118] The device for determining shooting parameters of an unmanned aerial vehicle inspection object provided in an embodiment of the present invention can execute the method for determining shooting parameters of an unmanned aerial vehicle inspection object provided in any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.

[0119] Embodiment 4

[0120] Figure 4 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0121] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. The input / output (I / O) interface 15 is also connected to the bus 14.

[0122] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0123] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a method for determining the shooting parameters of a drone inspection object.

[0124] In some embodiments, the method for determining the shooting parameters of the drone inspection object can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the method for determining the shooting parameters of the drone inspection object described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the method for determining the shooting parameters of the drone inspection object by any other appropriate means (for example, by means of firmware).

[0125] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0126] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0127] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0128] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0129] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0130] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0131] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0132] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for determining shooting parameters of an unmanned aerial vehicle inspection object, characterized in that: include: Get the angle between the sun light direction vector and the camera light direction vector; Determine the optimal inspection time and optimal gimbal angle of the drone inspection according to the angle between the sun light direction vector and the camera light direction vector; Based on the optimal inspection time and the optimal pan / tilt angle, inspect the object to be inspected and collect image data; The method of determining the optimal inspection time and the optimal gimbal angle of the drone inspection according to the angle between the sun light direction vector and the camera light direction vector includes: Setting a backlight degree discrimination function based on the angle between the sun light direction vector and the camera light direction vector; The optimal inspection time and the optimal gimbal angle of the UAV inspection are determined based on the backlight degree discrimination function.

2. The method according to claim 1, characterized in that Get the angle between the sun light direction vector and the camera light direction vector, including: Get the sun light direction vector and the camera light direction vector; A dot product operation is performed on the sun light direction vector and the camera light direction vector to obtain an angle between the sun light direction vector and the camera light direction vector.

3. The method according to claim 2, characterized in that Get the direction vector of the sun's rays, including: Get the solar altitude angle and solar azimuth angle; Based on the solar altitude angle and the solar azimuth angle, a solar ray direction vector is determined.

4. The method according to claim 2, characterized in that: Get the camera light direction vector, including: Get the drone shooting location and the tower location; The tower position and the drone shooting position are calculated to obtain the camera light direction vector.

5. The method according to claim 1, characterized in that According to the angle between the sun light direction vector and the camera light direction vector, determining the optimal inspection time of the drone inspection includes: Determine candidate timeframes; Calculate the candidate backlight degree according to the candidate time range and the angle between the sun light direction vector and the camera light direction vector; The lowest backlight level is determined from the candidate backlight levels, and the candidate time range corresponding to the lowest backlight level is used as the optimal inspection time for the drone inspection.

6. The method according to claim 1, characterized in that According to the angle between the sun light direction vector and the camera light direction vector, the optimal gimbal angle for the drone inspection is determined, including: Get the original gimbal angle; According to the angle between the sun's ray direction vector and the camera's ray direction vector, the original gimbal angle is adjusted to obtain the optimal gimbal angle for drone inspection.

7. The method according to claim 6, characterized in that According to the angle between the sun light direction vector and the camera light direction vector, the original gimbal angle is adjusted to obtain the optimal gimbal angle for drone inspection, including: Determine the current backlighting degree based on the angle between the sun light direction vector and the camera light direction vector; When the current backlight level is not zero, adjusting the original gimbal angle to obtain a target gimbal angle, and determining a target backlight level corresponding to the target gimbal angle; If the target backlight level is less than the current backlight level, the target gimbal angle is used as the optimal gimbal angle for drone inspection.

8. A device for determining shooting parameters of an unmanned aerial vehicle inspection object, characterized in that: include: An angle acquisition module, used to obtain the angle between the sun light direction vector and the camera light direction vector; An inspection time and gimbal angle determination module is used to determine the optimal inspection time and optimal gimbal angle for drone inspection based on the angle between the sun light direction vector and the camera light direction vector; A module for determining shooting parameters of inspection objects of drones, for inspecting and collecting image data of the inspection objects based on the optimal inspection time and the optimal pan / tilt angle; The inspection time and pan / tilt angle determination module is specifically used to set a backlight degree discrimination function based on the angle between the sun light direction vector and the camera light direction vector; The optimal inspection time and the optimal gimbal angle of the UAV inspection are determined based on the backlight degree discrimination function.

9. An electronic device, characterized in that: The electronic device comprises: At least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for determining shooting parameters of an unmanned aerial vehicle inspection object according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for determining shooting parameters of a drone inspection object according to any one of claims 1 to 7 when executed.