Control method, device and computer readable storage medium of unmanned aerial vehicle
By obtaining the shooting control information of the UAV, automatically determining the route and shooting interval, and ensuring that the starting plane of the overlap rate is the plane where the target object is located, it solves the complexity of the UAV aerial photography method and the accuracy of three-dimensional modeling, and achieves efficient 3D point cloud recovery.
Patent Information
- Application Number
- CN201980030300.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-08-30
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2039-08-30
AI Technical Summary
The existing unmanned aerial vehicle aerial photography method is complex to operate, making it difficult to accurately extract feature points and match points with the same name in subsequent 3D modeling, resulting in incomplete 3D point cloud recovery.
By obtaining shooting control information, including the height of the target object, task height and overlap rate, the target flight route and shooting interval are automatically determined, and shooting is carried out according to this information during the flight to ensure that the starting plane of the overlap rate is the plane where the target object is located. To improve the efficiency of aerial photography and the accuracy of 3D modeling.
It improves the efficiency of aerial photography planning and ensures a high overlap rate of target objects in the captured images, which facilitates the accurate extraction of feature points and matching of points with the same name during subsequent 3D modeling, and complete restoration of the 3D point cloud.
Smart Images

Figure CN112106006B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of control technology, and in particular to a control method, device and computer-readable storage medium for an unmanned aerial vehicle. Background Art
[0002] The principle of 3D modeling based on unmanned aerial vehicles is to obtain images of the target object taken by the unmanned aerial vehicle from multiple perspectives, extract feature points from the captured images, match points of the same name, and then generate a 3D point cloud of the target object. Accurate extraction of feature points and correct matching of points of the same name are the key to correctly recovering the 3D point cloud of the target object.
[0003] At present, the conventional aerial photography method is that the user manually controls the flight of the unmanned aerial vehicle and manually controls the unmanned aerial vehicle to shoot the target object from multiple perspectives during the flight. However, the above aerial photography method is not only complicated to operate, but also difficult to accurately extract feature points and correctly match the same-name points from the images taken by the above aerial photography method in the subsequent three-dimensional modeling. Therefore, how to shoot the target object to ensure accurate extraction of feature points and correct matching of same-name points in the subsequent three-dimensional modeling is a hot topic in current research. Summary of the invention
[0004] The embodiments of the present application disclose a control method, device and computer-readable storage medium for an unmanned aerial vehicle, which can ensure that the target objects in the actually captured images have a high overlap rate, which is conducive to completely restoring the three-dimensional point cloud of the target objects in the subsequent three-dimensional modeling process.
[0005] A first aspect of an embodiment of the present application discloses a control method for an unmanned aerial vehicle, wherein the unmanned aerial vehicle is equipped with a shooting device, and the method comprises:
[0006] Acquire shooting control information, the shooting control information including the height of the shooting target object, the mission height and the overlap rate, the mission height is the distance between the plane where the target flight route is located and the plane where the shooting target object is located, and the starting plane of the overlap rate is the plane where the shooting target object is located;
[0007] Determine the target flight route and shooting interval according to the shooting control information;
[0008] The unmanned aerial vehicle is controlled to fly according to the target flight route, and during the flight, the shooting device is used to shoot the shooting target object according to the shooting interval.
[0009] A second aspect of the present application discloses a control device for an unmanned aerial vehicle, wherein the unmanned aerial vehicle is equipped with a photographing device, and the control device includes: a memory and a processor,
[0010] The memory is used to store program instructions;
[0011] The processor is configured to execute program instructions stored in the memory. When the program instructions are executed, the processor is configured to:
[0012] Acquire shooting control information, the shooting control information including the height of the shooting target object, the mission height and the overlap rate, the mission height is the distance between the plane where the target flight route is located and the plane where the shooting target object is located, and the starting plane of the overlap rate is the plane where the shooting target object is located;
[0013] Determine the target flight route and shooting interval according to the shooting control information;
[0014] The unmanned aerial vehicle is controlled to fly according to the target flight route, and during the flight, the shooting device is used to shoot the shooting target object according to the shooting interval.
[0015] A third aspect of an embodiment of the present application discloses a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.
[0016] In an embodiment of the present application, the target flight route and shooting interval are automatically determined based on shooting control information including the height of the target object, the mission height and the overlap rate, so that the planning efficiency of the aerial photography method can be improved; in addition, the starting plane for calculating the overlap rate is set to the plane where the target object is located, so that the target object in the actual captured image has a high overlap rate, which is beneficial for accurately extracting the feature points of the target object and matching the same-name points in the subsequent three-dimensional modeling, and completely restoring the three-dimensional point cloud of the target object. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0018] Figure 1 is a schematic diagram of the architecture of an image data processing system disclosed in an embodiment of the present application;
[0019] Figure 2 It is a schematic diagram of the corresponding relationship between the overlap rate and the height disclosed in the embodiment of the present application;
[0020] Figure 3 It is a flow chart of a control method of an unmanned aerial vehicle disclosed in an embodiment of the present application;
[0021] Figure 4 is a schematic diagram of a lateral overlap and a heading overlap disclosed in an embodiment of the present application;
[0022] Figure 5 It is a schematic diagram of an epipolar constraint disclosed in an embodiment of the present application;
[0023] Figure 6 is a schematic diagram of a flight route disclosed in an embodiment of the present application;
[0024] Figure 7 is a schematic diagram of capturing an image disclosed in an embodiment of the present application;
[0025] Figure 8 It is a structural schematic diagram of a control device for an unmanned aerial vehicle disclosed in an embodiment of the present application. DETAILED DESCRIPTION
[0026] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0027] See also Figure 1 , Figure 1 A schematic diagram of the architecture of an image data processing system provided in an embodiment of the present application.
[0028] like Figure 1 As shown, the image data processing system includes an unmanned aerial vehicle and a control device of the unmanned aerial vehicle. The unmanned aerial vehicle includes a fuselage 101, a power system 102, a shooting device 103 and a flight controller 104. The power system 102 is installed on the fuselage 101 to provide flight power; specifically, the power system 102 may include one or more of a propeller, a motor, and an electric regulator. The shooting device 103 is a shooting device; the shooting device may be a visible light camera, an infrared camera, a thermal imaging camera, a depth camera, etc. In some embodiments, the shooting device 103 is carried on the fuselage 101 of the unmanned aerial vehicle through a stabilizing gimbal. Specifically, the stabilizing gimbal is installed on the fuselage 101 of the unmanned aerial vehicle, and the shooting device 103 is fixed on the stabilizing gimbal; the stabilizing gimbal can drive the shooting device 103 to rotate around one or more axes of the yaw axis, the roll axis, and the pitch axis, so as to adjust the attitude angle of the shooting device 103 when shooting images. In addition, in some embodiments, the photographing device 103 may also be directly carried on the body 101 of the UAV, and the UAV may adjust the attitude angle of the photographing device 103 when taking images by controlling its own attitude.
[0029] In the process of mapping the survey area, the control device of the unmanned aerial vehicle sends the target flight route and shooting interval of the mapping task to the unmanned aerial vehicle, so that the unmanned aerial vehicle moves along the target flight route and shoots the survey area at a preset interval. The captured images meet the preset overlap rate requirement, that is, the proportion of the overlapping area between adjacent images in the entire image is greater than the overlap rate.
[0030] The images captured by the UAV can be transmitted to the control device of the UAV in real time through a wireless communication link. The control device of the UAV can extract feature points and match the same-name points on the captured images to generate orthophotos or three-dimensional point clouds corresponding to the measurement area. Among them, accurate extraction of feature points and correct matching of same-name points are the key to correctly restore the orthophotos or three-dimensional point clouds corresponding to the measurement area.
[0031] Please refer to Figure 2 , Figure 2 The corresponding relationship between the overlap rate and the height is shown. If the overlap rate is calculated based on the plane where the UAV takes off, the overlap rate of the plane where the target object is located is consistent with the set overlap rate only when the target object is in the plane where the UAV takes off; when the plane where the target object is located is higher than the plane where the UAV takes off, the overlap rate of the plane where the target object is located is lower than the set overlap rate, and the higher the target object is above the UAV take-off point, the lower the overlap rate of the plane where the target object is located is. Figure 1 For example, since the transmission lines are usually tens of meters higher than the take-off point of the UAV, when the overlap rate is calculated based on the plane where the UAV take-off point is located, the actual overlap rate on the plane where the transmission lines are located is much lower than the set overlap rate, resulting in the overlap rate of the transmission lines in the actual captured image being much lower than the set overlap rate. For example, the pole towers of the main grid lines are generally at least 60 meters high. If the existing technology uses the take-off plane as the starting plane for the overlap rate, when the overlap rate is set to 90%, the actual overlap rate on the plane where the power lines are located is much lower than 90%. In addition, the proportion of transmission lines in the entire image is generally small. It is difficult to extract and match the points on the transmission lines as feature points using the existing surveying and mapping shooting methods. Therefore, it is also difficult to restore the depth information of the transmission lines and generate the corresponding three-dimensional point cloud of the transmission lines.
[0032] Based on this, an embodiment of the present application provides a control method for an unmanned aerial vehicle, which is used to control the unmanned aerial vehicle to fly along a specific route, and use a shooting device to shoot at a specific shooting interval during the flight. Specifically, shooting control information including the height of the shooting target object, the mission height, and the overlap rate is obtained, the mission height is the distance between the plane where the target flight route is located and the plane where the shooting target object is located, and the starting plane of the overlap rate is the plane where the shooting target object is located; the target flight route and the shooting interval are determined according to the shooting control information; the unmanned aerial vehicle is controlled to fly along the target flight route, and the shooting device is used to shoot the shooting target object at the shooting interval during the flight.
[0033] By adopting the above method, on the one hand, the route and shooting interval can be automatically set according to the shooting control information, and the unmanned aerial vehicle can be controlled to perform the aerial photography task according to the set route and shooting interval, thereby improving the aerial photography efficiency; on the other hand, it can ensure that the shooting target objects in the images actually shot have a high overlap rate, which is conducive to accurately extracting the feature points of the shooting target objects and matching the same-name points in the subsequent three-dimensional modeling, and can completely restore the depth information of the shooting target objects and the three-dimensional point cloud.
[0034] The control method of an unmanned aerial vehicle provided in the embodiment of the present application can be applied to a flight controller on an unmanned aerial vehicle, a ground control terminal that establishes a communication connection with the unmanned aerial vehicle, and a cloud processor or other device that can be used to control the unmanned aerial vehicle. The following is a detailed description using a ground control terminal that establishes a communication connection with the unmanned aerial vehicle as an example. Figure 3 , Figure 3 A flowchart of a control method for an unmanned aerial vehicle provided in an embodiment of the present application. The control method for an unmanned aerial vehicle described in an embodiment of the present application may include:
[0035] S301. Acquire shooting control information, wherein the shooting control information includes a height of a shooting target object, a mission height, and an overlap rate, wherein the mission height is a distance between a plane where a target flight route is located and a plane where the shooting target object is located, and a starting plane for calculating the overlap rate is a plane where the shooting target object is located.
[0036] In the embodiment of the present application, the ground control terminal obtains the shooting control information input by the user, and the shooting control information includes the height of the shooting target object, the task height and the overlap rate. The overlap rate includes the lateral overlap rate and the heading overlap rate.
[0037] In one embodiment, the height of the shooting target object is a relative height, and the relative height is used to indicate the height of the shooting target object relative to the take-off point of the unmanned aerial vehicle. When the shooting target object is located higher than the take-off point of the unmanned aerial vehicle, the negative value of the height difference between the shooting target object and the take-off point of the unmanned aerial vehicle is used as the relative height of the unmanned aerial vehicle to ensure that the starting plane for calculating the overlap rate is the plane where the shooting target object is located. For example, if the unmanned aerial vehicle takes off at a position 70 meters below the shooting target object, the height of the unmanned aerial vehicle take-off point is -70 meters, and the height of the shooting target object is 0 meters, that is, a height of 70 meters from the take-off point of the unmanned aerial vehicle.
[0038] In one embodiment, the photographing target object is a linear object, and the linear object includes a power transmission line.
[0039] S302: Determine the target flight route and shooting interval according to the shooting control information.
[0040] In the embodiment of the present application, the target flight route includes multiple routes, the lateral overlap rate is the image overlap rate of two adjacent routes perpendicular to the extension direction of the target object in the multiple routes, and the heading overlap rate is the image overlap rate of the route perpendicular to the extension direction of the target object in the multiple routes. Figure 4 , Figure 4 Schematic diagram of lateral overlap and heading overlap, lateral overlap refers to the overlap of the same image in two adjacent images taken on two adjacent routes, and the proportion of the lateral overlap area in the entire image is called the lateral overlap rate; heading overlap refers to the overlap of the same image in two adjacent images taken on the same route, and the proportion of the heading overlap area in the entire image is called the heading overlap rate. In one embodiment, the heading overlap rate is greater than the lateral overlap rate, the heading overlap rate ranges from 90% to 95%, and the lateral overlap rate ranges from 50% to 60%.
[0041] The distance between two adjacent sections of the target flight route that are perpendicular to the extension direction of the target object is determined based on the mission height in the shooting control information and the lateral overlap rate of the plane where the target object is located as the starting plane. The shooting interval is determined based on the mission height in the shooting control information and the heading overlap rate of the plane where the target object is located as the starting plane. The shooting interval includes the shooting time interval and / or the shooting distance interval. The height of the target flight route is determined based on the height of the target object and the mission height. For example, the unmanned aerial vehicle takes off at a position 70 meters below the target object, and the unmanned aerial vehicle needs to be controlled to fly in a plane 20 meters higher than the target object; then the relative height of the target object relative to the take-off point of the unmanned aerial vehicle is 70 meters, the height of the take-off point of the unmanned aerial vehicle is -70 meters, the height of the target object is 0 meters, and the mission height is 20 meters; based on the height of the target object and the mission height, it can be determined that the height of the target flight route is 90 meters from the take-off point of the unmanned aerial vehicle.
[0042] In one embodiment, the shooting control information also includes a target area where the shooting target object is located, and the starting point and the ending point of the target flight route are determined according to the target area, the height of the shooting target object, and the mission height. The starting point and the ending point of the target flight route can be within the target area or on the boundary of the target area.
[0043] S303: Control the unmanned aerial vehicle to fly according to the target flight route, and use a shooting device to shoot the target object according to the shooting interval during the flight.
[0044] In an embodiment of the present application, the ground control terminal sends the target flight route and shooting interval to the unmanned aerial vehicle; after the unmanned aerial vehicle receives the target flight route and shooting interval sent by the ground control terminal, it flies according to the target route, and during the flight, uses its configured shooting device to shoot the target object according to the shooting interval to obtain a shot image.
[0045] In one embodiment, the number of shots taken by the photographing device on the route perpendicular to the extending direction of the photographing target object is greater than or equal to a preset value, so as to ensure that the photographing target object is photographed by multiple images when photographing on the route perpendicular to the extending direction of the photographing target object, which is conducive to accurately extracting the feature points of the photographing target object and correctly matching the same-name points in the subsequent three-dimensional modeling. In a specific implementation, the length of the route perpendicular to the extending direction of the photographing target object can be adjusted to ensure that the number of shots taken by the photographing device on the route perpendicular to the extending direction of the photographing target object is greater than or equal to a preset value. In other implementations, the heading overlap rate in the shooting control information is an interval range, and a suitable heading overlap rate can be selected within the interval range to ensure that the number of shots taken by the photographing device on the route perpendicular to the extending direction of the photographing target object is greater than or equal to a preset value; it is also possible to ensure that the heading overlap rate is within the interval range, and the shooting interval and / or the task height can be appropriately adjusted to ensure that the number of shots taken by the photographing device on the route perpendicular to the extending direction of the photographing target object is greater than or equal to a preset value.
[0046] In one embodiment, the ground control terminal sends the attitude angle of the camera when performing the shooting operation to the unmanned aerial vehicle, so that the camera shoots the target object according to the attitude angle. The camera is installed on the fuselage of the unmanned aerial vehicle through a stabilizing gimbal, and the ground control terminal can send the attitude angle of the stabilizing gimbal to the unmanned aerial vehicle to control the unmanned aerial vehicle to adjust the attitude angle of the stabilizing gimbal, thereby adjusting the attitude angle of the camera. In some embodiments, the camera can perform vertical / tilted shooting of the target object when performing the shooting operation; when the camera shoots vertically, the attitude angle is -90 degrees, and when the camera shoots tilted, the attitude angle ranges from -60 degrees to -40 degrees.
[0047] In one embodiment, the ground control terminal obtains an image captured by a camera of the unmanned aerial vehicle, and generates a three-dimensional point cloud of the target object according to the image. The specific implementation method may include the following steps:
[0048] Identify feature points in an image. Feature points refer to pixels where the grayscale value of an image changes dramatically or pixels with large curvature on the edge of an image (i.e., the intersection of two edges). Feature points can reflect the essential features of an image and can identify the target object in the image. Image matching can be accomplished by matching feature points. Features of an image can be extracted using a preset feature point detection algorithm to obtain a set of feature points. The preset feature point detection algorithm may include, but is not limited to, Harris, Fast (Features from accelerated segment test), DOG (Difference of Gaussian), or SURF (Speeded Up Robust Features) algorithms.
[0049] Determine the points of the same name from the identified feature points. Points of the same name refer to feature points corresponding to the same point in three-dimensional space. The matching of feature points can be completed by calculating feature descriptors, thereby determining the points of the same name. Feature descriptors refer to local descriptions of feature points. Exemplarily, feature descriptors may include DAISY descriptors, scale-invariant feature transform (SIFT) descriptors, SURF descriptors, or ORB descriptors. For example, the feature descriptor is taken as a high-dimensional vector, the distance between the two vectors is calculated, and the matching result between the feature points corresponding to the feature descriptors is obtained based on the distance. The distance may be Euclidean distance or Hamming distance, etc.
[0050] The position information and posture information of the camera when shooting the image are determined based on the determined same-name points. The position information and posture information of the camera when shooting the image can be accurately determined based on the same-name points. The depth map corresponding to the multiple images is obtained based on the determined position information and posture information. The three-dimensional point cloud of the shooting target object is determined based on the depth map.
[0051] In order to better understand the control method of the unmanned aerial vehicle provided in the embodiment of the present application, the following is an explanation using the example of shooting a target object as a power transmission line. In order to ensure that the power transmission line is captured by multiple images, that is, to facilitate accurate extraction of feature points and matching of points of the same name in the subsequent three-dimensional modeling process, the overlap rate can be set in advance, including setting the heading overlap rate and the lateral overlap rate. In order to ensure that the overlap rate of the power transmission line in the actual captured image is consistent with the set overlap rate, the present application adjusts the starting plane of the overlap rate to the plane where the power transmission line is located.
[0052] For example, the user can input shooting control information through the user interface to indicate that the plane where the power line is located is 70 meters from the take-off plane of the UAV, the plane where the target flight route is located is 20 meters from the plane where the power line is located, the heading overlap rate is 90%, and the lateral overlap rate is 60%.
[0053] like Figure 5 As shown in the figure, in the process of finding the same-name points based on binocular stereo matching, if there is no prior constraint, each pixel of the left image needs to be searched in the entire image space of the right image. This brute force search method is not only very inefficient, but also very easy to search for wrong corresponding points due to various factors (such as weak texture, repeated texture, etc.); using kernel line geometry constraints is an effective way to reduce the search range, improve matching efficiency and reduce false matches.
[0054] The epipolar line is the intersection of the epipolar plane and the two images. The epipolar plane is the intersection of the object point (P) and the two camera centers (O l and O r ) in the same plane; while the kernel line constraint describes that the projection image points (p and p') of the object point (P) on the two images must be on the same kernel plane, and it can be deduced that the same name point of each pixel point on the left image on the right image must be on the intersection line (i.e., the kernel line) of the kernel plane where the image point is located and the right image. The kernel line constraint reduces the original two-dimensional search space to a one-dimensional kernel line space, greatly reducing the search range, and is a very effective constraint to improve matching efficiency.
[0055] All pixels on the nuclear line intersecting the same nuclear plane in the left image correspond to the same nuclear line on the right image, forming a corresponding relationship based on the nuclear line. If all the corresponding nuclear line pairs can be found, matching will become more convenient.
[0056] Taking the transmission line as an example, when the core line is parallel to the transmission line, there may be multiple pixels of the transmission line in the core line of the right image corresponding to the pixel of the transmission line on the left image. In this way, the matching along the core line direction is prone to errors, which will increase the probability of mismatching. On the contrary, when the core line is perpendicular to the transmission line, the probability of mismatching is minimal. Therefore, when designing the flight route, it is necessary to ensure as much as possible that the images used for depth map estimation in subsequent 3D modeling are all images taken on the route perpendicular to the extension direction of the transmission line. In this way, the core line can be guaranteed to be perpendicular to the transmission line to reduce the probability of mismatching, improve the accuracy of depth estimation, and thus improve the accuracy of subsequent generation of 3D point clouds.
[0057] In order to improve efficiency when estimating the depth map, several images whose matching degree with the image to be processed is greater than a certain threshold are generally selected for matching. Thus, in the embodiment of the present invention, the heading overlap rate is set to be greater than the lateral overlap rate to ensure that the images selected for depth map estimation are all images taken on the route perpendicular to the extension direction of the transmission line.
[0058] Please also see Figure 6 , Figure 6 The relationship between the target flight route and the transmission line is shown, such as Figure 6 As shown, the area shown in 601 is the target area where the transmission line 602 is located. The transmission line 602 extends horizontally in the target area 601. In some embodiments, the target area can be the edge area around two adjacent power towers connected by the transmission line. 603 is the target flight route, 6031 is the starting point of the target flight route, and 6032 is the ending point of the target flight route. The starting point 6031 and the ending point 6032 are located in the target area 601. In some embodiments, the starting point 6031 and the ending point 6032 can also be located on the boundary of the target area 601.
[0059] The target flight route 603 includes multiple routes, including a route 6033 perpendicular to the extension direction of the transmission line, i.e., the main route in the target flight route, and a route 6034 between two adjacent main routes 6033. The distance between two adjacent main routes 6033 is determined based on the mission altitude in the shooting control information and the lateral overlap rate of the plane where the shooting target object is located as the starting plane; the starting point and the ending point of the target flight route are determined based on the target area, the height of the shooting target object and the mission altitude in the shooting control information; the height of the target flight route is determined based on the height of the shooting target object and the mission altitude in the shooting control information. It should be noted that the route 6034 between two adjacent main routes 6033 can be a straight line track parallel to the extension direction of the transmission line, or a curved track.
[0060] Further, the shooting interval is determined according to the mission height in the shooting control information and the heading overlap rate of the plane where the shooting target object is located as the starting plane. Figure 6 After the target flight route and shooting interval are shown, the unmanned aerial vehicle is controlled to fly according to the target flight route, and during the flight, the transmission line is photographed according to the shooting interval using the configured shooting device. In certain embodiments, the number of shooting times of the shooting device on each route perpendicular to the extension direction of the transmission line is greater than or equal to a preset value (e.g., 5 times) to ensure that the transmission line is captured by multiple images on the route perpendicular to the extension direction of the transmission line, thereby facilitating the accurate extraction of feature points and correct matching of points of the same name during subsequent three-dimensional modeling. In other embodiments, in the image captured by the shooting device on the edge route in the target flight route, the distance between the transmission line and the edge of the image whose extension direction is consistent with the extension direction of the transmission line is greater than the preset distance; the edge route may refer to the edge of the route perpendicular to the extension direction of the transmission line in the target flight route, or may refer to the route between two adjacent sections of the route perpendicular to the extension direction of the transmission line in the target flight route. Please also refer to Figure 7, is a schematic diagram of an image captured on an edge route in the target flight route. It can be seen that the transmission line is more than 1 / 3 on the right side of the image and more than 1 / 3 on the left side of the image.
[0061] By adopting the above-mentioned aerial photography scheme, it can be ensured that the overlap rate of the power transmission lines in the images actually captured is consistent with the set overlap rate, and it can also be ensured that the images selected for depth map estimation in subsequent three-dimensional modeling are all images captured on the route perpendicular to the extension direction of the power transmission lines, which is beneficial for accurately extracting the feature points of the captured target object and matching the same-name points in the subsequent three-dimensional modeling, so as to completely restore the three-dimensional point cloud of the captured target object.
[0062] In an embodiment of the present application, the target flight route and shooting interval are automatically determined based on shooting control information including the height of the target object, the mission height and the overlap rate, so that the planning efficiency of the aerial photography method can be improved; in addition, the starting plane for calculating the overlap rate is set to the plane where the target object is located, so that the target object in the actual captured image has a high overlap rate, which is beneficial for accurately extracting the feature points of the target object and matching the same-name points in the subsequent three-dimensional modeling, and completely restoring the three-dimensional point cloud of the target object.
[0063] See also Figure 8 , Figure 8 A schematic diagram of the structure of a control device for an unmanned aerial vehicle provided in an embodiment of the present application. The control device for an unmanned aerial vehicle described in the embodiment of the present application includes: a processor 801, a communication interface 802, and a memory 803. The processor 801, the communication interface 802, and the memory 803 may be connected via a bus or other means, and the embodiment of the present application takes the connection via a bus as an example.
[0064] The processor 801 may be a central processing unit (CPU), a network processor (NP), or a combination of a CPU and a NP. The processor 801 may also be a multi-core CPU or a core in a multi-core NP for implementing communication identifier binding.
[0065] The processor 801 may be a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.
[0066] The communication interface 802 can be used for the interaction of sending and receiving information or signaling, as well as the reception and transmission of signals. The memory 803 can mainly include a storage program area and a storage data area, wherein the storage program area can store an operating system and a storage program required for at least one function (such as a text storage function, a position storage function, etc.); the storage data area can store data created according to the use of the device (such as image data, text data), etc., and can include application storage programs, etc. In addition, the memory 803 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0067] The memory 803 is also used to store program instructions. The processor 801 is used to execute the program instructions stored in the memory 803. When the program instructions are executed, the processor 801 is used to:
[0068] Acquire shooting control information, the shooting control information including the height of the shooting target object, the mission height and the overlap rate, the mission height is the distance between the plane where the target flight route is located and the plane where the shooting target object is located, and the starting plane of the overlap rate is the plane where the shooting target object is located;
[0069] Determine the target flight route and shooting interval according to the shooting control information;
[0070] The unmanned aerial vehicle is controlled to fly according to the target flight route, and during the flight, the shooting device is used to shoot the shooting target object according to the shooting interval.
[0071] The methods executed by the processor in the embodiments of the present application are described from the perspective of the processor. It is understandable that the processor in the embodiments of the present application needs the cooperation of other hardware structures to execute the above methods. The embodiments of the present application do not describe and limit the specific implementation process in detail.
[0072] In one embodiment, the photographing target object is a linear object, and the linear object includes a power transmission line.
[0073] In one embodiment, the target flight route includes multiple route segments, and the overlap rate includes a lateral overlap rate and a heading overlap rate. The lateral overlap rate is the image overlap rate corresponding to two adjacent route segments in the multiple route segments that are perpendicular to the extension direction of the shooting target object, and the heading overlap rate is the image overlap rate corresponding to the route segment in the multiple route segments that is perpendicular to the extension direction of the shooting target object, and the heading overlap rate is greater than the lateral overlap rate.
[0074] In one embodiment, the distance between two adjacent route segments in the multiple route segments that are perpendicular to the extension direction of the shooting target object is determined based on the task altitude and the lateral overlap rate, and the shooting interval is determined based on the task altitude and the heading overlap rate.
[0075] In one embodiment, the heading overlap ratio ranges from 90% to 95%, and the lateral overlap ratio ranges from 50% to 60%.
[0076] In one embodiment, the number of shots taken by the shooting device on a route perpendicular to an extension direction of the shooting target object is greater than or equal to a preset value.
[0077] In one implementation, the shooting interval includes a shooting time interval and / or a shooting distance interval.
[0078] In one implementation, the height of the target flight route is determined based on the height of the photographed target object and the mission height.
[0079] In one embodiment, the shooting control information also includes a target area where the shooting target object is located, and the starting point and the ending point of the target flight route are determined based on the target area, the height of the shooting target object, and the mission height.
[0080] In one embodiment, the processor 801 controls the unmanned aerial vehicle to fly according to the target flight route, and uses the shooting device to shoot the target object according to the shooting interval during the flight, and is specifically used to: send the target flight route and the shooting interval to the unmanned aerial vehicle through the communication interface 802 to control the unmanned aerial vehicle to fly according to the target route, and use the shooting device to shoot the target object according to the shooting interval during the flight.
[0081] In one embodiment, the processor 801 is further used to: send the attitude angle of the shooting device when performing the shooting operation to the unmanned aerial vehicle through the communication interface, so that the shooting device shoots the shooting target object according to the attitude angle.
[0082] In one implementation, the processor 801 is further configured to: acquire the image captured by the camera through the communication interface 802; and generate a three-dimensional point cloud of the captured target object according to the image.
[0083] In a specific implementation, the processor 801, communication interface 802, and memory 803 described in the embodiment of the present application can execute the implementation method described in a control method of an unmanned aerial vehicle provided in the embodiment of the present application, which will not be repeated here.
[0084] In an embodiment of the present application, the target flight route and shooting interval are automatically determined based on shooting control information including the height of the target object, the mission height and the overlap rate, so that the planning efficiency of the aerial photography method can be improved; in addition, the starting plane for calculating the overlap rate is set to the plane where the target object is located, so that the target object in the actual captured image has a high overlap rate, which is beneficial for accurately extracting the feature points of the target object and matching the same-name points in the subsequent three-dimensional modeling, and completely restoring the three-dimensional point cloud of the target object.
[0085] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the control method of the unmanned aerial vehicle described in the above method embodiment is implemented.
[0086] An embodiment of the present application also provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the control method for the unmanned aerial vehicle described in the above method embodiment.
[0087] It should be noted that, for the above-mentioned various method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.
[0088] A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0089] The above is a detailed introduction to a control method and device for an unmanned aerial vehicle provided in an embodiment of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A method for controlling an unmanned aerial vehicle, characterized in that: The method comprises: Acquire shooting control information, the shooting control information including the height of the shooting target object, the mission height and the overlap rate, the height of the shooting target object is used to indicate the height of the shooting target object relative to the take-off point of the unmanned aerial vehicle, the mission height is the distance between the plane where the target flight route is located and the plane where the shooting target object is located, the starting plane for calculating the overlap rate is the plane where the shooting target object is located, and the plane where the shooting target object is located is higher than the plane where the take-off point of the unmanned aerial vehicle is located; Determining the target flight route and the shooting interval according to the shooting control information, wherein the height of the target flight route is determined according to the height of the shooting target object and the mission height, and the shooting interval is determined according to the mission height and the overlap rate; and The unmanned aerial vehicle is controlled to fly according to the target flight route, and during the flight, a shooting device is used to shoot the shooting target object according to the shooting interval, and the shooting device is configured to be installable on the unmanned aerial vehicle.
2. The method according to claim 1, characterized in that The shooting target object is a linear object.
3. The method according to claim 2, characterized in that The linear object includes a power transmission line.
4. The method according to any one of claims 1 to 3, characterized in that The target flight route includes multiple route segments, and the overlap rate includes a lateral overlap rate and a heading overlap rate. The lateral overlap rate is an image overlap rate corresponding to two adjacent route segments in the multiple route segments that are perpendicular to the extension direction of the shooting target object, and the heading overlap rate is an image overlap rate corresponding to the route segment in the multiple route segments that is perpendicular to the extension direction of the shooting target object, and the heading overlap rate is greater than the lateral overlap rate.
5. The method according to claim 4, characterized in that The distance between two adjacent route segments in the multiple route segments that are perpendicular to the extension direction of the shooting target object is determined based on the mission altitude and the lateral overlap rate, and the shooting interval is determined based on the mission altitude and the heading overlap rate.
6. The method according to claim 4, characterized in that The heading overlap rate ranges from 90% to 95%, and the lateral overlap rate ranges from 50% to 60%.
7. The method according to claim 1, characterized in that The number of shots taken by the shooting device on a route perpendicular to an extending direction of the shooting target object is greater than or equal to a preset value.
8. The method according to claim 1, characterized in that The shooting interval includes a shooting time interval and / or a shooting distance interval.
9. The method according to claim 1, characterized in that: The shooting control information also includes a target area where the shooting target object is located, and the starting point and the ending point of the target flight route are determined according to the target area, the height of the shooting target object, and the mission height.
10. The method according to claim 1, characterized in that The controlling the unmanned aerial vehicle to fly according to the target flight route, and using the shooting device to shoot the target object according to the shooting interval during the flight, includes: The target flight route and the shooting interval are sent to the unmanned aerial vehicle to control the unmanned aerial vehicle to fly according to the target flight route, and the shooting device is used to shoot the shooting target object according to the shooting interval during the flight.
11. The method according to claim 10, characterized in that The method further comprises: The attitude angle of the shooting device when performing the shooting operation is sent to the unmanned aerial vehicle, so that the shooting device shoots the shooting target object according to the attitude angle.
12. The method according to claim 1, characterized in that The method further comprises: Acquiring an image captured by the camera; and A three-dimensional point cloud of the photographed target object is generated according to the image.
13. A control device for an unmanned aerial vehicle, characterized in that: The control device comprises: a memory and a processor, The memory is used to store program instructions; The processor is configured to execute program instructions stored in the memory. When the program instructions are executed, the processor is configured to: Acquire shooting control information, the shooting control information including the height of the shooting target object, the mission height and the overlap rate, the height of the shooting target object is used to indicate the height of the shooting target object relative to the take-off point of the unmanned aerial vehicle, the mission height is the distance between the plane where the target flight route is located and the plane where the shooting target object is located, the starting plane for calculating the overlap rate is the plane where the shooting target object is located, and the plane where the shooting target object is located is higher than the plane where the take-off point of the unmanned aerial vehicle is located; Determining the target flight route and the shooting interval according to the shooting control information, wherein the height of the target flight route is determined according to the height of the shooting target object and the mission height, and the shooting interval is determined according to the mission height and the overlap rate; and The unmanned aerial vehicle is controlled to fly according to the target flight route, and during the flight, a shooting device is used to shoot the shooting target object according to the shooting interval, and the shooting device is configured to be installable on the unmanned aerial vehicle.
14. The control device according to claim 13, characterized in that: The shooting target object is a linear object.
15. The control device according to claim 14, characterized in that: The linear object includes a power transmission line.
16. The control device according to any one of claims 13 to 15, characterized in that: The target flight route includes multiple route segments, and the overlap rate includes a lateral overlap rate and a heading overlap rate. The lateral overlap rate is an image overlap rate corresponding to two adjacent route segments in the multiple route segments that are perpendicular to the extension direction of the shooting target object, and the heading overlap rate is an image overlap rate corresponding to the route segment in the multiple route segments that is perpendicular to the extension direction of the shooting target object, and the heading overlap rate is greater than the lateral overlap rate.
17. The control device according to claim 16, characterized in that: The distance between two adjacent route segments in the multiple route segments that are perpendicular to the extension direction of the shooting target object is determined based on the mission altitude and the lateral overlap rate, and the shooting interval is determined based on the mission altitude and the heading overlap rate.
18. The control device according to claim 16, characterized in that: The heading overlap rate ranges from 90% to 95%, and the lateral overlap rate ranges from 50% to 60%.
19. The control device according to claim 13, characterized in that: The number of shots taken by the shooting device on a route perpendicular to an extending direction of the shooting target object is greater than or equal to a preset value.
20. The control device according to claim 13, characterized in that: The shooting interval includes a shooting time interval and / or a shooting distance interval.
21. The control device according to claim 13, characterized in that: The shooting control information also includes a target area where the shooting target object is located, and the starting point and the ending point of the target flight route are determined according to the target area, the height of the shooting target object, and the mission height.
22. The control device according to claim 13, characterized in that: The control device further includes a communication interface, and the processor controls the unmanned aerial vehicle to fly according to the target flight route, and uses the shooting device to shoot the target object according to the shooting interval during the flight, specifically for: The target flight route and the shooting interval are sent to the unmanned aerial vehicle through the communication interface to control the unmanned aerial vehicle to fly according to the target flight route, and the shooting device is used to shoot the target object according to the shooting interval during the flight.
23. The control device according to claim 22, characterized in that: The processor is further configured to: The attitude angle of the shooting device when performing the shooting operation is sent to the unmanned aerial vehicle through the communication interface, so that the shooting device shoots the shooting target object according to the attitude angle.
24. The control device according to claim 22, characterized in that The processor is further configured to: Acquiring the image captured by the camera through the communication interface; and A three-dimensional point cloud of the photographed target object is generated according to the image.
25. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 12 are implemented.
Citation Information
Patent Citations
Aerial photo shooting method and system in investigation of traffic accident scene by using unmanned aerial vehicle (UVA)
CN106767706A
Real-time three-dimensional modeling method and real-time three-dimensional modeling systems based on the aerial-photographing image data of unmanned aerial vehicle
CN107341851A
Method for determining real overlapping ratio
CN108088422A
Unmanned aerial vehicle aerial photograph flight remote control system based on APP
CN109765927A
Method and device for route planning of unmanned aerial vehicle
CN110057367A
