The content of the invention
The embodiments of the invention provide a kind of aircraft parameters establishing method and device and computer-readable recording medium, energy
It is enough that according to the movement properties of target object, control parameter is set, realize the dynamic modification of parameter.
The embodiments of the invention provide a kind of aircraft parameters establishing method, including:
Determine and identify target object;
Determine the movement properties of the target object;
The control parameter of aircraft is set according to the movement properties of the target object;Wherein, the control parameter includes
Acquisition parameters and follow at least one of parameter.
Optionally, the movement properties of the target object include sports type and non-athletic, described according to the object
The movement properties of body set the control parameter of aircraft, including:
When the movement properties of the target object are non-athletic, acquisition parameters are set;
When the movement properties of the target object are sports type, acquisition parameters are set and follow parameter.
Optionally, the acquisition parameters include at least one in camera site, style of shooting, shooting angle, head pattern
Individual parameter;
It is described to follow parameter to include follow the mode, the flight parameter of the aircraft, the aircraft and the object
At least one parameter in the distance between body.
Optionally, this method also includes:
The movement rate of the target object is calculated and be shown.
Optionally, after the target object is identified, this method also includes:
The target object is labeled.
Optionally, it is described determine and identify target object before, methods described also includes:
Receive and show image data or video data that aircraft is sent;Wherein, the video data includes multiframe figure
Sheet data.
Optionally, it is described to determine and identify target object, including:
Receive the selection instruction of user's input;
Obtain the positional information that the selection instruction corresponds to the image data or video data;
Target object is determined and identified according to the positional information.
Optionally, the selection instruction includes:The point that the user clicks on corresponds to the image data or video data
Positional information;
Described the step of determining target object according to the positional information, includes:It is determined that using the point of user click in
Object in the predeterminable area of the heart is target object.
Optionally, the selection instruction includes:User institute picture frame corresponds to the image data or the video fluxion
According to positional information;
Described the step of determining target object according to the positional information, includes:Determine the thing in the frame drawn by the user
Body is target object.
Optionally, when the movement properties of the target object are sports type, methods described also includes:
Ask the user whether to follow the target object, when receive user input when following instruction, described in the basis
The movement properties of target object set the control parameter of aircraft to include:
Acquisition parameters are set and follow parameter.
Optionally, when receive user input when abandoning following instruction, it is described according to the movement properties of target object set
The control parameter of aircraft includes:
Acquisition parameters are set.
The embodiment of the present invention proposes a kind of aircraft parameters setting device, including:
Identification module, for determining and identifying target object;
Processing module, for determining the movement properties of the target object;Set according to the movement properties of the target object
Put the control parameter of aircraft;Wherein, the control parameter includes acquisition parameters and follows at least one of parameter.
Optionally, the movement properties of the target object include sports type and non-athletic, and the processing module is specifically used
In:
Determine the movement properties of the target object;
When the movement properties of the target object are non-athletic, acquisition parameters are set;
When the movement properties of the target object are sports type, acquisition parameters are set and follow parameter.
Optionally, the processing module is additionally operable to:
Calculate the movement rate of the target object;
The aircraft parameters setting device also includes:
Display module, for showing the movement rate of the target object.
Optionally, the processing module is additionally operable to:
The target object is labeled.
Optionally, in addition to:
Receiving module, for receiving the image data or video data of aircraft transmission;Wherein, the video data includes
Multiframe image data;
Display module, for showing the image data or video data.
Optionally, the identification module is specifically used for:
Receive the selection instruction of user's input;
Obtain the positional information that the selection instruction corresponds to the image data or video data;
Target object is determined and identified according to the positional information.
Optionally, the identification module is specifically used for:
Receive the selection instruction of user's input;Wherein, the selection instruction includes:The point that the user clicks on is corresponding
The positional information of the image data or video data, obtain the selection instruction and correspond to the image data or video data
Positional information;It is determined that by the user click on point centered on predeterminable area in object be target object.
Optionally, the identification module is specifically used for:
Receive the selection instruction of user's input;Wherein, the selection instruction includes:User institute picture frame corresponds to institute
The positional information of image data or the video stream data is stated, the selection instruction is obtained and corresponds to the image data or video counts
According to positional information;It is target object to determine the object in the frame drawn by the user.
The embodiment of the present invention proposes a kind of terminal, including:Memory and processor;Instruction is stored with memory, when
Instruction is when being executed by processor, the step of realizing any one above-mentioned aircraft parameters establishing method.
The embodiment of the present invention proposes a kind of computer-readable recording medium, is stored thereon with computer program, its feature
It is, the computer program realizes any one above-mentioned aircraft parameters establishing method when being executed by processor the step of.
Compared with correlation technique, the embodiment of the present invention includes:Determine and identify target object;Determine the target object
Movement properties;The control parameter of aircraft is set according to the movement properties of the target object;Wherein, the control parameter includes
Acquisition parameters and follow at least one of parameter.By the embodiment of the present invention, according to the movement properties of identified target object
To set the control parameter of aircraft, the control parameter that aircraft is set according to the movement properties of target object is realized, is realized
The dynamic modification of parameter, so as to improving flight experience.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification
Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by specification, rights
Specifically noted structure is realized and obtained in claim and accompanying drawing.
Embodiment
Embodiments of the invention are described in detail below in conjunction with accompanying drawing.It should be noted that do not conflicting
In the case of, the feature in embodiment and embodiment in the application can be mutually combined.
Can be in the computer system of such as one group computer executable instructions the flow of accompanying drawing illustrates the step of
Perform.Also, although logical order is shown in flow charts, in some cases, can be with suitable different from herein
Sequence performs shown or described step.
Referring to Fig. 1, the embodiment of the present invention proposes a kind of aircraft parameters establishing method, including:
Step 100, determine and identify target object.
In the present embodiment, before target object is determined and identified, the picture that aircraft is sent can be first received and shown
Data or video data;Wherein video data includes multiframe image data;It is then based on image data or video data determines simultaneously
Identify target object.Target object can be steamer, automobile, train, animal, people or plant etc., not limit strictly here.
In the present embodiment, target object can be determined and identified in the following ways:
Receive the selection instruction of user's input;Obtain the positional information that selection instruction corresponds to image data or video data;
Target object is determined and identified according to positional information.
Wherein, user can select to need the target object identified by the way of click or picture frame.
When user is when by the way of clicking on to select the target object for needing to identify, selection instruction includes:User clicks on
The corresponding image data of point or video data positional information;When user selects to need the target that identifies by the way of picture frame
During object, selection instruction includes:Frame drawn by user corresponds to the positional information of image data or video data.
When selection instruction includes the positional information of the corresponding image data of point that user clicks on or video data, it is determined that with
The object in predeterminable area centered on the point that family is clicked on is target object.
For example, centered on predeterminable area can be the point clicked on by user, using preset length as radius or the circle of diameter, or
Person, centered on predeterminable area can be the point clicked on by user, the square using preset length as the length of side or half length of side, or,
Centered on predeterminable area can be the point clicked on by user, using the first preset length as length, the second preset length is wide rectangle,
Certainly, predeterminable area can also be ellipse etc. regular figure or irregular figure.
When instruction includes the positional information of user institute picture frame corresponding diagram sheet data or video data in choosing, user institute is determined
Object in picture frame is target object.For example it is found that the heat drifted about in the air in the video that is shot from aircraft of user
Balloon, want using it as target object, then user can click on or picture frame by way of select the fire balloon as target
Object.It is appreciated that in other embodiments, it can also determine that target object, such as user input language in other way
Sound.
Wherein it is possible to identified using image recognition technology well known to those skilled in the art from image in predeterminable area
Object or identification user drawn by frame in object.
Step 101, the movement properties for determining target object.
In the present embodiment, the movement properties of target object include sports type and non-athletic.
The stationary objects such as non-athletic such as plant, sports type such as animal class, mechanical (such as vehicle, steamer) moving object
Body.Such as identify that target object is bird in step 100, then the step can using determine the movement properties of the target object as
Sports type.
Step 102, the control parameter according to the movement properties of target object setting aircraft.
In this step, control parameter includes acquisition parameters and follows at least one of parameter.
In the present embodiment, when the movement properties of target object are non-athletic, acquisition parameters are set.Specifically, shoot
The setting of parameter can be set in advance, can also be it is determined that after the movement properties of target object, with the side reminded or inquired
User can set in real time for formula.
When the movement properties of target object are sports type, acquisition parameters are set and follow parameter.Likewise, acquisition parameters
With follow parameter to set in advance, can also be it is determined that after the movement properties of target object, with the side reminded or inquired
User can set in real time for formula.
In the present embodiment, acquisition parameters include camera site, style of shooting, shooting angle or head angle, head pattern
In at least one parameter.
Wherein, camera site include it is following any one:The front of target object, the left side side of target object, target
The rear of object, the right side side of target object, the top etc. of target object.
Style of shooting can be first focus on shoot again or directly shooting etc..
Shooting angle can be any angle.Camera shooting angle is head orientation angle, includes course (yaw) axle, horizontal stroke
Roll (roll) axle and pitching (pitch) axle three directions, camera be carry on head, to adjust camera shooting angle
Only need to adjust head angle.
Head is used for the vibration for mitigating or preventing image documentation equipment, is clearly schemed with ensureing that image documentation equipment can shoot stabilization
Picture or video.
Head pattern includes fixing and increasing steady two kinds.Fixed head pattern, what camera will be fixed with relative head
Angle carry is on head;Increase the head pattern of steady formula, camera will be with its phase of the change in location adjust automatically of aircraft
To the angle of head to reach the state of gravity balance.
In the present embodiment, after setting the acquisition parameters of aircraft, shooting instruction is performed according to acquisition parameters.
In the present embodiment, follow parameter include between follow the mode, the flight parameter of aircraft, aircraft and object away from
At least one parameter from.
Wherein, follow the mode includes following object (Follow me), and point of interest is surround (such as the object of identification).
Flight parameter includes:Flying speed and/or flying height, flight duration, low battery are maked a return voyage automatically,
Low battery alarm etc..
In the present embodiment, when the movement properties of target object are sports type, it can also first ask the user whether to follow mesh
Object is marked, if receive user's input follows instruction, the acquisition parameters of aircraft is set and follow parameter;If receive
To user input abandon follow instruction, then setting aircraft acquisition parameters.
Optionally, this method also includes:
The movement rate of target object is calculated and be shown.
It is for instance possible to use in the following manner calculates the movement rate of target object:
Multiple image is selected from video data, the multiple image of selection is subjected to matching splicing;It is spliced from matching
The position that target object occurs each time is identified in image;The position occurred each time according to target object calculates target object
Movement locus length;Target object motion speed be target object movement locus length and target object run duration it
Than.
Wherein, the movement locus length of target object is that the difference per the adjacent position occurred twice is added obtained distance.
The reception time and first time of image where the position that the time that target object moves occurs for last time go out
The difference of the reception time of image where existing position.
Optionally, after target object is identified, this method also includes:
Target object is labeled.
Wherein it is possible to target object is labeled using various ways.For example, using thick with the contour line of target object
The thin different and/or lines different from the outline color of target object enclose object to come, by the color of target object be changed to
Originally different color, certainly, the method for also other label target objects, repeat no more here, these methods are at this
In the protection domain of invention.
For the implementation method of the clearer explanation embodiment of the present invention, carried out in detail below by a specific example
Explanation.
Example
Referring to Fig. 2, the embodiment of the present invention proposes a kind of aircraft parameters establishing method, including:
Step 200, receive and show the video data that aircraft is sent;Wherein, video data includes multiframe image data.
Step 201, the selection instruction for receiving user's input, obtain the positional information that selection instruction corresponds to video data, root
Target object is determined and identified according to positional information.
In the present embodiment, user can select to need the target object identified by the way of click or picture frame.
When user is when by the way of clicking on to select the target object for needing to identify, selection instruction includes:User clicks on
The corresponding image data of point or video data positional information;When user selects to need the target that identifies by the way of picture frame
During object, selection instruction includes:Frame drawn by user corresponds to the positional information of image data or video data.
When selection instruction includes the positional information of the corresponding image data of point that user clicks on or video data, it is determined that with
The object in predeterminable area centered on the point that family is clicked on is target object.
For example, centered on predeterminable area can be the point clicked on by user, using preset length as radius or the circle of diameter, or
Person, centered on predeterminable area can be the point clicked on by user, the square using preset length as the length of side or half length of side, or,
Centered on predeterminable area can be the point clicked on by user, using the first preset length as length, the second preset length is wide rectangle,
Certainly, predeterminable area can also be ellipse etc. regular figure or irregular figure.
When instruction includes the positional information of user institute picture frame corresponding diagram sheet data or video data in choosing, user institute is determined
Object in picture frame is target object.
Wherein it is possible to identified using image recognition technology well known to those skilled in the art from image in predeterminable area
Object.
Wherein it is possible to the frame drawn by user is identified from image using image recognition technology well known to those skilled in the art
In object.
Step 202, target object is labeled.
Wherein it is possible to target object is labeled using various ways.For example, using thick with the contour line of target object
The thin different and/or lines different from the outline color of target object enclose object to come, by the color of target object be changed to
Originally different color, certainly, the method for also other label target objects, repeat no more here, these methods are at this
In the protection domain of invention.
Step 203, the movement properties for determining target object, when the movement properties of target object are non-athletic, continue
Perform step 204 and terminate this flow;When the movement properties of target object are sports type, step 205 is continued executing with.
Step 204, the acquisition parameters that aircraft is set.
Step 205, the movement rate for calculating target object and display.
It is for instance possible to use in the following manner calculates the movement rate of target object:
Multiple image is selected from video data, the multiple image of selection is subjected to matching splicing;It is spliced from matching
The position that target object occurs each time is identified in image;The position occurred each time according to target object calculates target object
Movement locus length;Target object motion speed be target object movement locus length and target object run duration it
Than.
Wherein, the movement locus length of target object is that the difference per the adjacent position occurred twice is added obtained distance.
The reception time and first time of image where the position that the time that target object moves occurs for last time go out
The difference of the reception time of image where existing position.
Step 206, ask the user whether to follow target object, if receive user input follow instruction, perform
Step 207;If receive user's input abandons following instruction, perform step 204 and terminate this flow.
Step 207, set aircraft acquisition parameters and follow parameter.
Referring to Fig. 4, the embodiment of the present invention proposes a kind of aircraft parameters setting device, including:
Identification module 31, for determining and identifying target object;
Processing module 32, for determining the movement properties of target object;Set and flown according to the movement properties of target object
The control parameter of device;Wherein, control parameter includes acquisition parameters and follows at least one of parameter.
Optionally, the movement properties of target object include sports type and non-athletic, and processing module 32 is specifically used for:
Determine the movement properties of target object;
When the movement properties of target object are non-athletic, acquisition parameters are set;
When the movement properties of target object are sports type, acquisition parameters are set and follow parameter.
Optionally, processing module 32 is additionally operable to:
Calculate the movement rate of target object;
Aircraft parameters setting device also includes:
Display module 33, the movement rate for display target object.
Optionally, processing module is additionally operable to:
Target object is labeled.
Optionally, in addition to:
Receiving module 34, for receiving the image data or video data of aircraft transmission;Wherein, video data includes more
Frame image data;
Display module, for showing image data or video data.
Optionally, identification module 31 is specifically used for:
Receive the selection instruction of user's input;
Obtain the positional information that selection instruction corresponds to image data or video data;
Target object is determined and identified according to positional information.
Optionally, identification module 31 is specifically used for:
Receive the selection instruction of user's input;Wherein, selection instruction includes:The point that user clicks on corresponds to image data or regarded
The positional information of frequency evidence, obtain the positional information that selection instruction corresponds to image data or video data;It is determined that clicked on user
Point centered on predeterminable area in object be target object.
Optionally, identification module 31 is specifically used for:
Receive the selection instruction of user's input;Wherein, selection instruction includes:User institute picture frame corresponding diagram sheet data or video
The positional information of flow data, obtain the positional information that selection instruction corresponds to image data or video data;Determine drawn by user
Object in frame is target object.
Optionally, when the movement properties of target object are sports type, processing module 32 is additionally operable to:
Ask the user whether to follow target object, when receive user input when following instruction, set acquisition parameters and with
With parameter.
Optionally, processing module 32 is additionally operable to:
When receiving when abandoning following instruction of user's input, acquisition parameters are set.
Referring to Fig. 3, the embodiment of the present invention proposes a kind of terminal, including:Memory 22 and processor 21, in memory 22
It is stored with instruction.
Wherein, terminal can be the equipment such as mobile terminal, remote control, electronic management system, server, and terminal passes through wireless side
Formula is connected with aircraft, for realizing the parameter setting of aircraft.
Wherein, memory 22 comprises at least a type of readable storage medium storing program for executing, and readable storage medium storing program for executing includes flash memory, hard
Disk, multimedia card, card-type memory are (for example, safe digital card (SD card, Secure Digital Memory Card) or data
Register (DX, Data Register) memory etc.), it is random access storage device (RAM, Random Access Memory), quiet
State random access storage device (SRAM, Static Random Access Memory), read-only storage (ROM, Read Only
Memory), Electrically Erasable Read Only Memory (EEPROM, Electrically Erasable Programmable
Read-Only Memory), programmable read only memory (PROM, Programmable Read-Only Memory), magnetic deposits
Reservoir, disk, CD etc..Processor 21 can be central processing unit (CPU, Central Processing Unit), control
Device, microcontroller, microprocessor or other data processing chips etc..
Wherein, when instruction is executed by processor, following steps are realized:
Receive and show the video stream data from aircraft;Wherein, video stream data includes multiple image;
Object is identified from the video stream data;
The motion state of the object is determined, when the object remains static, taking pictures for the aircraft is set
Parameter is simultaneously sent to the aircraft.
Optionally, it is described instruction by the computing device when also realize following steps:
When the object is kept in motion, following parameter and being sent to the aircraft for the aircraft is set.
Optionally, it is described instruction by the computing device when also realize following steps:
Calculate the movement rate of the object and display.
Optionally, it is described instruction by the computing device when also realize following steps:
The object is labeled.
Optionally, it is described instruction by the computing device when be additionally operable to realize in the following ways from the video fluxion
According to middle identification object:
The selection instruction from user is received, the position letter in the selection instruction is identified from the video stream data
Object corresponding to breath.
As shown in fig.4, it is the program module schematic diagram of the terminal of the embodiment of the present invention.
Including identification module 31, processing module 32.Module be configured to by one or more processors (the present embodiment for
Manage device 21) perform, to complete the aircraft parameters establishing method of the embodiment of the present invention.Program module alleged by the embodiment of the present invention
It is the computer program code segments for completing a specific function.Memory 22 is used to store the data such as the program code of electronic equipment.Processing
Device 21 is used to perform the program code stored in memory 22.
The function of each program module will be described in detail below.
Identification module 31, for determining and identifying target object;
Processing module 32, for determining the movement properties of target object;Set and flown according to the movement properties of target object
The control parameter of device;Wherein, control parameter includes acquisition parameters and follows at least one of parameter.
Optionally, the movement properties of target object include sports type and non-athletic, and processing module 32 is specifically used for:
Determine the movement properties of target object;
When the movement properties of target object are non-athletic, acquisition parameters are set;
When the movement properties of target object are sports type, acquisition parameters are set and follow parameter.
Optionally, processing module 32 is additionally operable to:
Calculate the movement rate of target object;
Aircraft parameters setting device also includes:
Display module 33, the movement rate for display target object.
Optionally, processing module is additionally operable to:
Target object is labeled.
Optionally, in addition to:
Receiving module 34, for receiving the image data or video data of aircraft transmission;Wherein, video data includes more
Frame image data;
Display module, for showing image data or video data.
Optionally, identification module 31 is specifically used for:
Receive the selection instruction of user's input;
Obtain the positional information that selection instruction corresponds to image data or video data;
Target object is determined and identified according to positional information.
Optionally, identification module 31 is specifically used for:
Receive the selection instruction of user's input;Wherein, selection instruction includes:The point that user clicks on corresponds to image data or regarded
The positional information of frequency evidence, obtain the positional information that selection instruction corresponds to image data or video data;It is determined that clicked on user
Point centered on predeterminable area in object be target object.
Optionally, identification module 31 is specifically used for:
Receive the selection instruction of user's input;Wherein, selection instruction includes:User institute picture frame corresponding diagram sheet data or video
The positional information of flow data, obtain the positional information that selection instruction corresponds to image data or video data;Determine drawn by user
Object in frame is target object.
Optionally, when the movement properties of target object are sports type, processing module 32 is additionally operable to:
Ask the user whether to follow target object, when receive user input when following instruction, set acquisition parameters and with
With parameter.
Optionally, processing module 32 is additionally operable to:
When receiving when abandoning following instruction of user's input, acquisition parameters are set.
The embodiment of the present invention also proposes a kind of computer-readable recording medium, is stored thereon with computer program, the meter
Calculation machine program realizes the step of any one above-mentioned aircraft parameters establishing method when being executed by processor.
Although disclosed herein embodiment as above, described content be only readily appreciate the present invention and use
Embodiment, it is not limited to the present invention.Technical staff in any art of the present invention, taken off not departing from the present invention
On the premise of the spirit and scope of dew, any modification and change, but the present invention can be carried out in the form and details of implementation
Scope of patent protection, still should be subject to the scope of the claims as defined in the appended claims.