Unmanned aerial vehicle and method for controlling the unmanned aerial vehicle
First Claim
Patent Images
1. A method for controlling an unmanned aerial vehicle, the method comprising:
- obtaining a digital image captured by an image capturing device of the UAV;
detecting an object in the digital image, and determining a distance between the detected object and the UAV;
obtaining a flight direction of the UAV using an electronic compass chip of the UAV upon the condition that the distance is less than a preset value;
calculating a relative position and a relative angle between the detected object and the UAV in a coordinate system of the digital image, a position of the UAV being determined as an origin of the coordinate system;
wherein the relative position and the relative angle are calculated by creating the coordinate system for the digital image based on the flight direction of the UAV, and determining the relative position between the detected object and the UAV according to the coordinate system; and
obtaining coordinates (x0, y0) of the detected object based on the coordinate system, and calculating the relative angle between the detected object and the UAV using a formula of)“
(x0×
360°
/W1,”
wherein “
x0”
represents an X-axis coordinate of the detected object and “
W1”
represents a width of the digital image;
determining a flight limiting range of the UAV according to the relative position and the relative angle; and
controlling the flight direction of the UAV according to the flight limiting range.
2 Assignments
0 Petitions
Accused Products
Abstract
In a method for controlling an unmanned aerial vehicle (UAV), a digital image is obtained by an image capturing device of the UAV. The method detects an object in the digital image, determines a distance between the detected object and the UAV, and obtains a flight direction of the UAV if the distance is less than a preset value. The method further calculates a relative position and a relative angle between the detected object and the UAV, determines a flight limiting range of the UAV according to the relative position and the relative angle, and controls the flight direction of the UAV according to the flight limiting range.
14 Citations
16 Claims
-
1. A method for controlling an unmanned aerial vehicle, the method comprising:
-
obtaining a digital image captured by an image capturing device of the UAV; detecting an object in the digital image, and determining a distance between the detected object and the UAV; obtaining a flight direction of the UAV using an electronic compass chip of the UAV upon the condition that the distance is less than a preset value; calculating a relative position and a relative angle between the detected object and the UAV in a coordinate system of the digital image, a position of the UAV being determined as an origin of the coordinate system; wherein the relative position and the relative angle are calculated by creating the coordinate system for the digital image based on the flight direction of the UAV, and determining the relative position between the detected object and the UAV according to the coordinate system; and obtaining coordinates (x0, y0) of the detected object based on the coordinate system, and calculating the relative angle between the detected object and the UAV using a formula of)“
(x0×
360°
/W1,”
wherein “
x0”
represents an X-axis coordinate of the detected object and “
W1”
represents a width of the digital image;determining a flight limiting range of the UAV according to the relative position and the relative angle; and controlling the flight direction of the UAV according to the flight limiting range. - View Dependent Claims (2, 3, 4, 5)
-
-
6. An unmanned aerial vehicle (UAV) in communication with a control device, the UAV comprising:
-
an image capturing device and an electronic compass chip; a storage device and at least one processor; and one or more modules that are stored in the storage device and executed by the at least one processor, the one or more modules comprising; an image obtaining module that obtains a digital image captured by the image capturing device; an object detecting module that detects an object in the digital image, and determining a distance between the detected object and the UAV; a direction obtaining module that obtains a flight direction of the UAV using the electronic compass chip upon the condition that the distance is less than a preset value; a direction analyzing module that calculates a relative position and a relative angle between the detected object and the UAV in a coordinate system of the digital image, a position of the UAV being determined as an origin of the coordinate system; wherein the relative position and the relative angle are calculated by the steps of; creating the coordinate system for the digital image based on the flight direction of the UAV, and determining the relative position between the detected object and the UAV according to the coordinate system; obtaining coordinates (x0, y0) of the detected object based on the coordinate system; and calculating the relative angle between the detected object and the UAV using a formula of)“
(x0×
360°
/W1,”
wherein “
x0”
represents an X-axis coordinate of the detected object and “
W1”
represents a width of the digital image;the direction analyzing module that determines a flight limiting range of the UAV according to the relative position and the relative angle; and an UAV control module that controls the flight direction of the UAV according to the flight limiting range. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A non-transitory storage medium having stored thereon instructions that, when executed by a processor of an unmanned aerial vehicle (UAV), causes the processor to perform a method for controlling the UAV, the method comprising:
-
obtaining a digital image captured by an image capturing device of the UAV; detecting an object in the digital image, and determining a distance between the detected object and the UAV; obtaining a flight direction of the UAV using an electronic compass chip of the UAV upon the condition that the distance is less than a preset value; calculating a relative position and a relative angle between the detected object and the UAV in a coordinate system of the digital image, a position of the UAV being determined as an origin of the coordinate system; wherein the relative position and the relative angle are calculated by creating the coordinate system for the digital image based on the flight direction of the UAV, and determining the relative position between the detected object and the UAV according to the coordinate system; and obtaining coordinates (x0, y0) of the detected object based on the coordinate system, and calculating the relative angle between the detected object and the UAV using a formula of)“
(x0×
360°
/W1,”
wherein “
x0”
represents an X-axis coordinate of the detected object and “
W1”
represents a width of the digital image;determining a flight limiting range of the UAV according to the relative position and the relative angle; and controlling the flight direction of the UAV according to the flight limiting range. - View Dependent Claims (12, 13, 14, 15, 16)
-
Specification