WO2022094808A1 - Photographing control method and apparatus, unmanned aerial vehicle, device, and readable storage medium - Google Patents

Photographing control method and apparatus, unmanned aerial vehicle, device, and readable storage medium Download PDF

Info

Publication number
WO2022094808A1
WO2022094808A1 PCT/CN2020/126560 CN2020126560W WO2022094808A1 WO 2022094808 A1 WO2022094808 A1 WO 2022094808A1 CN 2020126560 W CN2020126560 W CN 2020126560W WO 2022094808 A1 WO2022094808 A1 WO 2022094808A1
Authority
WO
WIPO (PCT)
Prior art keywords
drone
terminal device
user
video
shooting
Prior art date
Application number
PCT/CN2020/126560
Other languages
French (fr)
Chinese (zh)
Inventor
彭阳
Original Assignee
深圳市大疆创新科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to PCT/CN2020/126560 priority Critical patent/WO2022094808A1/en
Publication of WO2022094808A1 publication Critical patent/WO2022094808A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules

Definitions

  • the present application relates to the technical field of photographing control, and in particular, to a photographing control method, device, drone, device, and readable storage medium.
  • the present application provides a shooting control method, device, unmanned aerial vehicle, device and readable storage medium, aiming at shooting multi-view video, so as to improve the interestingness and shock of the video.
  • an embodiment of the present application provides a shooting control method, which is applied to a control device, the control device is used to control a drone and a terminal device, the drone includes a first shooting device, and the terminal device A second photographing device is included, and the method includes:
  • the first video is obtained by the control device controlling the first shooting device to shoot the user holding the terminal device according to a shooting control instruction triggered by the user;
  • the second video is obtained by the control device controlling the second shooting device to shoot the drone according to the shooting control instruction;
  • the first video and the second video are synthesized to obtain a target video, where the target video includes at least a part of video frames in the first video and at least a part of video frames in the second video.
  • an embodiment of the present application further provides a control device, the control device is used to control a drone and a terminal device, the drone includes a first photographing device, and the terminal device includes a second photographing device , the control device includes a memory and a processor;
  • the memory is used to store computer programs
  • the processor is configured to execute the computer program and implement the following steps when executing the computer program:
  • the first video is obtained by the control device controlling the first shooting device to shoot the user holding the terminal device according to a shooting control instruction triggered by the user;
  • the second video is obtained by the control device controlling the second shooting device to shoot the drone according to the shooting control instruction;
  • the first video and the second video are synthesized to obtain a target video, where the target video includes at least a part of video frames in the first video and at least a part of video frames in the second video.
  • an embodiment of the present application also provides an unmanned aerial vehicle, including:
  • a power system arranged on the body, for providing flight power for the drone;
  • a first photographing device mounted on the body, for photographing a first video
  • a first wireless communication device provided on the body, for communicating with the second wireless communication device in the terminal device;
  • the above control device is used to control the first camera to shoot the first video and/or the drone to fly.
  • an embodiment of the present application further provides a terminal device, including:
  • a display device for displaying images or a human-computer interface
  • a second wireless communication device for communicating with the first wireless communication device in the drone
  • the above control device is used to control the second shooting device to shoot a second video.
  • an embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements the above-mentioned The steps of the shooting control method.
  • Embodiments of the present application provide a photographing control method, device, drone, device, and readable storage medium, by acquiring a first photograph obtained by photographing a user holding a terminal device by a first photographing device in the drone.
  • At least a part of the target video in the video frame, so that the target video obtained by synthesis is a multi-view video, which greatly improves the interestingness and shock of the video.
  • FIG. 1 is a schematic diagram of a scene for implementing a shooting control method provided by an embodiment of the present application
  • FIG. 2 is a schematic flowchart of steps of a shooting control method provided by an embodiment of the present application
  • FIG. 3 is a schematic diagram of a scene in which a first video and a second video are synthesized in an embodiment of the present application;
  • FIG. 4 is a schematic diagram of another scene in which the first video and the second video are synthesized in an embodiment of the present application
  • FIG. 5 is a schematic flowchart of steps of another shooting control method provided by an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a scenario in which a drone is controlled to fly around and follow a user holding a terminal device in an embodiment of the present application;
  • FIG. 7 is a schematic diagram of another scenario in which a drone is controlled to fly around and follow a user holding a terminal device in an embodiment of the present application;
  • FIG. 8 is a schematic block diagram of the structure of a control device provided by an embodiment of the present application.
  • FIG. 9 is a schematic block diagram of the structure of an unmanned aerial vehicle provided by an embodiment of the present application.
  • FIG. 10 is a schematic structural block diagram of a terminal device provided by an embodiment of the present application.
  • the embodiments of the present application provide a shooting control method, device, unmanned aerial vehicle, equipment, and readable storage medium.
  • the first video obtained by shooting and the second video obtained by shooting the drone by the second shooting device in the terminal device, and the first video and the second video are synthesized to obtain at least a part of the first video. frame and the target video of at least a part of the video frames in the second video, so that the target video obtained by synthesis is a multi-view video, which greatly improves the interestingness and shock of the video.
  • FIG. 1 is a schematic diagram of a scene for implementing the shooting control method provided by the embodiment of the present application.
  • the scene includes an unmanned aerial vehicle 100 and a terminal device 200.
  • the unmanned aerial vehicle 100 includes a body 110, a power system 120 arranged on the body 110, a first photographing device 130 arranged on the body 110, and a A first wireless communication device (not shown in FIG. 1 ) in the body 110
  • the terminal device 200 includes a display device 210, a second photographing device (not shown in FIG. 1 ) and a second wireless communication device (not shown in FIG. 1 ) out)
  • the first wireless communication device in the drone 100 can communicate with the second wireless communication device in the terminal device 200 , thereby establishing a communication connection between the drone 100 and the terminal device 200 .
  • the power system 120 is used to provide the flying power for the drone 100, and the power system 120 can make the drone take off from the ground vertically, or land on the ground vertically, without any horizontal movement of the drone (such as no taxiing on the runway is required).
  • the power system 120 may allow the drone to preset positions and/or turn the steering wheel in the air.
  • One or more of the powertrains 120 may be controlled independently of the other powertrains 120 .
  • one or more power systems 120 may be controlled simultaneously.
  • the drone may have multiple horizontally oriented power systems 120 to track the lift and/or push of the target.
  • the horizontally oriented power system 120 may be actuated to provide the drone with the ability to take off vertically, land vertically, and hover.
  • one or more of the horizontally oriented power systems 120 may rotate in a clockwise direction, while one or more of the other horizontally oriented power systems may rotate in a counter-clockwise direction.
  • the rotational rate of each power system 120 in the horizontal direction can be varied independently to achieve lift and/or push operations caused by each power system 120 to adjust the spatial orientation, speed and/or acceleration of the drone (eg, relative to multiple rotation and translation up to three degrees of freedom).
  • the drone 100 may further include a pan/tilt 140 disposed on the body 110, the pan/tilt 140 is used for carrying the first photographing device 130, and the pan/tilt 140 includes three-axis motors, which are a pan-axis motor, a pitch-axis motor, and a tilt-axis motor.
  • the axis motor and the roll axis motor are used to adjust the balance posture of the first photographing device 130 mounted on the gimbal 140, so as to photograph a high-precision and stable image anytime and anywhere.
  • the terminal device can be a headset equipped with a second camera, AR or VR glasses, a smartphone, a tablet computer, a handheld gimbal and other handheld devices, and the terminal device is a handheld device equipped with a second camera.
  • the gimbal and the hand-held gimbal include a handle and a gimbal for carrying the second shooting device. Through the gimbal, the balance posture of the second shooting device mounted on the gimbal can be adjusted, so that high-precision and stable shooting can be obtained anytime, anywhere. screen.
  • the drone may also include a sensing system, which may include one or more sensors to sense the spatial orientation, velocity, and/or acceleration of the drone (eg, relative to up to three Degree of freedom rotation and translation), angular acceleration, attitude, position (absolute position or relative position), etc.
  • the one or more sensors include GPS sensors, motion sensors, inertial sensors, proximity sensors, or image sensors.
  • the sensing system may also be used to collect data on the environment in which the UAV 100 is located, such as climatic conditions, potential obstacles to be approached, locations of geographic features, locations of man-made structures, and the like.
  • the drone 100 may include a tripod, which is a contact piece between the drone 100 and the ground when the drone lands, and the tripod may be the drone 100 in a flying state (for example, the drone 100 is When cruising), it is put away and put down when it is landing; it can also be fixedly installed on the UAV 100, and it is always put down.
  • a tripod which is a contact piece between the drone 100 and the ground when the drone lands
  • the tripod may be the drone 100 in a flying state (for example, the drone 100 is When cruising), it is put away and put down when it is landing; it can also be fixedly installed on the UAV 100, and it is always put down.
  • the drone 100 or the terminal device 200 further includes a control device (not shown in FIG. 1 ).
  • the control device acquires the shooting control instruction triggered by the user
  • the control device controls the unmanned aerial vehicle according to the shooting control instruction.
  • the first shooting device 130 in the drone 100 shoots the user holding the terminal device 200 to obtain a first video
  • the second shooting device in the terminal device 200 controls the drone 100 according to the shooting control instruction
  • the second video is obtained, and then the first video and the second video are synthesized to obtain a target video including at least a part of video frames in the first video and at least a part of video frames in the second video.
  • the control device acquires a user-triggered shooting control instruction sent by the terminal device 200, and controls the first shooting device 130 in the drone 100 according to the shooting control instruction.
  • the control device controls the terminal device 200 to send the shooting control command to the drone 100 when acquiring the shooting control command triggered by the user
  • the drone 100 controls the first shooting device to shoot the user holding the terminal device 200 according to the shooting control instruction to obtain the first video, and simultaneously controls the second shooting device to shoot the drone 100 to obtain the second video;
  • the first video sent by the drone 100 is acquired, and the first video and the second video are synthesized to obtain a target video including at least a part of video frames in the first video and at least a part of video frames in the second video.
  • the central control device is communicatively connected to the terminal device 200, and the central control device is also communicatively connected to the drone 100.
  • the terminal device 200 obtains the shooting control instruction triggered by the user, the terminal device 200 sends the drone to the drone.
  • the terminal device 200 controls the second shooting device to shoot the drone according to the shooting control command, obtains a second video, and sends the second video to the central control device;
  • the drone 100 is receiving
  • the shooting control instruction arrives, according to the shooting control instruction, the first shooting device 130 is controlled to shoot the user of the handheld terminal device 200 to obtain the first video, and the first video is sent to the central control device;
  • the first video sent by the terminal device 100 and the second video sent by the terminal device 200 are combined, and the first video and the second video are synthesized to obtain at least a part of the video frames in the first video and at least a part of the video frames in the second video. target video.
  • the shooting control method provided by the embodiments of the present application will be described in detail with reference to the scene in FIG. 1 .
  • the scene in FIG. 1 is only used to explain the shooting control method provided by the embodiment of the present application, but does not constitute a limitation on the application scene of the shooting control method provided by the embodiment of the present application.
  • FIG. 2 is a schematic flowchart of steps of a shooting control method provided by an embodiment of the present application.
  • the photographing control method can be applied to a control device, and the control device is used to control a drone and a terminal device, the drone includes a first photographing device, and the terminal device includes a second photographing device.
  • the photographing control method includes steps S101 to S103.
  • Step S101 acquiring a first video, the first video is obtained by the control device controlling the first shooting device to shoot the user holding the terminal device according to a shooting control instruction triggered by the user;
  • Step S102 acquiring a second video, where the second video is obtained by the control device controlling the second shooting device to shoot the drone according to the shooting control instruction;
  • Step S103 Synthesize the first video and the second video to obtain a target video, where the target video includes at least a part of video frames in the first video and at least a part of video frames in the second video.
  • the control device may be deployed in the drone, may also be deployed in the terminal device, or may be deployed in the central control device that is communicatively connected with the terminal device and the drone, which is not specifically limited in this embodiment of the present application.
  • the first video may be the current video obtained by the control device controlling the first shooting device to shoot the user holding the terminal device in real time according to the shooting control instruction triggered by the user, or it may be the current video that previously controlled the first shooting device according to the shooting control instruction triggered by the user.
  • a historical video obtained by a shooting device shooting a user holding a terminal device.
  • the second video can be obtained by the control device controlling the second shooting device to shoot the drone in real time according to the shooting control instruction triggered by the user.
  • the current video may also be a historical video previously obtained by controlling the second photographing device to photograph the drone according to the photographing control instruction triggered by the user.
  • the start and end shooting moments of the first video and the second video are the same, which can ensure the time synchronization of the first video and the second video, and facilitate subsequent synthesis of the first video and the second video.
  • the user holding the terminal equipment in the process of photographing the drone and the user holding the terminal equipment, is in the shooting area of the first shooting device of the drone, and the drone is in the second shooting area of the terminal equipment.
  • each video frame in the first video shot by the first shooting device includes the user holding the terminal device, and it can also be ensured that each video in the second video shot by the second shooting device can be guaranteed. All frames include drones, which is convenient for subsequent synthesis to obtain multi-view target videos.
  • the first video includes a plurality of first video frames, each of the first video frames includes a user holding a terminal device, and the user holding the terminal device in the first video frame is located in the first video frame.
  • the second video includes a plurality of second video frames, and each second video frame includes a drone.
  • the preset position may be the center position of the first video frame, or may be the remaining positions of the first video frame, which is not specifically limited in this embodiment of the present application.
  • the target video includes a plurality of first video frame groups and a plurality of second video frame groups, the first video frame group in the target video is adjacent to the second video frame group, and the first video frame group includes a or more first video frames, and the second video frame group includes one or more second video frames.
  • extracting a preset number of first video frames from the first video randomly inserting each first video frame into the second video to obtain the target video; or extracting a preset number of video frames from the second video.
  • Second video frame randomly insert each second video frame into the first video to obtain the target video.
  • the first video frame in the target video is adjacent to the second video frame, and the preset number may be determined based on the total number of video frames in the first video, which is not specifically limited in this embodiment of the present application.
  • the first video 11 includes 10 first video frames
  • the second video 12 includes 10 second video frames
  • 00:01-00:02, 00:00 are extracted from the first video 11 .
  • the first video frames corresponding to 00:04, 00:05-00:06, 00:07-00:08, and 00:09-00:10 are inserted into the second video 12 at 00:01 and 00:03 respectively.
  • the target video 13 includes 15 video frames
  • the video duration is 15 seconds.
  • a preset number of first video frames are extracted from the first video, and according to the shooting moment of each first video frame, a matching second video frame is extracted from the second video frame to obtain a preset number of video frames.
  • the second video frame wherein the matching first video frame and the second video frame have the same shooting time; according to the shooting time of each second video frame, insert each second video frame into the extracted first video frame In the first video, the target video is obtained, or, according to the shooting moment of each first video frame, each first video frame is inserted into the second video after the second video frame is extracted.
  • 00:01-00:02, 00:03-00:04, 00:05-00:06, 00:07-00:08, and 00:09 are extracted from the first video 21 - the first video frame corresponding to 00:10, and extract 00:01-00:02, 00:03-00:04, 00:05-00:06, 00:07-00:08 and For the second video frame corresponding to 00:09-00:10, obtain the to-be-inserted video 22 after extracting the second video frame, and then set the video time as 00:01-00:02, 00:03-00:04, 00: The first video frames of 05-00:06, 00:07-00:08 and 00:09-00:10 are inserted into the video to be inserted 22 to obtain the target video 23 .
  • the first video, the second video, and the third video may also be acquired, and the viewing angles for shooting the first video, the second video, and the third video are different; Synthesize to obtain a target video, where the target video includes part or all of the video frames of the first video, part or all of the video frames of the second video, and part or all of the video frames of the third video. It can be understood that more videos with different viewing angles can also be obtained, and more videos with different viewing angles can be synthesized to obtain videos with multiple viewing angles.
  • the first video is obtained by the control device controlling the first shooting device in the first drone to shoot the user holding the terminal device according to the shooting control instruction triggered by the user
  • the second video is obtained by the control device according to the shooting control instruction
  • the third video is obtained by controlling the second shooting device in the terminal device to shoot the drone
  • the third video is obtained by the control device controlling the third shooting device in the second drone according to the shooting control instruction triggered by the user, to hold the terminal device.
  • Obtained by the user shooting, and the user holding the terminal device is located in the shooting area of the first shooting device and the third shooting device, and the first drone and/or the second drone is located in the shooting area of the second shooting device .
  • the terminal device is controlled to output shooting prompt information, wherein the shooting prompt information is used to prompt the user to shoot a video, and the shooting prompt information is also used to prompt the user that the drone is already in the shooting area of the second shooting device, And the user holding the terminal device is also in the shooting area of the first shooting device; the shooting control instruction triggered by the user is obtained, and according to the shooting control instruction, the first shooting device is controlled to shoot the user holding the terminal device, and the first shooting control instruction is obtained.
  • the second shooting device is controlled to shoot the drone to obtain a second video; the first video and the second video are synthesized to obtain a target video, wherein the target video includes the first video at least a portion of the video frames in the second video and at least a portion of the video frames in the second video.
  • the user's drone is already in the shooting area of the second shooting device, and the user holding the terminal device is also in the shooting area of the first shooting device, the user is prompted to shoot video, which facilitates the user to control the first shooting device and The second shooting device shoots the video synchronously to ensure that the time of the captured video is strictly synchronized.
  • the terminal device before the terminal device is controlled to output the shooting prompt information, the terminal device is controlled to display a shooting control page, wherein the shooting control page includes a viewing angle switching icon and the first image collected by the first shooting device; The user's touch operation in the first image takes the user in the first image as the first photographing subject of the first photographing device; in response to the user's triggering operation on the viewing angle switching icon, the photographing of the first image in the control page is performed.
  • the terminal device is controlled to output shooting prompt information to remind the user that the drone is in the Within the shooting area of the second shooting device, and the user holding the terminal device is also within the shooting area of the first shooting device.
  • the terminal device when there is no user holding the terminal device in the first image, the terminal device is controlled to output first prompt information, and the first prompt information is used to prompt the user to adjust the first shooting area of the first shooting device; according to The first posture adjustment instruction triggered by the user adjusts the posture of the first photographing device, and the first photographing area and the displayed first image change as the posture of the first photographing device changes.
  • the posture of the first photographing device may be adjusted by adjusting the posture of the drone, or the posture of the first photographing device may be adjusted by adjusting the posture of the pan/tilt on which the first photographing device is mounted.
  • the manner of controlling the terminal device to output the first prompt information may be: acquiring first orientation information of the drone relative to the terminal device; and controlling the terminal device to output the first prompt information according to the first orientation information.
  • the first prompt information includes first orientation information of the drone relative to the terminal device.
  • the method of acquiring the first position information of the drone relative to the terminal device may be: acquiring the first position information of the drone and the second position information of the terminal device; according to the first position information and the second position information position information, and determine the first orientation information of the drone relative to the terminal device. Or obtain the first position information of the drone, the second position information of the terminal device and the direction information output by the compass sensor of the terminal device; according to the first position information, the second position information and the direction information, determine the relative position of the drone to the terminal The first orientation information of the device.
  • second prompt information is output, wherein the second prompt information is used to prompt the user to stop adjusting the first shooting area, and is also used to prompt the user to stop adjusting the first shooting area.
  • the user holding the terminal device is located within the shooting area of the first shooting device.
  • the terminal device when there is no drone in the second image, the terminal device is controlled to output third prompt information, wherein the third prompt information is used to prompt the user to adjust the second shooting area of the second shooting device; according to the user
  • the triggered second posture adjustment instruction adjusts the posture of the second photographing device, wherein the second photographing area and the displayed second image change as the posture of the second photographing device changes.
  • controlling the terminal device to output the third prompt information includes: acquiring second orientation information of the terminal device relative to the drone; and controlling the terminal device to output the third prompt information according to the second orientation information.
  • the second prompt information includes second orientation information of the terminal device relative to the drone.
  • the manner of acquiring the second orientation information of the terminal device relative to the drone may be: acquiring the first location information of the drone and the second location information of the terminal device; Position information, to determine the second orientation information of the terminal device relative to the drone. Or obtain the first location information of the drone, the second location information of the terminal device, and the direction information output by the compass sensor of the terminal device; The second orientation information of the machine.
  • fourth prompt information is output, wherein the fourth prompt information is used to prompt the user to stop adjusting the second shooting area, and is also used to prompt the user that no one is there.
  • the camera is located in the shooting area of the second shooting device.
  • the shooting control page also displays a flight shooting mode option of the drone, the user can select the flight shooting mode of the drone through the flight shooting mode option, and the flight shooting mode of the drone includes a return shooting mode. , away from shooting mode, normal follow mode and surround follow mode, when the first shooting device is in the return shooting mode, the user is prompted to maintain the attitude of the second shooting device unchanged, and the control device can control the drone from the set position to the holding position.
  • the position of the user with the terminal equipment is to fly close to the user holding the terminal equipment, and hover when the height of the drone is lower than the set height; when the first shooting device is in the remote shooting mode, the user is prompted Keeping the attitude of the second shooting device unchanged, the control device can control the drone to fly from the position of the user holding the terminal device to the set position; when the drone is in the normal follow mode, the control device can The movement speed and/or movement trajectory of the user of the terminal device follows the user holding the terminal device; when the drone is in the follow-around mode, the control device can control the drone to surround the drone according to the rotation speed of the user holding the terminal device. Fly with the user holding the terminal device.
  • the shooting control method provided by the above-mentioned embodiment, by acquiring the first video obtained by the first shooting device in the drone shooting the user holding the terminal device, and the second shooting device in the terminal device shooting the drone. Shooting the obtained second video, and synthesizing the first video and the second video to obtain a target video comprising at least a part of video frames in the first video and at least a part of video frames in the second video, so that the target video obtained by synthesis For multi-view video, it greatly improves the fun and shock of the video.
  • FIG. 5 is a schematic flowchart of steps of another shooting control method provided by an embodiment of the present application.
  • the shooting control method includes steps S201 to S202.
  • S202 Control the drone to fly according to the flight trajectory, so that the drone is far away from the user holding the terminal device or close to the user holding the terminal device.
  • the mode identifier in the photographing control instruction is acquired, and the mode identifier is the first mode identifier corresponding to the return photographing mode or the first mode identifier corresponding to the remote photographing mode.
  • the control device obtains the flight trajectory in the shooting control command, and controls the drone to fly according to the flight trajectory, so that the drone is far away from the user holding the terminal device or close to the user holding the terminal device, so that the The first photographing device can photograph a video with a viewing angle far away from the user or close to the user.
  • the flight trajectory includes any one of the first flight trajectory and the second flight trajectory, so the drone can be controlled to fly according to the first flight trajectory, so that the drone is far away from the user holding the terminal device;
  • the man-machine flies according to the second flight trajectory, so that the drone is close to the user holding the terminal device.
  • the mode identification in the shooting control instruction is used to indicate the flight shooting mode of the drone, and the mode identifications of different flight shooting modes are different.
  • the mode identification includes a first mode identification, a second mode identification, a third mode identification and The fourth mode identification, and the first mode identification corresponds to the return shooting mode, the second mode identification corresponds to the remote shooting mode, the third mode identification corresponds to the normal follow mode, and the fourth mode identification corresponds to the surround follow mode.
  • the first flight trajectory includes a first starting waypoint and a first ending waypoint.
  • the hovering height of the drone is within a preset height range, and the drone is connected to the holding terminal.
  • the horizontal distance between users of the device is within the preset distance range, so that the drone and the user holding the terminal device maintain a certain range to ensure the flight safety of the drone.
  • the second flight trajectory includes the second starting waypoint and the second ending waypoint. When the drone is at the second ending waypoint, the hovering height of the drone is within the preset height range, and the drone is connected to the terminal device held by the drone.
  • the horizontal distance between the users of the device is within the preset distance range, so that the drone and the user holding the terminal device maintain a certain range to ensure the flight safety of the drone.
  • the preset height range and the preset distance range may be set based on actual conditions, which are not specifically limited in this embodiment of the present application.
  • the preset height range is 2 meters to 3 meters
  • the preset distance range is 1 meter to 2 meters. .
  • the drone in the process of controlling the first photographing apparatus to photograph the user holding the terminal device, the drone is controlled to follow the user holding the terminal device to fly. Further, in the process of controlling the first shooting device to shoot the user holding the terminal device, the mode identification in the shooting control instruction is obtained, and the mode identification is the third mode identification corresponding to the ordinary following mode or the surround following mode. When the corresponding fourth mode is identified, the drone is controlled to follow the user holding the terminal device to fly. By controlling the drone to follow the user holding the terminal device to fly, the first photographing device can shoot a video with a viewing angle of following the user holding the terminal device.
  • the method of controlling the drone to follow the user holding the terminal device to fly may be: acquiring the current image collected by the first photographing device; controlling the drone to follow the user holding the terminal device to fly according to the current image.
  • the method of controlling the drone to follow the user holding the terminal device according to the current image collected by the first photographing device may be: inputting the current image collected by the first photographing device into the preset target detection model, so as to detect the first A user in a current image collected by a photographing device performs target detection, and obtains target detection information of the user, wherein the target detection information includes the size information and position information of the user in the world coordinate system and the relative drone of the user. according to the target detection information and the preset target tracking algorithm, predict the target position information of the user holding the terminal device at the next moment; according to the target position information and the current position information of the UAV, control the UAV to follow The user holding the terminal device flies.
  • the size information of the user holding the terminal device in the world coordinate system includes the length information, width information and/or height information of the user holding the terminal device
  • the angle information of the user holding the terminal device relative to the drone includes: The yaw angle, pitch angle and roll angle of the user holding the terminal device relative to the drone.
  • the preset target detection model includes a 2D target detection model or a 3D target detection model.
  • the 3D target detection model is the pre-trained first neural network.
  • the 2D target detection model is a pre-trained second neural network model.
  • the first neural network model is different from the second neural network model.
  • the first neural network model includes convolutional neural network models CNN, RCNN, Fast RCNN and Faster RCNN.
  • Any one of the second neural network model includes any one of the convolutional neural network model CNN, RCNN, Fast RCNN and Faster RCNN.
  • the method of training the first neural network model to obtain the 3D target detection model may be: acquiring first training sample data, wherein the first training sample data includes a plurality of first images and each first image The first target detection information of the target to be tracked in ; the first neural network model is iteratively trained according to the first training sample data, until the iteratively trained first neural network model converges, and a 3D target detection model is obtained.
  • the detection information and corresponding images are used to train the first neural network model, which can solve the problem that the existing 3D target detection algorithm cannot be reused on the UAV, so that the UAV can detect the target to be tracked based on the 3D target detection model. , which is convenient for subsequent and accurate control of the drone to follow the user holding the terminal device to fly.
  • the method of training the second neural network model to obtain the 2D target detection model may be: acquiring second training sample data, wherein the second training sample data includes a plurality of second images and each The second target detection information of the target to be tracked in the two images; the second neural network model is iteratively trained according to the second training sample data, until the iteratively trained second neural network model converges, and a 2D target detection model is obtained.
  • a 2D target detection model can be obtained, so that the UAV can Target detection can be performed on the target to be tracked based on the 2D target detection model, which is convenient for subsequent and accurate control of the drone to follow the user holding the terminal device to fly.
  • the preset target tracking algorithm includes any one of a mean shift algorithm, a Kalman filter algorithm, a particle filter algorithm, and a moving target modeling algorithm. In some other embodiments, other target tracking algorithms may also be used, which are not limited herein.
  • the method of controlling the drone to follow the user holding the terminal device to fly may be: obtaining the target rotation speed of the user holding the terminal device; according to the target rotation speed, controlling the drone to follow the terminal device around the drone of users flying.
  • the user holding the terminal device is always in the shooting area of the first shooting device, and the drone is always in the shooting area of the second shooting device .
  • the drone is controlled to fly around and follow the user holding the terminal device, so that the first shooting device can shoot a more spectacular video.
  • the user 31 holding the terminal device rotates on the spot according to the rotation track 32, and the rotation direction is counterclockwise, and the shooting area of the second shooting device on the terminal device is the line 33 and the line 32.
  • the drone 35 is located in the area between the line 33 and the line 34.
  • the drone 35 flies around and follows the user holding the terminal device 31 according to the follow-around track 37, and the surrounding direction is also counterclockwise.
  • the photographing area of the first photographing device on the drone 35 is the area between the lines 37 and 38
  • the user 31 holding the terminal device is located in the area between the lines 37 and 38 .
  • the method of controlling the drone to fly around and follow the user holding the terminal device may be: acquiring the starting waypoint of the surround in the shooting control instruction, and controlling the drone to fly towards the surround. Flying at the starting point; after the drone reaches the starting waypoint and flying around the starting point, according to the target rotation speed of the user holding the terminal device, the drone is controlled to start from the starting point of User flies.
  • the encircling starting waypoint in the shooting control instruction may be input by the user through the shooting control page of the terminal device.
  • the terminal device includes an inertial measurement unit and a compass sensor
  • the method of acquiring the target rotation speed of the user holding the terminal device may be: acquiring the first sensing data collected by the inertial measurement unit, 1. sensing data, to determine the target rotation speed of the user holding the terminal device; or, to obtain the first sensing data collected by the inertial measurement unit and the second sensing data collected by the compass sensor; according to the first sensing data data and the second sensory data to determine the target rotational speed of the user holding the terminal device.
  • the target rotation speed of the user holding the terminal device can be accurately determined by the inertial measurement unit, so that the drone can fly around and follow the user accurately according to the target rotation speed.
  • the method of acquiring the target rotation speed of the user holding the terminal device may be: acquiring images collected by the first photographing device at different times, and determining that the identification target set on the terminal device is in each image. According to the pixel coordinates of the identification target in each image, the target rotation speed of the user holding the terminal device is determined.
  • the identification target includes an anti-reflection film set on the terminal device, and the anti-reflection film is more easily recognized by the first photographing device.
  • the rotation speed of the marking target set on the terminal equipment can be determined through the images collected by the first photographing device at different times. Since the marking target is set on the terminal equipment, the rotation speed of the marking target can be determined as holding the terminal equipment. The user's target rotation speed.
  • the terminal device includes an inertial measurement unit and a compass sensor
  • the method of acquiring the target rotation speed of the user holding the terminal device may be: acquiring the first sensor data collected by the inertial measurement unit and setting it on the terminal device.
  • the target rotation speed of the user holding the terminal device is determined according to the first sensing data and the rotation speed of the identified target.
  • the method of determining the target rotation speed of the user holding the terminal device may be: according to the first sensing data, determining the rotation speed of the user holding the terminal device.
  • the first rotation speed, and according to the first rotation speed, the first preset weight coefficient corresponding to the first rotation speed, the rotation speed of the identification target, and the second preset weight coefficient corresponding to the rotation speed of the identification target determine the holding terminal device The user's target rotation speed.
  • the first preset weight coefficient and the second preset weight coefficient may be set based on actual conditions, which are not specifically limited in this embodiment of the present application. For example, the first preset weight coefficient is 0.7, and the second preset weight coefficient is 0.7. is 0.3.
  • the target rotation speed may be w 1 *k 1 +w 2 *k 2 .
  • the terminal device includes an inertial measurement unit and a compass sensor
  • the method of acquiring the target rotation speed of the user holding the terminal device may be: acquiring the first sensing data collected by the inertial measurement unit, the The second sensory data and the rotation speed of the identification target set on the terminal device; according to the first sensory data, the second sensory data and the rotation speed of the identification target, determine the target rotation speed of the user holding the terminal device .
  • the method of determining the target rotation speed of the user holding the terminal device may be: according to the first sensing data and the The second sensing data determines the second rotation speed of the user holding the terminal device; according to the second rotation speed, the third preset weight coefficient corresponding to the second rotation speed, the rotation speed of the identification target, and the rotation speed of the identification target corresponding to The second preset weight coefficient determines the target rotation speed of the user holding the terminal device.
  • the target rotation speed may be w 3 *k 3 +w 2 *k 2 .
  • the method of controlling the drone to fly around and follow the user holding the terminal device may be: obtaining the surrounding flight angle of the drone; controlling the drone to follow and hold the drone according to the target rotation speed
  • the user of the terminal device flies until the angle at which the drone flies around the user reaches a circling flight angle.
  • the surrounding flight angle can be set by the user through the shooting control page of the terminal device, or can be extracted and preset, which is not specifically limited in this embodiment of the present application.
  • the surrounding flight angle includes 90°, 120°, 180°, 240°, 270°, 300°, 360°, etc.
  • the throwing direction of the drone is determined; the drone is controlled along the throwing direction. flight.
  • the method of determining the flying direction of the UAV may be as follows: if the flying control command sent by the terminal device is detected, the flying speed of the UAV at the current position is determined, and the direction of the horizontal component of the flying speed is determined. , and the direction of the horizontal component of the flight speed is determined as the flying direction of the UAV.
  • the terminal device includes a flight trigger control key, and when a user triggering operation on the flight trigger control key is detected, a flight control instruction is generated, and the flight trigger control key can be a physical button or a virtual button. This application The embodiment does not specifically limit this. By controlling the drone to fly along the throwing direction, the first photographing device can shoot a video with the throwing effect.
  • the user 41 holding the terminal device rotates on the spot according to the rotation trajectory 42 , and the rotation direction is counterclockwise, and the drone starts around the starting waypoint 43
  • the drone starts around the starting waypoint 43
  • the drone flies around to the waypoint 44.
  • there is no The man-machine flies along the direction of the throwing trajectory 45 from the waypoint 44 , and hovers when the drone reaches the waypoint 46 .
  • the manner of controlling the drone to fly along the throwing direction may be: controlling the drone to fly along the throwing direction until the distance of the drone flying along the throwing direction reaches a preset distance; or Control the drone to fly along the throwing direction until the flying distance of the drone along the throwing direction reaches the throwing distance in the throwing control command; or, control the drone to decelerate and fly along the throwing direction until The horizontal flight speed of the drone becomes zero.
  • the posture of the first photographing device is adjusted so that the user holding the terminal device is always within the photographing area of the first photographing device.
  • the posture of the first photographing device is adjusted so that the holding terminal in the image collected by the first photographing device after the posture is adjusted.
  • the user of the device is in a preset position in this image.
  • the preset position may be the central position of the image, or may be other positions in the image, which is not specifically limited in this application.
  • the image captured by the first photographing device is acquired, and it is determined whether the position of the user holding the terminal device in the image is The preset position; if the position of the user holding the terminal device in the image is not the preset position, and the deflection angle of the pan/tilt head equipped with the first photographing device is greater than the preset angle, the terminal device is controlled to output rotation speed adjustment prompt information , to prompt the user to adjust its own rotation speed, to ensure that the drone can better fly around and follow the user holding the terminal device, and to improve the video shooting effect and user experience.
  • the flight trajectory in the shooting control instruction is acquired, and the drone is controlled to fly according to the flight trajectory, The drone is kept away from the user holding the terminal device or close to the user holding the terminal device, so that the first photographing device can shoot a video with a viewing angle far away from the user or close to the user.
  • FIG. 8 is a schematic structural block diagram of a control apparatus provided by an embodiment of the present application.
  • the control device 300 includes a processor 301 and a memory 302, and the processor 301 and the memory 302 are connected through a bus 303, such as an I2C (Inter-integrated Circuit) bus.
  • the control device 300 is used to control the drone and the terminal device, the drone includes a first photographing device, the terminal device includes a second photographing device, and the drone is communicatively connected to the terminal device.
  • the processor 301 may be a micro-controller unit (Micro-controller Unit, MCU), a central processing unit (Central Processing Unit, CPU) or a digital signal processor (Digital Signal Processor, DSP) or the like.
  • MCU Micro-controller Unit
  • CPU Central Processing Unit
  • DSP Digital Signal Processor
  • the memory 302 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) magnetic disk, an optical disk, a U disk, a mobile hard disk, and the like.
  • ROM Read-Only Memory
  • the memory 302 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) magnetic disk, an optical disk, a U disk, a mobile hard disk, and the like.
  • the processor 301 is used for running the computer program stored in the memory 302, and implements the following steps when executing the computer program:
  • the first video is obtained by the control device controlling the first shooting device to shoot the user holding the terminal device according to a shooting control instruction triggered by the user;
  • the second video is obtained by the control device controlling the second shooting device to shoot the drone according to the shooting control instruction;
  • the first video and the second video are synthesized to obtain a target video, where the target video includes at least a part of video frames in the first video and at least a part of video frames in the second video.
  • the start and end shooting moments of the first video and the second video are the same.
  • the user is in the photographing area of the first photographing device, while the drone is photographing the second within the shooting area of the device.
  • the first video includes a plurality of first video frames, each of the first video frames includes the user, and the user in the first video frame is located in the first video frame.
  • the preset position of the frame the second video includes a plurality of second video frames, and each of the second video frames includes the drone.
  • the target video includes a plurality of first video frame groups and a plurality of second video frame groups, and the first video frame group in the target video is adjacent to the second video frame group , the first video frame group includes one or more first video frames, and the second video frame group includes one or more second video frames.
  • the processor is further configured to implement the following steps:
  • the acquiring the first video includes:
  • the shooting control instruction controlling the first shooting device to shoot the user holding the terminal device to obtain a first video
  • the obtaining of the second video includes:
  • the second shooting device is controlled to shoot the drone to obtain a second video.
  • the processor before the processor controls the terminal device to output the shooting prompt information, the processor is further configured to:
  • the terminal device controlling the terminal device to display a shooting control page, wherein the shooting control page includes a viewing angle switching icon and a first image collected by the first shooting device;
  • the user in the first image is used as the first photographing subject of the first photographing device
  • the drone in the second image is used as the second photographing subject of the second photographing device;
  • the terminal device is controlled to output photographing prompt information.
  • the processor is further configured to implement the following steps:
  • controlling the terminal device to output first prompt information, where the first prompt information is used to prompt the user to adjust the first shooting area of the first shooting device;
  • the posture of the first photographing device is adjusted according to a first posture adjustment instruction triggered by the user, and the first photographing area and the displayed first image change with the posture of the first photographing device.
  • controlling the terminal device to output the first prompt information includes:
  • the terminal device is controlled to output first prompt information.
  • the processor is further configured to implement the following steps:
  • second prompt information is output, wherein the second prompt information is used to prompt the user to stop adjusting the first shooting area.
  • the processor is further configured to implement the following steps:
  • controlling the terminal device to output third prompt information, where the third prompt information is used to prompt the user to adjust the second shooting area of the second shooting device;
  • the posture of the second photographing device is adjusted according to the second posture adjustment instruction triggered by the user, and the second photographing area and the displayed second image change with the change of the posture of the second photographing device.
  • controlling the terminal device to output the third prompt information includes:
  • the terminal device is controlled to output third prompt information.
  • the processor is further configured to implement the following steps:
  • fourth prompt information is output, wherein the fourth prompt information is used to prompt the user to stop adjusting the second shooting area.
  • the processor is further configured to implement the following steps:
  • the drone is controlled to fly according to the flight trajectory, so that the drone is far away from the user holding the terminal device or close to the user holding the terminal device.
  • the flight trajectory includes any one of a first flight trajectory and a second flight trajectory
  • the controlling the UAV to fly according to the flight trajectory includes:
  • the drone is controlled to fly according to the second flight trajectory, so that the drone is close to the user holding the terminal device.
  • the processor is further configured to implement the following steps:
  • the drone In the process of controlling the first photographing apparatus to photograph the user holding the terminal device, the drone is controlled to follow the user holding the terminal device to fly.
  • controlling the drone to follow the user holding the terminal device to fly includes:
  • the drone is controlled to follow the user holding the terminal device to fly according to the current image.
  • controlling the drone to follow the user holding the terminal device to fly according to the current image includes:
  • the target detection information includes the user in the world Size information, position information and angle information of the user relative to the drone in the coordinate system;
  • the size information, the angle information and the preset target tracking algorithm predict the target position information of the user at the next moment
  • the drone is controlled to follow the user holding the terminal device to fly.
  • controlling the drone to follow the user holding the terminal device to fly includes:
  • the drone is controlled to fly around and follow the user holding the terminal device.
  • the terminal device includes an inertial measurement unit and a compass sensor
  • the acquiring the target rotation speed of the user holding the terminal device includes:
  • a target rotation speed of the user holding the terminal device is determined.
  • the acquiring the target rotation speed of the user holding the terminal device includes:
  • the target rotation speed of the user holding the terminal device is determined.
  • the identification target includes an antireflection film provided on the terminal device.
  • the terminal device includes an inertial measurement unit and a compass sensor
  • the acquiring the target rotation speed of the user holding the terminal device includes:
  • the target rotation speed of the user holding the terminal device is determined.
  • controlling the drone to fly around and following the user holding the terminal device according to the target rotation speed includes:
  • the drone is controlled to fly around and follow the user holding the terminal device according to the target rotation speed, until the flying angle of the drone around the user reaches the around flying angle.
  • the processor is further configured to implement the following steps:
  • the drone is controlled to fly along the throwing direction.
  • controlling the drone to fly along the throwing direction includes:
  • the UAV is controlled to decelerate along the throwing direction until the horizontal flight speed of the UAV becomes zero.
  • the processor is further configured to implement the following steps:
  • the posture of the first photographing device is adjusted so that the user in the image captured by the first photographing device after the posture is adjusted is located in the Preset positions in the image.
  • FIG. 9 is a schematic structural block diagram of an unmanned aerial vehicle provided by an embodiment of the present application.
  • the drone 400 includes: a body 410 , a power system 420 , a first photographing device 430 , a first wireless communication device 440 and a control device 450 , a power system 420 , a first photographing device 430 , and a first wireless communication device
  • the device 440 and the control device 450 are arranged on the body 410, the power system 420 is used to provide flight power for the UAV 400, the first photographing device 430 is used for the first video, and the first wireless communication device 440 is used to communicate with the terminal equipment.
  • the second wireless communication device performs communication, and the control device 450 is configured to control the first shooting device 430 to shoot the first video and/or the drone 400 to fly.
  • FIG. 10 is a schematic structural block diagram of a terminal device provided by an embodiment of the present application.
  • the terminal device 500 includes a second photographing apparatus 510 , a display apparatus 520 , a second wireless communication apparatus 530 and a control apparatus 540 , the second photographing apparatus 510 is used for photographing a second video, and the display apparatus 520 is used for displaying images Or a human-computer interaction interface, the second wireless communication device 530 is used to communicate with the first wireless communication device in the drone, and the control device is used to control the second shooting device to shoot the second video.
  • Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, the computer program includes program instructions, and the processor executes the program instructions, so as to realize the provision of the above embodiments.
  • the steps of the shooting control method are described in detail below.
  • the computer-readable storage medium may be an internal storage unit of the terminal device or the drone described in any of the foregoing embodiments, such as a hard disk or memory of the terminal device or the drone.
  • the computer-readable storage medium can also be an external storage device of the terminal device or the drone, such as a plug-in hard disk equipped on the terminal device or the drone, a smart memory card (Smart Media Card, SMC), Secure Digital (SD) card, flash memory card (Flash Card), etc.

Abstract

A photographing control method and apparatus, an unmanned aerial vehicle, a device, and a readable storage medium. The method comprises: obtaining a first video (S101); obtaining a second video (S102); and synthesizing the first video and the second video to obtain a target video, the target video comprising at least a part of video frames in the first video and at least a part of video frames in the second video (S103). The present application improves the interestingness and shock of a video.

Description

拍摄控制方法、装置、无人机、设备及可读存储介质Shooting control method, device, drone, device and readable storage medium 技术领域technical field
本申请涉及拍摄控制技术领域,尤其涉及一种拍摄控制方法、装置、无人机、设备及可读存储介质。The present application relates to the technical field of photographing control, and in particular, to a photographing control method, device, drone, device, and readable storage medium.
背景技术Background technique
目前,随着互联网技术的快速发展,越来越多的用户喜欢在社交平台上分享自己拍摄的视频,为了拍摄有趣的视频来吸引网友的关注,一些用户会使用无人机来拍摄视频。通过无人机的视角来拍摄视频,虽然在一定程度上丰富了拍摄视频的多样性和提高了视频作品的有趣性,但无法简便的拍摄得到更为绚丽震撼有趣的视频。At present, with the rapid development of Internet technology, more and more users like to share their videos on social platforms. In order to shoot interesting videos to attract the attention of netizens, some users will use drones to shoot videos. Shooting videos from the perspective of drones enriches the diversity of shooting videos and improves the fun of video works to a certain extent, but it is impossible to easily shoot more gorgeous, shocking and interesting videos.
发明内容SUMMARY OF THE INVENTION
基于此,本申请提供了一种拍摄控制方法、装置、无人机、设备及可读存储介质,旨在拍摄多视角的视频,以提高视频的有趣性和震撼性。Based on this, the present application provides a shooting control method, device, unmanned aerial vehicle, device and readable storage medium, aiming at shooting multi-view video, so as to improve the interestingness and shock of the video.
第一方面,本申请实施例提供了一种拍摄控制方法,应用于控制装置,所述控制装置用于控制无人机和终端设备,所述无人机包括第一拍摄装置,所述终端设备包括第二拍摄装置,所述方法包括:In a first aspect, an embodiment of the present application provides a shooting control method, which is applied to a control device, the control device is used to control a drone and a terminal device, the drone includes a first shooting device, and the terminal device A second photographing device is included, and the method includes:
获取第一视频,所述第一视频是所述控制装置根据由用户触发的拍摄控制指令控制所述第一拍摄装置对持有所述终端设备的所述用户进行拍摄得到的;acquiring a first video, where the first video is obtained by the control device controlling the first shooting device to shoot the user holding the terminal device according to a shooting control instruction triggered by the user;
获取第二视频,所述第二视频是所述控制装置根据所述拍摄控制指令控制所述第二拍摄装置对所述无人机进行拍摄得到的;acquiring a second video, where the second video is obtained by the control device controlling the second shooting device to shoot the drone according to the shooting control instruction;
对所述第一视频和第二视频进行合成,得到目标视频,所述目标视频包括所述第一视频中的至少一部分视频帧和所述第二视频中至少一部分视频帧。The first video and the second video are synthesized to obtain a target video, where the target video includes at least a part of video frames in the first video and at least a part of video frames in the second video.
第二方面,本申请实施例还提供了一种控制装置,所述控制装置用于控制无人机和终端设备,所述无人机包括第一拍摄装置,所述终端设备包括第二拍摄装置,所述控制装置包括存储器和处理器;In a second aspect, an embodiment of the present application further provides a control device, the control device is used to control a drone and a terminal device, the drone includes a first photographing device, and the terminal device includes a second photographing device , the control device includes a memory and a processor;
所述存储器用于存储计算机程序;the memory is used to store computer programs;
所述处理器,用于执行所述计算机程序并在执行所述计算机程序时,实现如下步骤:The processor is configured to execute the computer program and implement the following steps when executing the computer program:
获取第一视频,所述第一视频是所述控制装置根据由用户触发的拍摄控制指令控制所述第一拍摄装置对持有所述终端设备的所述用户进行拍摄得到的;acquiring a first video, where the first video is obtained by the control device controlling the first shooting device to shoot the user holding the terminal device according to a shooting control instruction triggered by the user;
获取第二视频,所述第二视频是所述控制装置根据所述拍摄控制指令控制所述第二拍摄装置对所述无人机进行拍摄得到的;acquiring a second video, where the second video is obtained by the control device controlling the second shooting device to shoot the drone according to the shooting control instruction;
对所述第一视频和第二视频进行合成,得到目标视频,所述目标视频包括所述第一视频中的至少一部分视频帧和所述第二视频中的至少一部分视频帧。The first video and the second video are synthesized to obtain a target video, where the target video includes at least a part of video frames in the first video and at least a part of video frames in the second video.
第三方面,本申请实施例还提供一种无人机,包括:In a third aspect, an embodiment of the present application also provides an unmanned aerial vehicle, including:
机体;body;
动力系统,设于所述机体上,用于为所述无人机提供飞行动力;a power system, arranged on the body, for providing flight power for the drone;
第一拍摄装置,搭载于所述机体上,用于拍摄第一视频;a first photographing device, mounted on the body, for photographing a first video;
第一无线通信装置,设于所述机体上,用于与终端设备中的第二无线通信装置进行通信;a first wireless communication device, provided on the body, for communicating with the second wireless communication device in the terminal device;
如上所述的控制装置,用于控制所述第一拍摄装置拍摄第一视频和/或所述无人机飞行。The above control device is used to control the first camera to shoot the first video and/or the drone to fly.
第四方面,本申请实施例还提供一种终端设备,包括:In a fourth aspect, an embodiment of the present application further provides a terminal device, including:
第二拍摄装置,用于拍摄第二视频;a second shooting device for shooting a second video;
显示装置,用于显示图像或人机交互界面;A display device for displaying images or a human-computer interface;
第二无线通信装置,用于与无人机中的第一无线通信装置进行通信;a second wireless communication device for communicating with the first wireless communication device in the drone;
如上所述的控制装置,用于控制所述第二拍摄装置拍摄第二视频。The above control device is used to control the second shooting device to shoot a second video.
第五方面,本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器实现如上所述的拍摄控制方法的步骤。In a fifth aspect, an embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements the above-mentioned The steps of the shooting control method.
本申请实施例提供了一种拍摄控制方法、装置、无人机、设备及可读存储介质,通过获取由无人机中的第一拍摄装置对持有终端设备的用户进行拍摄得到的第一视频和由终端设备中的第二拍摄装置对无人机进行拍摄得到的第二视频,并对第一视频和第二视频进行合成,得到包含第一视频中的至少一部分视频帧和第二视频中的至少一部分视频帧的目标视频,使得合成得到的目标视频为多视角视频,极大的提高了视频的有趣性和震撼性。Embodiments of the present application provide a photographing control method, device, drone, device, and readable storage medium, by acquiring a first photograph obtained by photographing a user holding a terminal device by a first photographing device in the drone. The video and the second video obtained by photographing the drone by the second shooting device in the terminal device, and synthesizing the first video and the second video to obtain at least a part of the video frame and the second video including the first video. At least a part of the target video in the video frame, so that the target video obtained by synthesis is a multi-view video, which greatly improves the interestingness and shock of the video.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not limiting of the present application.
附图说明Description of drawings
为了更清楚地说明本申请实施例技术方案,下面将对实施例描述中所需要 使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present application more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments. For those of ordinary skill, other drawings can also be obtained from these drawings without any creative effort.
图1是实施本申请实施例提供的拍摄控制方法的场景示意图;1 is a schematic diagram of a scene for implementing a shooting control method provided by an embodiment of the present application;
图2是本申请实施例提供的一种拍摄控制方法的步骤示意流程图;2 is a schematic flowchart of steps of a shooting control method provided by an embodiment of the present application;
图3是本申请实施例中对第一视频和第二视频进行合成的一场景示意图;3 is a schematic diagram of a scene in which a first video and a second video are synthesized in an embodiment of the present application;
图4是本申请实施例中对第一视频和第二视频进行合成的另一场景示意图FIG. 4 is a schematic diagram of another scene in which the first video and the second video are synthesized in an embodiment of the present application
图5是本申请实施例提供的另一种拍摄控制方法的步骤示意流程图;5 is a schematic flowchart of steps of another shooting control method provided by an embodiment of the present application;
图6是本申请实施例中控制无人机环绕跟随持有终端设备的用户飞行的一场景示意图;6 is a schematic diagram of a scenario in which a drone is controlled to fly around and follow a user holding a terminal device in an embodiment of the present application;
图7是本申请实施例中控制无人机环绕跟随持有终端设备的用户飞行的另一场景示意图;7 is a schematic diagram of another scenario in which a drone is controlled to fly around and follow a user holding a terminal device in an embodiment of the present application;
图8是本申请实施例提供的一种控制装置的结构示意性框图;FIG. 8 is a schematic block diagram of the structure of a control device provided by an embodiment of the present application;
图9是本申请实施例提供的一种无人机的结构示意性框图;9 is a schematic block diagram of the structure of an unmanned aerial vehicle provided by an embodiment of the present application;
图10是本申请实施例提供的一种终端设备的结构示意性框图。FIG. 10 is a schematic structural block diagram of a terminal device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
附图中所示的流程图仅是示例说明,不是必须包括所有的内容和操作/步骤,也不是必须按所描述的顺序执行。例如,有的操作/步骤还可以分解、组合或部分合并,因此实际执行的顺序有可能根据实际情况改变。The flowcharts shown in the figures are for illustration only, and do not necessarily include all contents and operations/steps, nor do they have to be performed in the order described. For example, some operations/steps can also be decomposed, combined or partially combined, so the actual execution order may be changed according to the actual situation.
下面结合附图,对本申请的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and features in the embodiments may be combined with each other without conflict.
目前,随着互联网技术的快速发展,越来越多的用户喜欢在社交平台上分享自己拍摄的视频,为了拍摄有趣的视频来吸引网友的关注,一些用户会使用无人机来拍摄视频。通过无人机的视角来拍摄视频,虽然在一定程度上丰富了拍摄视频的多样性和提高了视频作品的有趣性,但无法简便的拍摄得到更为绚丽震撼有趣的视频。At present, with the rapid development of Internet technology, more and more users like to share their videos on social platforms. In order to shoot interesting videos to attract the attention of netizens, some users will use drones to shoot videos. Shooting videos from the perspective of drones enriches the diversity of shooting videos and improves the fun of video works to a certain extent, but it is impossible to easily shoot more gorgeous, shocking and interesting videos.
为解决上述问题,本申请实施例提供了一种拍摄控制方法、装置、无人机、 设备及可读存储介质,通过获取由无人机中的第一拍摄装置对持有终端设备的用户进行拍摄得到的第一视频和由终端设备中的第二拍摄装置对无人机进行拍摄得到的第二视频,并对第一视频和第二视频进行合成,得到包含第一视频中的至少一部分视频帧和第二视频中的至少一部分视频帧的目标视频,使得合成得到的目标视频为多视角视频,极大的提高了视频的有趣性和震撼性。In order to solve the above problems, the embodiments of the present application provide a shooting control method, device, unmanned aerial vehicle, equipment, and readable storage medium. The first video obtained by shooting and the second video obtained by shooting the drone by the second shooting device in the terminal device, and the first video and the second video are synthesized to obtain at least a part of the first video. frame and the target video of at least a part of the video frames in the second video, so that the target video obtained by synthesis is a multi-view video, which greatly improves the interestingness and shock of the video.
请参阅图1,图1是实施本申请实施例提供的拍摄控制方法的场景示意图。如图1所示,该场景包括无人机100和终端设备200,无人机100包括机体110、设于机体110上的动力系统120、设于机体110上的第一拍摄装置130和设于机体110内的第一无线通信装置(图1中未示出),终端设备200包括显示装置210、第二拍摄装置(图1中未示出)和第二无线通信装置(图1中未示出),通过无人机100内的第一无线通信装置可以与终端设备200内的第二无线通信装置通信,从而建立无人机100与终端设备200的通信连接。Please refer to FIG. 1 . FIG. 1 is a schematic diagram of a scene for implementing the shooting control method provided by the embodiment of the present application. As shown in FIG. 1 , the scene includes an unmanned aerial vehicle 100 and a terminal device 200. The unmanned aerial vehicle 100 includes a body 110, a power system 120 arranged on the body 110, a first photographing device 130 arranged on the body 110, and a A first wireless communication device (not shown in FIG. 1 ) in the body 110, the terminal device 200 includes a display device 210, a second photographing device (not shown in FIG. 1 ) and a second wireless communication device (not shown in FIG. 1 ) out), the first wireless communication device in the drone 100 can communicate with the second wireless communication device in the terminal device 200 , thereby establishing a communication connection between the drone 100 and the terminal device 200 .
其中,动力系统120用于为无人机100提供飞行动力,动力系统120能够使无人机垂直地从地面起飞,或者垂直地降落在地面上,而不需要无人机任何水平运动(如不需要在跑道上滑行)。可选的,动力系统120可以允许无人机在空中预设位置和/或方向盘旋。一个或者多个动力系统120在受到控制时可以独立于其它的动力系统120。可选的,一个或者多个动力系统120可以同时受到控制。例如,无人机可以有多个水平方向的动力系统120,以追踪目标的提升及/或推动。水平方向的动力系统120可以被致动以提供无人机垂直起飞、垂直降落、盘旋的能力。Among them, the power system 120 is used to provide the flying power for the drone 100, and the power system 120 can make the drone take off from the ground vertically, or land on the ground vertically, without any horizontal movement of the drone (such as no taxiing on the runway is required). Optionally, the power system 120 may allow the drone to preset positions and/or turn the steering wheel in the air. One or more of the powertrains 120 may be controlled independently of the other powertrains 120 . Alternatively, one or more power systems 120 may be controlled simultaneously. For example, the drone may have multiple horizontally oriented power systems 120 to track the lift and/or push of the target. The horizontally oriented power system 120 may be actuated to provide the drone with the ability to take off vertically, land vertically, and hover.
在一实施例中,水平方向的动力系统120中的一个或者多个可以顺时针方向旋转,而水平方向的动力系统中的其它一个或者多个可以逆时针方向旋转。例如,顺时针旋转的动力系统120与逆时针旋转的动力系统120的数量一样。每一个水平方向的动力系统120的旋转速率可以独立变化,以实现每个动力系统120导致的提升及/或推动操作,从而调整无人机的空间方位、速度及/或加速度(如相对于多达三个自由度的旋转及平移)。In one embodiment, one or more of the horizontally oriented power systems 120 may rotate in a clockwise direction, while one or more of the other horizontally oriented power systems may rotate in a counter-clockwise direction. For example, there are as many power systems 120 rotating clockwise as there are power systems 120 rotating counterclockwise. The rotational rate of each power system 120 in the horizontal direction can be varied independently to achieve lift and/or push operations caused by each power system 120 to adjust the spatial orientation, speed and/or acceleration of the drone (eg, relative to multiple rotation and translation up to three degrees of freedom).
在一实施例中,无人机100还可以包括设于机体110上的云台140,云台140用于搭载第一拍摄装置130,云台140包括三轴电机,分别为平移轴电机、俯仰轴电机和横滚轴电机,用于调整搭载于云台140上的第一拍摄装置130的平衡姿态,以便随时随地拍摄出高精度的稳定画面。可以理解的是,终端设备可以是搭载有第二拍摄装置的头戴设备、AR或VR眼镜、智能手机、平板电脑和手持云台等手持设备,对于终端设备为搭载有第二拍摄装置的手持云台, 手持云台包括手柄部和用于搭载第二拍摄装置的云台,通过该云台可以调整搭载于云台上的第二拍摄装置的平衡姿态,以便随时随地拍摄出高精度的稳定画面。In one embodiment, the drone 100 may further include a pan/tilt 140 disposed on the body 110, the pan/tilt 140 is used for carrying the first photographing device 130, and the pan/tilt 140 includes three-axis motors, which are a pan-axis motor, a pitch-axis motor, and a tilt-axis motor. The axis motor and the roll axis motor are used to adjust the balance posture of the first photographing device 130 mounted on the gimbal 140, so as to photograph a high-precision and stable image anytime and anywhere. It can be understood that the terminal device can be a headset equipped with a second camera, AR or VR glasses, a smartphone, a tablet computer, a handheld gimbal and other handheld devices, and the terminal device is a handheld device equipped with a second camera. The gimbal and the hand-held gimbal include a handle and a gimbal for carrying the second shooting device. Through the gimbal, the balance posture of the second shooting device mounted on the gimbal can be adjusted, so that high-precision and stable shooting can be obtained anytime, anywhere. screen.
在一实施例中,无人机还可以包括传感系统,传感系统可以包括一个或者多个传感器,以感测无人机的空间方位、速度及/或加速度(如相对于多达三个自由度的旋转及平移)、角加速度、姿态、位置(绝对位置或者相对位置)等。所述一个或者多个传感器包括GPS传感器、运动传感器、惯性传感器、近程传感器或者影像传感器。可选的,传感系统还可以用于采集无人机100所处的环境数据,如气候条件、要接近的潜在的障碍、地理特征的位置、人造结构的位置等。另外,无人机100可以包括脚架,所述脚架是无人机降落时,无人机100与地面的接触件,脚架可以是无人机100在飞行状态(例如无人机100在巡航时)收起,在降落时才放下;也可以固定安装在无人机100上,一直处于放下的状态。In one embodiment, the drone may also include a sensing system, which may include one or more sensors to sense the spatial orientation, velocity, and/or acceleration of the drone (eg, relative to up to three Degree of freedom rotation and translation), angular acceleration, attitude, position (absolute position or relative position), etc. The one or more sensors include GPS sensors, motion sensors, inertial sensors, proximity sensors, or image sensors. Optionally, the sensing system may also be used to collect data on the environment in which the UAV 100 is located, such as climatic conditions, potential obstacles to be approached, locations of geographic features, locations of man-made structures, and the like. In addition, the drone 100 may include a tripod, which is a contact piece between the drone 100 and the ground when the drone lands, and the tripod may be the drone 100 in a flying state (for example, the drone 100 is When cruising), it is put away and put down when it is landing; it can also be fixedly installed on the UAV 100, and it is always put down.
在一实施例中,无人机100或终端设备200还包括控制装置(图1中未示出),在控制装置获取到用户触发的拍摄控制指令时,控制装置根据拍摄控制指令,控制无人机100中的第一拍摄装置130对持有终端设备200的用户进行拍摄,得到第一视频,同时根据该拍摄控制指令,控制终端设备200中的第二拍摄装置对无人机100进行拍摄,得到第二视频,然后对第一视频和第二视频进行合成,得到包括第一视频中的至少一部分视频帧和第二视频中的至少一部分视频帧的目标视频。In one embodiment, the drone 100 or the terminal device 200 further includes a control device (not shown in FIG. 1 ). When the control device acquires the shooting control instruction triggered by the user, the control device controls the unmanned aerial vehicle according to the shooting control instruction. The first shooting device 130 in the drone 100 shoots the user holding the terminal device 200 to obtain a first video, and at the same time controls the second shooting device in the terminal device 200 to shoot the drone 100 according to the shooting control instruction, The second video is obtained, and then the first video and the second video are synthesized to obtain a target video including at least a part of video frames in the first video and at least a part of video frames in the second video.
在一实施例中,若无人机100包括控制装置,则控制装置获取终端设备200发送的用户触发的拍摄控制指令,并根据该拍摄控制指令,控制无人机100中的第一拍摄装置130对持有终端设备200的用户进行拍摄,得到第一视频;获取终端设备200发送的第二视频,其中,第二视频是终端设备200根据该拍摄控制指令控制第二拍摄装置对无人机100进行拍摄得到的;然后对第一视频和第二视频进行合成,得到包括第一视频中的至少一部分视频帧和第二视频中的至少一部分视频帧的目标视频。In one embodiment, if the drone 100 includes a control device, the control device acquires a user-triggered shooting control instruction sent by the terminal device 200, and controls the first shooting device 130 in the drone 100 according to the shooting control instruction. Shoot the user holding the terminal device 200 to obtain the first video; obtain the second video sent by the terminal device 200, wherein the second video is the terminal device 200 controlling the second shooting device to shoot the drone 100 according to the shooting control instruction. and then synthesizing the first video and the second video to obtain a target video including at least a part of the video frames in the first video and at least a part of the video frames in the second video.
在一实施例中,若终端设备200包括控制装置(图1中未示出),则控制装置在获取到用户触发的拍摄控制指令时,控制终端设备200向无人机100发送拍摄控制指令,由无人机100根据该拍摄控制指令控制第一拍摄装置对持有终端设备200的用户进行拍摄,得到第一视频,同时控制第二拍摄装置对无人机100进行拍摄,得到第二视频;然后获取无人机100发送的第一视频,并对 第一视频和第二视频进行合成,得到包括第一视频中的至少一部分视频帧和第二视频中的至少一部分视频帧的目标视频。In one embodiment, if the terminal device 200 includes a control device (not shown in FIG. 1 ), the control device controls the terminal device 200 to send the shooting control command to the drone 100 when acquiring the shooting control command triggered by the user, The drone 100 controls the first shooting device to shoot the user holding the terminal device 200 according to the shooting control instruction to obtain the first video, and simultaneously controls the second shooting device to shoot the drone 100 to obtain the second video; Then, the first video sent by the drone 100 is acquired, and the first video and the second video are synthesized to obtain a target video including at least a part of video frames in the first video and at least a part of video frames in the second video.
在一实施例中,中控设备与终端设备200通信连接,该中控设备也与无人机100通信连接,终端设备200在获取到用户触发的拍摄控制指令时,终端设备200向无人机100发送拍摄控制指令,同时终端设备200根据该拍摄控制指令控制第二拍摄装置对无人机进行拍摄,得到第二视频,并将该第二视频发送至中控设备;无人机100在接收到拍摄控制指令时,根据该拍摄控制指令,控制第一拍摄装置130对手持终端设备200的用户进行拍摄,得到第一视频,并将第一视频发送至中控设备;中控设备获取无人机100发送的第一视频和终端设备200发送的第二视频,并对第一视频和第二视频进行合成,得到包括第一视频中的至少一部分视频帧和第二视频中的至少一部分视频帧的目标视频。In one embodiment, the central control device is communicatively connected to the terminal device 200, and the central control device is also communicatively connected to the drone 100. When the terminal device 200 obtains the shooting control instruction triggered by the user, the terminal device 200 sends the drone to the drone. 100 sends a shooting control command, and the terminal device 200 controls the second shooting device to shoot the drone according to the shooting control command, obtains a second video, and sends the second video to the central control device; the drone 100 is receiving When the shooting control instruction arrives, according to the shooting control instruction, the first shooting device 130 is controlled to shoot the user of the handheld terminal device 200 to obtain the first video, and the first video is sent to the central control device; The first video sent by the terminal device 100 and the second video sent by the terminal device 200 are combined, and the first video and the second video are synthesized to obtain at least a part of the video frames in the first video and at least a part of the video frames in the second video. target video.
以下,将结合图1中的场景对本申请的实施例提供的拍摄控制方法进行详细介绍。需知,图1中的场景仅用于解释本申请实施例提供的拍摄控制方法,但并不构成对本申请实施例提供的拍摄控制方法应用场景的限定。Hereinafter, the shooting control method provided by the embodiments of the present application will be described in detail with reference to the scene in FIG. 1 . It should be noted that the scene in FIG. 1 is only used to explain the shooting control method provided by the embodiment of the present application, but does not constitute a limitation on the application scene of the shooting control method provided by the embodiment of the present application.
请参阅图2,图2是本申请实施例提供的一种拍摄控制方法的步骤示意流程图。该拍摄控制方法可以应用于控制装置,该控制装置用于控制无人机和终端设备,无人机包括第一拍摄装置,终端设备包括第二拍摄装置。Please refer to FIG. 2 , which is a schematic flowchart of steps of a shooting control method provided by an embodiment of the present application. The photographing control method can be applied to a control device, and the control device is used to control a drone and a terminal device, the drone includes a first photographing device, and the terminal device includes a second photographing device.
如图2所示,该拍摄控制方法包括步骤S101至步骤S103。As shown in FIG. 2 , the photographing control method includes steps S101 to S103.
步骤S101、获取第一视频,所述第一视频是所述控制装置根据由用户触发的拍摄控制指令控制所述第一拍摄装置对持有所述终端设备的所述用户进行拍摄得到的;Step S101, acquiring a first video, the first video is obtained by the control device controlling the first shooting device to shoot the user holding the terminal device according to a shooting control instruction triggered by the user;
步骤S102、获取第二视频,所述第二视频是所述控制装置根据所述拍摄控制指令控制所述第二拍摄装置对所述无人机进行拍摄得到的;Step S102, acquiring a second video, where the second video is obtained by the control device controlling the second shooting device to shoot the drone according to the shooting control instruction;
步骤S103、对所述第一视频和第二视频进行合成,得到目标视频,所述目标视频包括所述第一视频中的至少一部分视频帧和所述第二视频中的至少一部分视频帧。Step S103: Synthesize the first video and the second video to obtain a target video, where the target video includes at least a part of video frames in the first video and at least a part of video frames in the second video.
其中,控制装置可以部署在无人机中,也可以部署在终端设备中,还可以部署在与终端设备和无人机通信连接的中控设备中,本申请实施例对此不做具体限定,第一视频可以是控制装置实时的根据由用户触发的拍摄控制指令控制第一拍摄装置对持有终端设备的用户进行拍摄得到的当前视频,也可以是之前根据由用户触发的拍摄控制指令控制第一拍摄装置对持有终端设备的用户进行拍摄得到的历史视频,同样的,第二视频可以是控制装置实时的根据由用户触 发的拍摄控制指令控制第二拍摄装置对无人机进行拍摄得到的当前视频,也可以是之前根据由用户触发的拍摄控制指令控制第二拍摄装置对无人机进行拍摄得到的历史视频。Wherein, the control device may be deployed in the drone, may also be deployed in the terminal device, or may be deployed in the central control device that is communicatively connected with the terminal device and the drone, which is not specifically limited in this embodiment of the present application. The first video may be the current video obtained by the control device controlling the first shooting device to shoot the user holding the terminal device in real time according to the shooting control instruction triggered by the user, or it may be the current video that previously controlled the first shooting device according to the shooting control instruction triggered by the user. A historical video obtained by a shooting device shooting a user holding a terminal device. Similarly, the second video can be obtained by the control device controlling the second shooting device to shoot the drone in real time according to the shooting control instruction triggered by the user. The current video may also be a historical video previously obtained by controlling the second photographing device to photograph the drone according to the photographing control instruction triggered by the user.
在一实施例中,第一视频和第二视频的起始拍摄时刻和结束拍摄时刻相同,可以保证第一视频和第二视频的时间同步,便于后续对第一视频和第二视频进行合成。其中,在对无人机和持有终端设备的用户进行拍摄的过程中,持有终端设备的用户处于无人机的第一拍摄装置的拍摄区域内,且无人机处于终端设备的第二拍摄装置的拍摄区域内,可以保证第一拍摄装置拍摄到的第一视频中的各视频帧均包括持有终端设备的用户,也可以保证第二拍摄装置拍摄到的第二视频中的各视频帧均包括无人机,便于后续合成得到多视角的目标视频。In one embodiment, the start and end shooting moments of the first video and the second video are the same, which can ensure the time synchronization of the first video and the second video, and facilitate subsequent synthesis of the first video and the second video. Wherein, in the process of photographing the drone and the user holding the terminal equipment, the user holding the terminal equipment is in the shooting area of the first shooting device of the drone, and the drone is in the second shooting area of the terminal equipment. Within the shooting area of the shooting device, it can be ensured that each video frame in the first video shot by the first shooting device includes the user holding the terminal device, and it can also be ensured that each video in the second video shot by the second shooting device can be guaranteed. All frames include drones, which is convenient for subsequent synthesis to obtain multi-view target videos.
在一实施例中,第一视频包括多个第一视频帧,每个第一视频帧均包括持有终端设备的用户,第一视频帧中的持有终端设备的用户位于第一视频帧的预设位置,第二视频包括多个第二视频帧,每个第二视频帧均包括无人机。其中,预设位置可以为第一视频帧的中心位置,也可以为第一视频帧的其余位置,本申请实施例对此不做具体限定。In one embodiment, the first video includes a plurality of first video frames, each of the first video frames includes a user holding a terminal device, and the user holding the terminal device in the first video frame is located in the first video frame. In a preset position, the second video includes a plurality of second video frames, and each second video frame includes a drone. The preset position may be the center position of the first video frame, or may be the remaining positions of the first video frame, which is not specifically limited in this embodiment of the present application.
在一实施例中,目标视频包括多个第一视频帧组和多个第二视频帧组,目标视频中的第一视频帧组与第二视频帧组相邻,第一视频帧组包括一个或多个第一视频帧,第二视频帧组包括一个或多个第二视频帧。示例性的,从第一视频中抽取预设数量的第一视频帧;随机的将每个第一视频帧插入第二视频中,得到目标视频;或者,从第二视频中抽取预设数量的第二视频帧;随机的将每个第二视频帧插入第一视频中,得到目标视频。其中,目标视频中的第一视频帧和第二视频帧相邻,预设数量可基于第一视频中的视频帧的总数确定,本申请实施例对此不做具体限定。In one embodiment, the target video includes a plurality of first video frame groups and a plurality of second video frame groups, the first video frame group in the target video is adjacent to the second video frame group, and the first video frame group includes a or more first video frames, and the second video frame group includes one or more second video frames. Exemplarily, extracting a preset number of first video frames from the first video; randomly inserting each first video frame into the second video to obtain the target video; or extracting a preset number of video frames from the second video. Second video frame; randomly insert each second video frame into the first video to obtain the target video. The first video frame in the target video is adjacent to the second video frame, and the preset number may be determined based on the total number of video frames in the first video, which is not specifically limited in this embodiment of the present application.
例如,如图3所示,第一视频11包括10个第一视频帧,且第二视频12包括10个第二视频帧,从第一视频11中抽取00:01-00:02、00:03-00:04、00:05-00:06、00:07-00:08和00:09-00:10对应的第一视频帧,并将00:01-00:02、00:03-00:04、00:05-00:06、00:07-00:08和00:09-00:10对应的第一视频帧分别插入第二视频12的视频时刻为00:01、00:03、00:05、00:07和00:09对应的位置,从而得到目标视频13,目标视频13包括15个视频帧,视频时长为15秒。For example, as shown in FIG. 3 , the first video 11 includes 10 first video frames, and the second video 12 includes 10 second video frames, and 00:01-00:02, 00:00 are extracted from the first video 11 . The first video frame corresponding to 03-00:04, 00:05-00:06, 00:07-00:08 and 00:09-00:10, and 00:01-00:02, 00:03- The first video frames corresponding to 00:04, 00:05-00:06, 00:07-00:08, and 00:09-00:10 are inserted into the second video 12 at 00:01 and 00:03 respectively. , 00:05, 00:07 and 00:09 corresponding positions, thereby obtaining the target video 13, the target video 13 includes 15 video frames, and the video duration is 15 seconds.
示例性的,从第一视频中抽取预设数量的第一视频帧,并根据每个第一视频帧的拍摄时刻,从第二视频帧中抽取匹配的第二视频帧,得到预设数量的第二视频帧,其中,互相匹配的第一视频帧和第二视频帧的拍摄时刻相同;根据 每个第二视频帧的拍摄时刻,将每个第二视频帧插入抽取第一视频帧后的第一视频中,得到目标视频,或者,根据每个第一视频帧的拍摄时刻,将每个第一视频帧插入抽取第二视频帧后的第二视频中。Exemplarily, a preset number of first video frames are extracted from the first video, and according to the shooting moment of each first video frame, a matching second video frame is extracted from the second video frame to obtain a preset number of video frames. The second video frame, wherein the matching first video frame and the second video frame have the same shooting time; according to the shooting time of each second video frame, insert each second video frame into the extracted first video frame In the first video, the target video is obtained, or, according to the shooting moment of each first video frame, each first video frame is inserted into the second video after the second video frame is extracted.
例如,如图4所示,从第一视频21中抽取00:01-00:02、00:03-00:04、00:05-00:06、00:07-00:08和00:09-00:10对应的第一视频帧,并从第二视频中抽取00:01-00:02、00:03-00:04、00:05-00:06、00:07-00:08和00:09-00:10对应的第二视频帧,得到抽取第二视频帧后的待插入视频22,然后将视频时刻为00:01-00:02、00:03-00:04、00:05-00:06、00:07-00:08和00:09-00:10的第一视频帧插入待插入视频22中,得到目标视频23。For example, as shown in FIG. 4, 00:01-00:02, 00:03-00:04, 00:05-00:06, 00:07-00:08, and 00:09 are extracted from the first video 21 - the first video frame corresponding to 00:10, and extract 00:01-00:02, 00:03-00:04, 00:05-00:06, 00:07-00:08 and For the second video frame corresponding to 00:09-00:10, obtain the to-be-inserted video 22 after extracting the second video frame, and then set the video time as 00:01-00:02, 00:03-00:04, 00: The first video frames of 05-00:06, 00:07-00:08 and 00:09-00:10 are inserted into the video to be inserted 22 to obtain the target video 23 .
在一些实施例中,还可以获取第一视频、第二视频和第三视频,拍摄第一视频、第二视频和第三视频的视角不同;对第一视频、第二视频和第三视频进行合成,得到目标视频,该目标视频包括第一视频的部分或者全部视频帧、第二视频的部分或者全部视频帧和第三视频中的部分或者全部视频帧。可以理解的是,还可以获取更多视角不同的视频,并对更多视角不同的视频进行合成,得到具有多视角的视频。In some embodiments, the first video, the second video, and the third video may also be acquired, and the viewing angles for shooting the first video, the second video, and the third video are different; Synthesize to obtain a target video, where the target video includes part or all of the video frames of the first video, part or all of the video frames of the second video, and part or all of the video frames of the third video. It can be understood that more videos with different viewing angles can also be obtained, and more videos with different viewing angles can be synthesized to obtain videos with multiple viewing angles.
其中,第一视频是控制装置根据由用户触发的拍摄控制指令控制第一无人机中的第一拍摄装置对持有终端设备的用户进行拍摄得到的,第二视频是控制装置根据拍摄控制指令控制终端设备中的第二拍摄装置对无人机进行拍摄得到的,第三视频是控制装置根据由用户触发的拍摄控制指令控制第二无人机中的第三拍摄装置对持有终端设备的用户进行拍摄得到的,且持有终端设备的用户位于第一拍摄装置和第三拍摄装置的拍摄区域内,第一无人机和/或第二无人机位于第二拍摄装置的拍摄区域内。The first video is obtained by the control device controlling the first shooting device in the first drone to shoot the user holding the terminal device according to the shooting control instruction triggered by the user, and the second video is obtained by the control device according to the shooting control instruction The third video is obtained by controlling the second shooting device in the terminal device to shoot the drone, and the third video is obtained by the control device controlling the third shooting device in the second drone according to the shooting control instruction triggered by the user, to hold the terminal device. Obtained by the user shooting, and the user holding the terminal device is located in the shooting area of the first shooting device and the third shooting device, and the first drone and/or the second drone is located in the shooting area of the second shooting device .
在一实施例中,控制终端设备输出拍摄提示信息,其中,该拍摄提示信息用于提示用户拍摄视频,该拍摄提示信息还用于提示用户无人机已处于第二拍摄装置的拍摄区域内,且持有终端设备的用户也处于第一拍摄装置的拍摄区域内;获取用户触发的拍摄控制指令,并根据拍摄控制指令,控制第一拍摄装置对持有终端设备的用户进行拍摄,得到第一视频,且根据该拍摄控制指令,控制第二拍摄装置对无人机进行拍摄,得到第二视频;对第一视频和第二视频进行合成,得到目标视频,其中,该目标视频包括第一视频中的至少一部分视频帧和第二视频中的至少一部分视频帧。通过在用户无人机已处于第二拍摄装置的拍摄区域内,且持有终端设备的用户也处于第一拍摄装置的拍摄区域内时,提示用户可以拍摄视频,便于用户控制第一拍摄装置和第二拍摄装置同步拍摄 视频,保证拍摄的视频的时间严格同步。In one embodiment, the terminal device is controlled to output shooting prompt information, wherein the shooting prompt information is used to prompt the user to shoot a video, and the shooting prompt information is also used to prompt the user that the drone is already in the shooting area of the second shooting device, And the user holding the terminal device is also in the shooting area of the first shooting device; the shooting control instruction triggered by the user is obtained, and according to the shooting control instruction, the first shooting device is controlled to shoot the user holding the terminal device, and the first shooting control instruction is obtained. video, and according to the shooting control instruction, the second shooting device is controlled to shoot the drone to obtain a second video; the first video and the second video are synthesized to obtain a target video, wherein the target video includes the first video at least a portion of the video frames in the second video and at least a portion of the video frames in the second video. When the user's drone is already in the shooting area of the second shooting device, and the user holding the terminal device is also in the shooting area of the first shooting device, the user is prompted to shoot video, which facilitates the user to control the first shooting device and The second shooting device shoots the video synchronously to ensure that the time of the captured video is strictly synchronized.
在一实施例中,在控制终端设备输出拍摄提示信息之前,控制终端设备显示拍摄控制页面,其中,该拍摄控制页面包括视角切换图标和第一拍摄装置采集到的第一图像;响应于用户对第一图像中的用户的触控操作,将第一图像中的用户作为第一拍摄装置的第一拍摄主体;响应于用户对视角切换图标的触发操作,将该拍摄控制页面内的第一图像切换为第二拍摄装置采集到的第二图像;响应于用户对第二图像中的无人机的触发操作,将第二图像中的无人机作为第二拍摄装置的第二拍摄主体;在确定第一拍摄装置的第一拍摄主体为持有终端设备的用户,且第二拍摄装置的第二拍摄主体为无人机时,控制终端设备输出拍摄提示信息,以提示用户无人机已处于第二拍摄装置的拍摄区域内,且持有终端设备的用户也处于第一拍摄装置的拍摄区域内。In one embodiment, before the terminal device is controlled to output the shooting prompt information, the terminal device is controlled to display a shooting control page, wherein the shooting control page includes a viewing angle switching icon and the first image collected by the first shooting device; The user's touch operation in the first image takes the user in the first image as the first photographing subject of the first photographing device; in response to the user's triggering operation on the viewing angle switching icon, the photographing of the first image in the control page is performed. switching to the second image collected by the second photographing device; in response to the user's triggering operation on the drone in the second image, the drone in the second image is used as the second photographing subject of the second photographing device; When it is determined that the first shooting subject of the first shooting device is the user holding the terminal device, and the second shooting subject of the second shooting device is the drone, the terminal device is controlled to output shooting prompt information to remind the user that the drone is in the Within the shooting area of the second shooting device, and the user holding the terminal device is also within the shooting area of the first shooting device.
在一实施例中,在第一图像中不存在持有终端设备的用户时,控制终端设备输出第一提示信息,第一提示信息用于提示用户调整第一拍摄装置的第一拍摄区域;根据用户触发的第一姿态调整指令调整第一拍摄装置的姿态,第一拍摄区域和显示的第一图像随着第一拍摄装置的姿态的变化而变化。其中,可以通过调整无人机的姿态来调整第一拍摄装置的姿态,也可以通过调整搭载第一拍摄装置的云台的姿态来调整第一拍摄装置的姿态。通过在持有终端设备的用户不位于第一拍摄装置的拍摄区域内时,输出提示信息,便于用户调整第一拍摄装置的姿态,提高用户体验。In an embodiment, when there is no user holding the terminal device in the first image, the terminal device is controlled to output first prompt information, and the first prompt information is used to prompt the user to adjust the first shooting area of the first shooting device; according to The first posture adjustment instruction triggered by the user adjusts the posture of the first photographing device, and the first photographing area and the displayed first image change as the posture of the first photographing device changes. Wherein, the posture of the first photographing device may be adjusted by adjusting the posture of the drone, or the posture of the first photographing device may be adjusted by adjusting the posture of the pan/tilt on which the first photographing device is mounted. By outputting prompt information when the user holding the terminal device is not located in the shooting area of the first shooting device, it is convenient for the user to adjust the posture of the first shooting device and the user experience is improved.
在一实施例中,控制终端设备输出第一提示信息的方式可以为:获取无人机相对于终端设备的第一方位信息;根据第一方位信息,控制终端设备输出第一提示信息。其中,第一提示信息包含有无人机相对于终端设备的第一方位信息。通过输出包含有无人机相对于终端设备的方位信息的提示信息,便于用户基于该提示信息中的方位信息调整第一拍摄装置的姿态,减少用户调整第一拍摄装置的姿态的次数,提高用户体验。In an embodiment, the manner of controlling the terminal device to output the first prompt information may be: acquiring first orientation information of the drone relative to the terminal device; and controlling the terminal device to output the first prompt information according to the first orientation information. The first prompt information includes first orientation information of the drone relative to the terminal device. By outputting the prompt information including the orientation information of the drone relative to the terminal device, it is convenient for the user to adjust the posture of the first photographing device based on the orientation information in the prompt information, reducing the number of times the user adjusts the posture of the first photographing device, and improving the user experience. experience.
在一实施例中,获取无人机相对于终端设备的第一方位信息的方式可以为:获取无人机的第一位置信息和终端设备的第二位置信息;根据第一位置信息和第二位置信息,确定无人机相对于所述终端设备的第一方位信息。或者获取无人机的第一位置信息、终端设备的第二位置信息和终端设备的指南针传感器输出的方向信息;根据第一位置信息、第二位置信息和方向信息,确定无人机相对于终端设备的第一方位信息。In one embodiment, the method of acquiring the first position information of the drone relative to the terminal device may be: acquiring the first position information of the drone and the second position information of the terminal device; according to the first position information and the second position information position information, and determine the first orientation information of the drone relative to the terminal device. Or obtain the first position information of the drone, the second position information of the terminal device and the direction information output by the compass sensor of the terminal device; according to the first position information, the second position information and the direction information, determine the relative position of the drone to the terminal The first orientation information of the device.
在一实施例中,在更新后的第一图像中存在持有终端设备的用户时,输出 第二提示信息,其中,第二提示信息用于提示用户停止调整第一拍摄区域,还用于提示用户持有终端设备的用户位于第一拍摄装置的拍摄区域内。通过在调整第一拍摄装置的姿态后拍摄到的第一图像中存在持有终端设备的用户时,输出用于提示用户停止调整第一拍摄装置的姿态的提示信息,使得用户知晓可以不需要再调整第一拍摄装置的姿态,极大的提高了用户体验。In an embodiment, when there is a user holding a terminal device in the updated first image, second prompt information is output, wherein the second prompt information is used to prompt the user to stop adjusting the first shooting area, and is also used to prompt the user to stop adjusting the first shooting area. The user holding the terminal device is located within the shooting area of the first shooting device. When there is a user holding a terminal device in the first image captured after adjusting the posture of the first photographing device, prompt information for prompting the user to stop adjusting the posture of the first photographing device is output, so that the user knows that it is not necessary to further adjust the posture of the first photographing device. Adjusting the posture of the first photographing device greatly improves the user experience.
在一实施例中,在第二图像中不存在无人机时,控制终端设备输出第三提示信息,其中,第三提示信息用于提示用户调整第二拍摄装置的第二拍摄区域;根据用户触发的第二姿态调整指令调整第二拍摄装置的姿态,其中,第二拍摄区域和显示的第二图像随着第二拍摄装置的姿态的变化而变化。通过在第二图像中不存在无人机时,输出提示信息,便于用户调整第二拍摄装置的姿态,提高用户体验。In one embodiment, when there is no drone in the second image, the terminal device is controlled to output third prompt information, wherein the third prompt information is used to prompt the user to adjust the second shooting area of the second shooting device; according to the user The triggered second posture adjustment instruction adjusts the posture of the second photographing device, wherein the second photographing area and the displayed second image change as the posture of the second photographing device changes. By outputting prompt information when there is no drone in the second image, it is convenient for the user to adjust the posture of the second photographing device, and the user experience is improved.
在一实施例中,控制终端设备输出第三提示信息,包括:获取终端设备相对于无人机的第二方位信息;根据第二方位信息,控制终端设备输出第三提示信息。其中,第二提示信息包含有终端设备相对于无人机的第二方位信息。通过输出包含有终端设备相对于无人机的方位信息的提示信息,便于用户基于该提示信息中的方位信息调整第二拍摄装置的姿态,减少用户调整第二拍摄装置的姿态的次数,提高用户体验。In one embodiment, controlling the terminal device to output the third prompt information includes: acquiring second orientation information of the terminal device relative to the drone; and controlling the terminal device to output the third prompt information according to the second orientation information. The second prompt information includes second orientation information of the terminal device relative to the drone. By outputting prompt information including the orientation information of the terminal device relative to the drone, it is convenient for the user to adjust the attitude of the second photographing device based on the orientation information in the prompt information, reducing the number of times the user adjusts the attitude of the second photographing device, and improving the user experience. experience.
在一实施例中,获取终端设备相对于无人机的第二方位信息的方式可以为:获取无人机的第一位置信息和终端设备的第二位置信息;根据第一位置信息和第二位置信息,确定终端设备相对于无人机的第二方位信息。或者获取无人机的第一位置信息、终端设备的第二位置信息和终端设备的指南针传感器输出的方向信息;根据第一位置信息、第二位置信息和方向信息,确定终端设备相对于无人机的第二方位信息。In one embodiment, the manner of acquiring the second orientation information of the terminal device relative to the drone may be: acquiring the first location information of the drone and the second location information of the terminal device; Position information, to determine the second orientation information of the terminal device relative to the drone. Or obtain the first location information of the drone, the second location information of the terminal device, and the direction information output by the compass sensor of the terminal device; The second orientation information of the machine.
在一实施例中,在更新后的第二图像中存在无人机时,输出第四提示信息,其中,第四提示信息用于提示用户停止调整第二拍摄区域,还用于提示用户无人机位于第二拍摄装置的拍摄区域内。通过在调整第二拍摄装置的姿态后拍摄到的第二图像中存在无人机时,输出用于提示用户停止调整第二拍摄装置的姿态的提示信息,使得用户知晓可以不需要再调整第二拍摄装置的姿态,极大的提高了用户体验。In one embodiment, when there is a drone in the updated second image, fourth prompt information is output, wherein the fourth prompt information is used to prompt the user to stop adjusting the second shooting area, and is also used to prompt the user that no one is there. The camera is located in the shooting area of the second shooting device. By outputting prompt information for prompting the user to stop adjusting the posture of the second photographing device when there is a drone in the second image captured after adjusting the posture of the second photographing device, the user knows that it is not necessary to adjust the second photographing device. The posture of the shooting device greatly improves the user experience.
在一实施例中,该拍摄控制页面还显示有无人机的飞行拍摄模式选项,用户可以通过该飞行拍摄模式选项选择无人机的飞行拍摄模式,无人机的飞行拍摄模式包括回归拍摄模式、远离拍摄模式、普通跟随模式和环绕跟随模式,在 第一拍摄装置处于回归拍摄模式时,提示用户维持第二拍摄设备的姿态不变,控制装置可以控制无人机由设定的位置向持有终端设备的用户所处的位置飞行,以靠近持有终端设备的用户,并在无人机的高度低于设定高度时进行悬停;在第一拍摄装置处于远离拍摄模式时,提示用户维持第二拍摄设备的姿态不变,控制装置可以控制无人机由持有终端设备的用户所处的位置向设定位置飞行;在无人机处于普通跟随模式时,控制装置可以根据持有终端设备的用户的运动速度和/或运动轨迹跟随持有终端设备的用户飞行;在无人机处于环绕跟随模式时,控制装置可以根据持有终端设备的用户的旋转速度,控制无人机环绕跟随持有终端设备的用户飞行。In one embodiment, the shooting control page also displays a flight shooting mode option of the drone, the user can select the flight shooting mode of the drone through the flight shooting mode option, and the flight shooting mode of the drone includes a return shooting mode. , away from shooting mode, normal follow mode and surround follow mode, when the first shooting device is in the return shooting mode, the user is prompted to maintain the attitude of the second shooting device unchanged, and the control device can control the drone from the set position to the holding position. The position of the user with the terminal equipment is to fly close to the user holding the terminal equipment, and hover when the height of the drone is lower than the set height; when the first shooting device is in the remote shooting mode, the user is prompted Keeping the attitude of the second shooting device unchanged, the control device can control the drone to fly from the position of the user holding the terminal device to the set position; when the drone is in the normal follow mode, the control device can The movement speed and/or movement trajectory of the user of the terminal device follows the user holding the terminal device; when the drone is in the follow-around mode, the control device can control the drone to surround the drone according to the rotation speed of the user holding the terminal device. Fly with the user holding the terminal device.
上述实施例提供的拍摄控制方法,通过获取由无人机中的第一拍摄装置对持有终端设备的用户进行拍摄得到的第一视频和由终端设备中的第二拍摄装置对无人机进行拍摄得到的第二视频,并对第一视频和第二视频进行合成,得到包含第一视频中的至少一部分视频帧和第二视频中的至少一部分视频帧的目标视频,使得合成得到的目标视频为多视角视频,极大的提高了视频的有趣性和震撼性。The shooting control method provided by the above-mentioned embodiment, by acquiring the first video obtained by the first shooting device in the drone shooting the user holding the terminal device, and the second shooting device in the terminal device shooting the drone. Shooting the obtained second video, and synthesizing the first video and the second video to obtain a target video comprising at least a part of video frames in the first video and at least a part of video frames in the second video, so that the target video obtained by synthesis For multi-view video, it greatly improves the fun and shock of the video.
请参阅图5,图5是本申请实施例提供的另一种拍摄控制方法的步骤示意流程图。Please refer to FIG. 5 , which is a schematic flowchart of steps of another shooting control method provided by an embodiment of the present application.
具体地,如图5所示,该拍摄控制方法包括步骤S201至S202。Specifically, as shown in FIG. 5 , the shooting control method includes steps S201 to S202.
S201、在控制所述第一拍摄装置对持有所述终端设备的所述用户进行拍摄的过程中,获取所述拍摄控制指令中的飞行轨迹;S201, in the process of controlling the first photographing device to photograph the user holding the terminal device, acquire the flight trajectory in the photographing control instruction;
S202、控制所述无人机按照所述飞行轨迹进行飞行,使得所述无人机远离持有所述终端设备的所述用户或者靠近持有所述终端设备的所述用户。S202. Control the drone to fly according to the flight trajectory, so that the drone is far away from the user holding the terminal device or close to the user holding the terminal device.
在控制第一拍摄装置对持有终端设备的用户进行拍摄的过程中,获取拍摄控制指令中的模式标识,并在该模式标识为回归拍摄模式对应的第一模式标识或远离拍摄模式对应的第二模式标识时,控制装置获取拍摄控制指令中的飞行轨迹,并控制无人机按照该飞行轨迹进行飞行,使得无人机远离持有终端设备的用户或者靠近持有终端设备的用户,以使第一拍摄装置能够拍摄到视角远离用户或靠近用户的视频。其中,飞行轨迹包括第一飞行轨迹和第二飞行轨迹中的任一项,因此可以控制无人机按照第一飞行轨迹进行飞行,使得无人机远离持有终端设备的用户;或者,控制无人机按照第二飞行轨迹进行飞行,使得无人机靠近持有终端设备的用户。In the process of controlling the first photographing device to photograph the user holding the terminal device, the mode identifier in the photographing control instruction is acquired, and the mode identifier is the first mode identifier corresponding to the return photographing mode or the first mode identifier corresponding to the remote photographing mode. When the second mode is marked, the control device obtains the flight trajectory in the shooting control command, and controls the drone to fly according to the flight trajectory, so that the drone is far away from the user holding the terminal device or close to the user holding the terminal device, so that the The first photographing device can photograph a video with a viewing angle far away from the user or close to the user. Wherein, the flight trajectory includes any one of the first flight trajectory and the second flight trajectory, so the drone can be controlled to fly according to the first flight trajectory, so that the drone is far away from the user holding the terminal device; The man-machine flies according to the second flight trajectory, so that the drone is close to the user holding the terminal device.
其中,拍摄控制指令中的模式标识用于指示无人机的飞行拍摄模式,不同 的飞行拍摄模式的模式标识不同,例如,模式标识包括第一模式标识、第二模式标识、第三模式标识和第四模式标识,且第一模式标识与回归拍摄模式对应、第二模式标识与远离拍摄模式对应、第三模式标识与普通跟随模式对应和第四模式标识与环绕跟随模式对应。The mode identification in the shooting control instruction is used to indicate the flight shooting mode of the drone, and the mode identifications of different flight shooting modes are different. For example, the mode identification includes a first mode identification, a second mode identification, a third mode identification and The fourth mode identification, and the first mode identification corresponds to the return shooting mode, the second mode identification corresponds to the remote shooting mode, the third mode identification corresponds to the normal follow mode, and the fourth mode identification corresponds to the surround follow mode.
其中,第一飞行轨迹包括第一起始航点和第一结束航点,无人机在第一起始航点时,无人机的悬停高度处于预设高度范围,无人机与持有终端设备的用户之间的水平距离处于预设距离范围,使得无人机与持有终端设备的用户保持一定范围,保证无人机的飞行安全。第二飞行轨迹包括第二起始航点和第二结束航点,无人机在第二结束航点时,无人机的悬停高度处于预设高度范围,无人机与持有终端设备的用户之间的水平距离处于预设距离范围,使得无人机与持有终端设备的用户保持一定范围,保证无人机的飞行安全。预设高度范围和预设距离范围可以基于实际情况进行设置,本申请实施例对此不做具体限定,例如,预设高度范围为2米至3米,预设距离范围为1米至2米。The first flight trajectory includes a first starting waypoint and a first ending waypoint. When the drone is at the first starting waypoint, the hovering height of the drone is within a preset height range, and the drone is connected to the holding terminal. The horizontal distance between users of the device is within the preset distance range, so that the drone and the user holding the terminal device maintain a certain range to ensure the flight safety of the drone. The second flight trajectory includes the second starting waypoint and the second ending waypoint. When the drone is at the second ending waypoint, the hovering height of the drone is within the preset height range, and the drone is connected to the terminal device held by the drone. The horizontal distance between the users of the device is within the preset distance range, so that the drone and the user holding the terminal device maintain a certain range to ensure the flight safety of the drone. The preset height range and the preset distance range may be set based on actual conditions, which are not specifically limited in this embodiment of the present application. For example, the preset height range is 2 meters to 3 meters, and the preset distance range is 1 meter to 2 meters. .
在一实施例中,在控制第一拍摄装置对持有终端设备的用户进行拍摄的过程中,控制无人机跟随持有终端设备的用户飞行。进一步地,在控制第一拍摄装置对持有终端设备的用户进行拍摄的过程中,获取拍摄控制指令中的模式标识,并在该模式标识为普通跟随模式对应的第三模式标识或环绕跟随模式对应的第四模式标识时,控制无人机跟随持有终端设备的用户飞行。通过控制无人机跟随持有终端设备的用户飞行,能够使得第一拍摄装置拍摄到视角为跟随持有终端设备的用户的视频。In one embodiment, in the process of controlling the first photographing apparatus to photograph the user holding the terminal device, the drone is controlled to follow the user holding the terminal device to fly. Further, in the process of controlling the first shooting device to shoot the user holding the terminal device, the mode identification in the shooting control instruction is obtained, and the mode identification is the third mode identification corresponding to the ordinary following mode or the surround following mode. When the corresponding fourth mode is identified, the drone is controlled to follow the user holding the terminal device to fly. By controlling the drone to follow the user holding the terminal device to fly, the first photographing device can shoot a video with a viewing angle of following the user holding the terminal device.
在一实施例中,控制无人机跟随持有终端设备的用户飞行的方式可以为:获取第一拍摄装置采集到的当前图像;根据当前图像控制无人机跟随持有终端设备的用户飞行。其中,根据第一拍摄装置采集到的当前图像控制无人机跟随持有终端设备的用户飞行的方式可以为:将第一拍摄装置采集到的当前图像输入至预设目标检测模型,以对第一拍摄装置采集到的当前图像中的用户进行目标检测,得到该用户的目标检测信息,其中,该目标检测信息包括该用户在世界坐标系下的尺寸信息、位置信息和该用户相对无人机的角度信息;根据该目标检测信息和预设目标跟踪算法,预测持有终端设备的用户在下一时刻的目标位置信息;根据该目标位置信息和无人机的当前位置信息,控制无人机跟随持有终端设备的用户飞行。In an embodiment, the method of controlling the drone to follow the user holding the terminal device to fly may be: acquiring the current image collected by the first photographing device; controlling the drone to follow the user holding the terminal device to fly according to the current image. The method of controlling the drone to follow the user holding the terminal device according to the current image collected by the first photographing device may be: inputting the current image collected by the first photographing device into the preset target detection model, so as to detect the first A user in a current image collected by a photographing device performs target detection, and obtains target detection information of the user, wherein the target detection information includes the size information and position information of the user in the world coordinate system and the relative drone of the user. according to the target detection information and the preset target tracking algorithm, predict the target position information of the user holding the terminal device at the next moment; according to the target position information and the current position information of the UAV, control the UAV to follow The user holding the terminal device flies.
其中,持有终端设备的用户在世界坐标系下的尺寸信息包括持有终端设备的用户的长度信息、宽度信息和/或高度信息,持有终端设备的用户相对于无人 机的角度信息包括持有终端设备的用户相对于无人机的yaw角、pitch角和roll角,预设目标检测模型包括2D目标检测模型或3D目标检测模型,3D目标检测模型为预先训练好的第一神经网络模型,2D目标检测模型为预先训练好的第二神经网络模型,第一神经网络模型与第二神经网络模型不同,第一神经网络模型包括卷积神经网络模型CNN、RCNN、Fast RCNN和Faster RCNN中的任一项,第二神经网络模型包括卷积神经网络模型CNN、RCNN、Fast RCNN和Faster RCNN中的任一项。Wherein, the size information of the user holding the terminal device in the world coordinate system includes the length information, width information and/or height information of the user holding the terminal device, and the angle information of the user holding the terminal device relative to the drone includes: The yaw angle, pitch angle and roll angle of the user holding the terminal device relative to the drone. The preset target detection model includes a 2D target detection model or a 3D target detection model. The 3D target detection model is the pre-trained first neural network. Model, the 2D target detection model is a pre-trained second neural network model. The first neural network model is different from the second neural network model. The first neural network model includes convolutional neural network models CNN, RCNN, Fast RCNN and Faster RCNN Any one of the second neural network model includes any one of the convolutional neural network model CNN, RCNN, Fast RCNN and Faster RCNN.
在一实施例中,对第一神经网络模型进行训练得到3D目标检测模型的方式可以为:获取第一训练样本数据,其中,第一训练样本数据包括多个第一图像以及每个第一图像中的待跟踪目标的第一目标检测信息;根据第一训练样本数据对第一神经网络模型进行迭代训练,直到迭代训练后的第一神经网络模型收敛,得到3D目标检测模型。通过包括待跟踪目标相对于无人机的yaw角、pitch角和roll角、待跟踪目标在相机坐标系下的位置信息和待跟踪目标在世界坐标系下的第一尺寸信息等的第一目标检测信息和对应的图像对第一神经网络模型进行训练,能够解决现有的3D目标检测算法无法在无人机上复用的问题,使得无人机能够基于3D目标检测模型对待跟踪目标进行目标检测,便于后续准确地控制无人机跟随持有终端设备的用户飞行。In one embodiment, the method of training the first neural network model to obtain the 3D target detection model may be: acquiring first training sample data, wherein the first training sample data includes a plurality of first images and each first image The first target detection information of the target to be tracked in ; the first neural network model is iteratively trained according to the first training sample data, until the iteratively trained first neural network model converges, and a 3D target detection model is obtained. By including the yaw angle, pitch angle and roll angle of the target to be tracked relative to the UAV, the position information of the target to be tracked in the camera coordinate system, and the first size information of the target to be tracked in the world coordinate system, etc. The detection information and corresponding images are used to train the first neural network model, which can solve the problem that the existing 3D target detection algorithm cannot be reused on the UAV, so that the UAV can detect the target to be tracked based on the 3D target detection model. , which is convenient for subsequent and accurate control of the drone to follow the user holding the terminal device to fly.
在一实施例中,对第二神经网络模型进行训练得到2D目标检测模型的方式可以为:获取第二训练样本数据,其中,所述第二训练样本数据包括多个第二图像以及每个第二图像中的待跟踪目标的第二目标检测信息;根据第二训练样本数据对第二神经网络模型进行迭代训练,直到迭代训练后的第二神经网络模型收敛,得到2D目标检测模型。通过包括待跟踪目标在所述当前拍摄图像内的位置信息和第二尺寸信息的第二目标检测信息和对应的图像对第二神经网络模型进行训练,能够得到2D目标检测模型,使得无人机能够基于2D目标检测模型对待跟踪目标进行目标检测,便于后续准确地控制无人机跟随持有终端设备的用户飞行。In one embodiment, the method of training the second neural network model to obtain the 2D target detection model may be: acquiring second training sample data, wherein the second training sample data includes a plurality of second images and each The second target detection information of the target to be tracked in the two images; the second neural network model is iteratively trained according to the second training sample data, until the iteratively trained second neural network model converges, and a 2D target detection model is obtained. By training the second neural network model with the second target detection information including the position information and the second size information of the target to be tracked in the current captured image and the corresponding image, a 2D target detection model can be obtained, so that the UAV can Target detection can be performed on the target to be tracked based on the 2D target detection model, which is convenient for subsequent and accurate control of the drone to follow the user holding the terminal device to fly.
其中,预设目标跟踪算法包括均值漂移算法、Kalman滤波算法、粒子滤波算法、对运动目标建模算法中任意一种。在其他一些实施例中,还可以使用其他目标跟踪算法,在此不做限定。The preset target tracking algorithm includes any one of a mean shift algorithm, a Kalman filter algorithm, a particle filter algorithm, and a moving target modeling algorithm. In some other embodiments, other target tracking algorithms may also be used, which are not limited herein.
在一实施例中,控制无人机跟随持有终端设备的用户飞行的方式可以为:获取持有终端设备的用户的目标旋转速度;根据目标旋转速度,控制无人机环绕跟随持有终端设备的用户飞行。其中,在控制无人机环绕跟随持有终端设备 的用户飞行的过程中,持有终端设备的用户始终处于第一拍摄装置的拍摄区域内,无人机始终处于第二拍摄装置的拍摄区域内。通过持有终端设备的用户的目标旋转速度,控制无人机环绕跟随持有终端设备的用户飞行,使得第一拍摄装置能够拍摄到更加绚丽精彩的视频。In one embodiment, the method of controlling the drone to follow the user holding the terminal device to fly may be: obtaining the target rotation speed of the user holding the terminal device; according to the target rotation speed, controlling the drone to follow the terminal device around the drone of users flying. Wherein, in the process of controlling the drone to fly around and follow the user holding the terminal device, the user holding the terminal device is always in the shooting area of the first shooting device, and the drone is always in the shooting area of the second shooting device . Through the target rotation speed of the user holding the terminal device, the drone is controlled to fly around and follow the user holding the terminal device, so that the first shooting device can shoot a more splendid video.
示例性的,如图6所示,持有终端设备的用户31按照旋转轨迹32原地旋转,且旋转方向为逆时针方向,且终端设备上的第二拍摄装置的拍摄区域为线条33和线条34之间的区域,无人机35位于线条33和线条34之间的区域,无人机35按照环绕跟随轨迹37环绕跟随用户持有终端设备的31飞行,且环绕方向也为逆时针方向,无人机35上的第一拍摄装置的拍摄区域为线条37和线条38之间的区域,持有终端设备的用户31位于线条37和线条38之间的区域。Exemplarily, as shown in FIG. 6 , the user 31 holding the terminal device rotates on the spot according to the rotation track 32, and the rotation direction is counterclockwise, and the shooting area of the second shooting device on the terminal device is the line 33 and the line 32. In the area between 34, the drone 35 is located in the area between the line 33 and the line 34. The drone 35 flies around and follows the user holding the terminal device 31 according to the follow-around track 37, and the surrounding direction is also counterclockwise. The photographing area of the first photographing device on the drone 35 is the area between the lines 37 and 38 , and the user 31 holding the terminal device is located in the area between the lines 37 and 38 .
在一实施例中,根据目标旋转速度,控制无人机环绕跟随持有终端设备的用户飞行的方式可以为:获取拍摄控制指令中的环绕起始航点,并控制无人机向该环绕起始航点飞行;在无人机抵达该环绕起始航点飞行后,根据持有终端设备的用户的目标旋转速度,控制无人机从该环绕起始航点开始环绕跟随持有终端设备的用户飞行。其中,该拍摄控制指令中的环绕起始航点可以是用户通过终端设备的拍摄控制页面输入的。In one embodiment, according to the target rotation speed, the method of controlling the drone to fly around and follow the user holding the terminal device may be: acquiring the starting waypoint of the surround in the shooting control instruction, and controlling the drone to fly towards the surround. Flying at the starting point; after the drone reaches the starting waypoint and flying around the starting point, according to the target rotation speed of the user holding the terminal device, the drone is controlled to start from the starting point of User flies. Wherein, the encircling starting waypoint in the shooting control instruction may be input by the user through the shooting control page of the terminal device.
在一实施例中,终端设备包括惯性测量单元和指南针传感器,获取持有终端设备的用户的目标旋转速度的方式可以为:获取该惯性测量单元采集到的第一传感数据,并根据该第一传感数据,确定持有终端设备的用户的目标旋转速度;或者,获取该惯性测量单元采集到的第一传感数据和该指南针传感器采集到的第二传感数据;根据第一传感数据和第二传感数据,确定持有终端设备的用户的目标旋转速度。通过惯性测量单元可以准确的确定持有终端设备的用户的目标旋转速度,便于无人机按照目标旋转速度准确的环绕跟随用户飞行。In an embodiment, the terminal device includes an inertial measurement unit and a compass sensor, and the method of acquiring the target rotation speed of the user holding the terminal device may be: acquiring the first sensing data collected by the inertial measurement unit, 1. sensing data, to determine the target rotation speed of the user holding the terminal device; or, to obtain the first sensing data collected by the inertial measurement unit and the second sensing data collected by the compass sensor; according to the first sensing data data and the second sensory data to determine the target rotational speed of the user holding the terminal device. The target rotation speed of the user holding the terminal device can be accurately determined by the inertial measurement unit, so that the drone can fly around and follow the user accurately according to the target rotation speed.
在一实施例中,获取持有终端设备的用户的目标旋转速度的方式可以为:获取第一拍摄装置在不同时刻采集到的图像,并确定设于该终端设备上的标识目标在每个图像中的像素坐标;根据该标识目标在每个图像中的像素坐标,确定持有终端设备的用户的目标旋转速度。其中,该标识目标包括设于终端设备上的增反膜片,增反膜片更加容易被第一拍摄装置识别到。通过第一拍摄装置在不同时刻采集到的图像可以确定设于该终端设备上的标识目标的旋转速度,由于标识目标设于终端设备上,因此可以将标识目标的旋转速度确定为持有终端设备的用户的目标旋转速度。In an embodiment, the method of acquiring the target rotation speed of the user holding the terminal device may be: acquiring images collected by the first photographing device at different times, and determining that the identification target set on the terminal device is in each image. According to the pixel coordinates of the identification target in each image, the target rotation speed of the user holding the terminal device is determined. Wherein, the identification target includes an anti-reflection film set on the terminal device, and the anti-reflection film is more easily recognized by the first photographing device. The rotation speed of the marking target set on the terminal equipment can be determined through the images collected by the first photographing device at different times. Since the marking target is set on the terminal equipment, the rotation speed of the marking target can be determined as holding the terminal equipment. The user's target rotation speed.
在一实施例中,终端设备包括惯性测量单元和指南针传感器,获取持有终 端设备的用户的目标旋转速度的方式可以为:获取惯性测量单元采集到的第一传感数据和设于终端设备上的标识目标的旋转速度;根据第一传感数据和标识目标的旋转速度,确定持有终端设备的用户的目标旋转速度。通过根据第一传感数据和标识目标的旋转速度综合确定持有终端设备的用户的目标旋转速度,可提高持有终端设备的用户的目标旋转速度的准确度。In an embodiment, the terminal device includes an inertial measurement unit and a compass sensor, and the method of acquiring the target rotation speed of the user holding the terminal device may be: acquiring the first sensor data collected by the inertial measurement unit and setting it on the terminal device. The target rotation speed of the user holding the terminal device is determined according to the first sensing data and the rotation speed of the identified target. By comprehensively determining the target rotation speed of the user holding the terminal device according to the first sensing data and the rotation speed of the identified target, the accuracy of the target rotation speed of the user holding the terminal device can be improved.
在一实施例中,根据第一传感数据和标识目标的旋转速度,确定持有终端设备的用户的目标旋转速度的方式可以为:根据第一传感数据,确定持有终端设备的用户的第一旋转速度,并根据第一旋转速度、第一旋转速度对应的第一预设权重系数、标识目标的旋转速度、标识目标的旋转速度对应的第二预设权重系数,确定持有终端设备的用户的目标旋转速度。其中,第一预设权重系数和第二预设权重系数可基于实际情况进行设置,本申请实施例对此不做具体限定,例如,第一预设权重系数为0.7,第二预设权重系数为0.3。例如,第一旋转速度为w 1、第一预设权重系数为k 1,标识目标的旋转速度为w 2,第二预设权重系数为k 2,则目标旋转速度可以为w 1*k 1+w 2*k 2。通过给不同方式确定的旋转速度设置不同的权重系数来确定持有终端设备的用户的目标旋转速度,可以提高持有终端设备的用户的目标旋转速度的准确度。 In an embodiment, according to the first sensing data and the rotation speed of the identified target, the method of determining the target rotation speed of the user holding the terminal device may be: according to the first sensing data, determining the rotation speed of the user holding the terminal device. The first rotation speed, and according to the first rotation speed, the first preset weight coefficient corresponding to the first rotation speed, the rotation speed of the identification target, and the second preset weight coefficient corresponding to the rotation speed of the identification target, determine the holding terminal device The user's target rotation speed. The first preset weight coefficient and the second preset weight coefficient may be set based on actual conditions, which are not specifically limited in this embodiment of the present application. For example, the first preset weight coefficient is 0.7, and the second preset weight coefficient is 0.7. is 0.3. For example, if the first rotation speed is w 1 , the first preset weight coefficient is k 1 , the rotation speed of the identification target is w 2 , and the second preset weight coefficient is k 2 , the target rotation speed may be w 1 *k 1 +w 2 *k 2 . By setting different weight coefficients for the rotation speeds determined in different ways to determine the target rotation speed of the user holding the terminal device, the accuracy of the target rotation speed of the user holding the terminal device can be improved.
在一实施例中,终端设备包括惯性测量单元和指南针传感器,获取持有终端设备的用户的目标旋转速度的方式可以为:获取惯性测量单元采集到的第一传感数据、指南针传感器采集到的第二传感数据和设于终端设备上的标识目标的旋转速度;根据第一传感数据、第二传感数据和所述标识目标的旋转速度,确定持有终端设备的用户的目标旋转速度。通过综合考虑惯性测量单元采集到的数据、指南针传感器采集到的数据和标识目标的旋转速度来确定目标旋转速度,可以进一步地提高目标旋转速度的准确度。In one embodiment, the terminal device includes an inertial measurement unit and a compass sensor, and the method of acquiring the target rotation speed of the user holding the terminal device may be: acquiring the first sensing data collected by the inertial measurement unit, the The second sensory data and the rotation speed of the identification target set on the terminal device; according to the first sensory data, the second sensory data and the rotation speed of the identification target, determine the target rotation speed of the user holding the terminal device . By comprehensively considering the data collected by the inertial measurement unit, the data collected by the compass sensor and the rotation speed of the identified target to determine the target rotation speed, the accuracy of the target rotation speed can be further improved.
在一实施例中,根据第一传感数据、第二传感数据和所述标识目标的旋转速度,确定持有终端设备的用户的目标旋转速度的方式可以为:根据第一传感数据和第二传感数据,确定持有终端设备的用户的第二旋转速度;根据第二旋转速度、第二旋转速度对应的第三预设权重系数、标识目标的旋转速度、标识目标的旋转速度对应的第二预设权重系数,确定持有终端设备的用户的目标旋转速度。例如,第二旋转速度为w 3、第三预设权重系数为k 3,标识目标的旋转速度为w 2,第二预设权重系数为k 2,则目标旋转速度可以为w 3*k 3+w 2*k 2。通过给不同方式确定的旋转速度设置不同的权重系数来确定持有终端设备的用户的目标旋转速度,可以提高持有终端设备的用户的目标旋转速度的准确度。 In an embodiment, according to the first sensing data, the second sensing data and the rotation speed of the identified target, the method of determining the target rotation speed of the user holding the terminal device may be: according to the first sensing data and the The second sensing data determines the second rotation speed of the user holding the terminal device; according to the second rotation speed, the third preset weight coefficient corresponding to the second rotation speed, the rotation speed of the identification target, and the rotation speed of the identification target corresponding to The second preset weight coefficient determines the target rotation speed of the user holding the terminal device. For example, if the second rotation speed is w 3 , the third preset weight coefficient is k 3 , the rotation speed of the identification target is w 2 , and the second preset weight coefficient is k 2 , the target rotation speed may be w 3 *k 3 +w 2 *k 2 . By setting different weight coefficients for the rotation speeds determined in different ways to determine the target rotation speed of the user holding the terminal device, the accuracy of the target rotation speed of the user holding the terminal device can be improved.
在一实施例中,根据目标旋转速度,控制无人机环绕跟随持有终端设备的用户飞行的方式可以为:获取无人机的环绕飞行角度;控制无人机按照目标旋转速度环绕跟随持有终端设备的所述用户飞行,直至无人机环绕用户飞行的角度达到环绕飞行角度。其中,该环绕飞行角度可由用户通过终端设备的拍摄控制页面设置,也可以是提取预设好的,本申请实施例对此不做具体限定,例如,该环绕飞行角度包括90°、120°、180°、240°、270°、300°、360°等。In one embodiment, according to the target rotation speed, the method of controlling the drone to fly around and follow the user holding the terminal device may be: obtaining the surrounding flight angle of the drone; controlling the drone to follow and hold the drone according to the target rotation speed The user of the terminal device flies until the angle at which the drone flies around the user reaches a circling flight angle. The surrounding flight angle can be set by the user through the shooting control page of the terminal device, or can be extracted and preset, which is not specifically limited in this embodiment of the present application. For example, the surrounding flight angle includes 90°, 120°, 180°, 240°, 270°, 300°, 360°, etc.
在一实施例中,在控制无人机环绕跟随用户飞行的过程中,若检测到终端设备发送的抛飞控制指令时,确定无人机的抛飞方向;控制无人机沿着抛飞方向飞行。其中,确定无人机的抛飞方向的方式可以为:若检测到终端设备发送的抛飞控制指令时,则确定无人机在当前位置的飞行速度,并确定该飞行速度的水平分量的方向,且将该飞行速度的水平分量的方向确定为无人机的抛飞方向。终端设备包括抛飞触发控键,当检测到用户对该抛飞触发控键的触发操作时,生成抛飞控制指令,该抛飞触发控键可以为实体按键,也可以为虚拟按键,本申请实施例对此不做具体限定。通过控制无人机沿着抛飞方向飞行,能够使得第一拍摄装置拍摄到具备抛飞效果的视频。In one embodiment, in the process of controlling the drone to fly around and follow the user, if a throwing control command sent by the terminal device is detected, the throwing direction of the drone is determined; the drone is controlled along the throwing direction. flight. The method of determining the flying direction of the UAV may be as follows: if the flying control command sent by the terminal device is detected, the flying speed of the UAV at the current position is determined, and the direction of the horizontal component of the flying speed is determined. , and the direction of the horizontal component of the flight speed is determined as the flying direction of the UAV. The terminal device includes a flight trigger control key, and when a user triggering operation on the flight trigger control key is detected, a flight control instruction is generated, and the flight trigger control key can be a physical button or a virtual button. This application The embodiment does not specifically limit this. By controlling the drone to fly along the throwing direction, the first photographing device can shoot a video with the throwing effect.
在一实施例中,示例性的,如图7所示,持有终端设备的用户41按照旋转轨迹42原地旋转,且旋转方向为逆时针方向,无人机从环绕起始航点43开始按照环绕跟随轨迹44环绕跟随持有终端设备的用户41飞行,且环绕方向也为逆时针方向,检测到终端设备发送的抛飞控制指令时,无人机环绕飞行至航点44,此时无人机由航点44沿着抛飞轨迹45的方向飞行,并在无人机抵达航点46时进行悬停。In one embodiment, exemplarily, as shown in FIG. 7 , the user 41 holding the terminal device rotates on the spot according to the rotation trajectory 42 , and the rotation direction is counterclockwise, and the drone starts around the starting waypoint 43 Follow the user 41 holding the terminal device to fly around according to the follow-around trajectory 44, and the surrounding direction is also counterclockwise. When detecting the flight control command sent by the terminal device, the drone flies around to the waypoint 44. At this time, there is no The man-machine flies along the direction of the throwing trajectory 45 from the waypoint 44 , and hovers when the drone reaches the waypoint 46 .
在一实施例中,控制无人机沿着抛飞方向飞行的方式可以为:控制无人机沿着抛飞方向飞行,直至无人机沿着抛飞方向飞行的距离达到预设距离;或者控制无人机沿着抛飞方向飞行,直至无人机沿着抛飞方向飞行的距离达到抛飞控制指令中的抛飞距离;或者,控制无人机沿着抛飞方向进行减速飞行,直至无人机的水平飞行速度变为零。其中,在控制无人机沿着抛飞方向飞行的过程中,调整第一拍摄装置的姿态,以使持有终端设备的用户始终处于第一拍摄装置的拍摄区域内。In one embodiment, the manner of controlling the drone to fly along the throwing direction may be: controlling the drone to fly along the throwing direction until the distance of the drone flying along the throwing direction reaches a preset distance; or Control the drone to fly along the throwing direction until the flying distance of the drone along the throwing direction reaches the throwing distance in the throwing control command; or, control the drone to decelerate and fly along the throwing direction until The horizontal flight speed of the drone becomes zero. Wherein, in the process of controlling the drone to fly along the throwing direction, the posture of the first photographing device is adjusted so that the user holding the terminal device is always within the photographing area of the first photographing device.
在一实施例中,在控制无人机环绕跟随持有终端设备的用户飞行的过程中,调整第一拍摄装置的姿态,使得调整姿态后的第一拍摄装置采集到的图像中的持有终端设备的用户位于该图像中的预设位置。其中,该预设位置可以为图像的中央位置,也可以为图像中的其余位置,本申请对此不做具体限定。通过调 整第一拍摄装置的姿态,使得调整姿态后的第一拍摄装置采集到的图像中的持有终端设备的用户位于该图像中的预设位置,可以使得第一拍摄装置的拍摄主体始终为持有终端设备的用户,提高拍摄效果。In one embodiment, in the process of controlling the drone to fly around and follow the user holding the terminal device, the posture of the first photographing device is adjusted so that the holding terminal in the image collected by the first photographing device after the posture is adjusted. The user of the device is in a preset position in this image. Wherein, the preset position may be the central position of the image, or may be other positions in the image, which is not specifically limited in this application. By adjusting the posture of the first photographing device so that the user holding the terminal device in the image captured by the first photographing device after the posture is adjusted is located at a preset position in the image, the photographing subject of the first photographing device can always be Users with terminal equipment can improve the shooting effect.
在一实施例中,在控制无人机环绕跟随持有终端设备的用户飞行的过程中,获取第一拍摄装置采集到的图像,并确定持有终端设备的用户在该图像中的位置是否为预设位置;若持有终端设备的用户在该图像中的位置不为预设位置,且搭载第一拍摄装置的云台的偏转角度大于预设角度,则控制终端设备输出旋转速度调整提示信息,以提示用户调整自身的旋转速度,保证无人机能够更好的环绕跟随持有终端设备的用户飞行,提高视频拍摄效果和用户体验。In one embodiment, in the process of controlling the drone to fly around and follow the user holding the terminal device, the image captured by the first photographing device is acquired, and it is determined whether the position of the user holding the terminal device in the image is The preset position; if the position of the user holding the terminal device in the image is not the preset position, and the deflection angle of the pan/tilt head equipped with the first photographing device is greater than the preset angle, the terminal device is controlled to output rotation speed adjustment prompt information , to prompt the user to adjust its own rotation speed, to ensure that the drone can better fly around and follow the user holding the terminal device, and to improve the video shooting effect and user experience.
上述实施例提供的拍摄控制方法,通过在控制第一拍摄装置对持有终端设备的用户进行拍摄的过程中,获取拍摄控制指令中的飞行轨迹,并控制无人机按照该飞行轨迹进行飞行,使得无人机远离持有终端设备的用户或者靠近持有终端设备的用户,以使第一拍摄装置能够拍摄到视角远离用户或靠近用户的视频。In the shooting control method provided by the above embodiment, in the process of controlling the first shooting device to shoot the user holding the terminal device, the flight trajectory in the shooting control instruction is acquired, and the drone is controlled to fly according to the flight trajectory, The drone is kept away from the user holding the terminal device or close to the user holding the terminal device, so that the first photographing device can shoot a video with a viewing angle far away from the user or close to the user.
请参阅图8,图8是本申请实施例提供的一种控制装置的结构示意性框图。Please refer to FIG. 8. FIG. 8 is a schematic structural block diagram of a control apparatus provided by an embodiment of the present application.
如图8所示,该控制装置300包括处理器301和存储器302,处理器301和存储器302通过总线303连接,该总线303比如为I2C(Inter-integrated Circuit)总线。该控制装置300用于控制无人机和终端设备,该无人机包括第一拍摄装置,终端设备包括第二拍摄装置,无人机与终端设备通信连接。As shown in FIG. 8 , the control device 300 includes a processor 301 and a memory 302, and the processor 301 and the memory 302 are connected through a bus 303, such as an I2C (Inter-integrated Circuit) bus. The control device 300 is used to control the drone and the terminal device, the drone includes a first photographing device, the terminal device includes a second photographing device, and the drone is communicatively connected to the terminal device.
具体地,处理器301可以是微控制单元(Micro-controller Unit,MCU)、中央处理单元(Central Processing Unit,CPU)或数字信号处理器(Digital Signal Processor,DSP)等。Specifically, the processor 301 may be a micro-controller unit (Micro-controller Unit, MCU), a central processing unit (Central Processing Unit, CPU) or a digital signal processor (Digital Signal Processor, DSP) or the like.
具体地,存储器302可以是Flash芯片、只读存储器(ROM,Read-Only Memory)磁盘、光盘、U盘或移动硬盘等。Specifically, the memory 302 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) magnetic disk, an optical disk, a U disk, a mobile hard disk, and the like.
其中,所述处理器301用于运行存储在存储器302中的计算机程序,并在执行所述计算机程序时实现如下步骤:Wherein, the processor 301 is used for running the computer program stored in the memory 302, and implements the following steps when executing the computer program:
获取第一视频,所述第一视频是所述控制装置根据由用户触发的拍摄控制指令控制所述第一拍摄装置对持有所述终端设备的所述用户进行拍摄得到的;acquiring a first video, where the first video is obtained by the control device controlling the first shooting device to shoot the user holding the terminal device according to a shooting control instruction triggered by the user;
获取第二视频,所述第二视频是所述控制装置根据所述拍摄控制指令控制所述第二拍摄装置对所述无人机进行拍摄得到的;acquiring a second video, where the second video is obtained by the control device controlling the second shooting device to shoot the drone according to the shooting control instruction;
对所述第一视频和第二视频进行合成,得到目标视频,所述目标视频包括所述第一视频中的至少一部分视频帧和所述第二视频中的至少一部分视频帧。The first video and the second video are synthesized to obtain a target video, where the target video includes at least a part of video frames in the first video and at least a part of video frames in the second video.
在一实施例中,所述第一视频和所述第二视频的起始拍摄时刻和结束拍摄时刻相同。In an embodiment, the start and end shooting moments of the first video and the second video are the same.
在一实施例中,在对所述用户和所述无人机进行拍摄的过程中,所述用户处于所述第一拍摄装置的拍摄区域内,同时所述无人机处于所述第二拍摄装置的拍摄区域内。In one embodiment, during the process of photographing the user and the drone, the user is in the photographing area of the first photographing device, while the drone is photographing the second within the shooting area of the device.
在一实施例中,所述第一视频包括多个第一视频帧,每个所述第一视频帧均包括所述用户,所述第一视频帧中的所述用户位于所述第一视频帧的预设位置,所述第二视频包括多个第二视频帧,每个所述第二视频帧均包括所述无人机。In one embodiment, the first video includes a plurality of first video frames, each of the first video frames includes the user, and the user in the first video frame is located in the first video frame. The preset position of the frame, the second video includes a plurality of second video frames, and each of the second video frames includes the drone.
在一实施例中,所述目标视频包括多个第一视频帧组和多个第二视频帧组,所述目标视频中的所述第一视频帧组与所述第二视频帧组相邻,所述第一视频帧组包括一个或多个所述第一视频帧,所述第二视频帧组包括一个或多个所述第二视频帧。In one embodiment, the target video includes a plurality of first video frame groups and a plurality of second video frame groups, and the first video frame group in the target video is adjacent to the second video frame group , the first video frame group includes one or more first video frames, and the second video frame group includes one or more second video frames.
在一实施例中,所述处理器还用于实现以下步骤:In one embodiment, the processor is further configured to implement the following steps:
控制所述终端设备输出拍摄提示信息,并获取用户触发的拍摄控制指令,其中,所述拍摄提示信息用于提示所述用户拍摄视频;Controlling the terminal device to output shooting prompt information, and acquiring a shooting control instruction triggered by the user, wherein the shooting prompt information is used to prompt the user to shoot a video;
所述获取第一视频,包括:The acquiring the first video includes:
根据所述拍摄控制指令,控制所述第一拍摄装置对持有所述终端设备的所述用户进行拍摄,得到第一视频;According to the shooting control instruction, controlling the first shooting device to shoot the user holding the terminal device to obtain a first video;
所述获取第二视频,包括:The obtaining of the second video includes:
根据所述拍摄控制指令,控制所述第二拍摄装置对所述无人机进行拍摄,得到第二视频。According to the shooting control instruction, the second shooting device is controlled to shoot the drone to obtain a second video.
在一实施例中,所述处理器实现控制所述终端设备输出拍摄提示信息之前,还用于实现:In one embodiment, before the processor controls the terminal device to output the shooting prompt information, the processor is further configured to:
控制所述终端设备显示拍摄控制页面,其中,所述拍摄控制页面包括视角切换图标和所述第一拍摄装置采集到的第一图像;controlling the terminal device to display a shooting control page, wherein the shooting control page includes a viewing angle switching icon and a first image collected by the first shooting device;
响应于用户对所述第一图像中的用户的触控操作,将所述第一图像中的用户作为所述第一拍摄装置的第一拍摄主体;In response to the user's touch operation on the user in the first image, the user in the first image is used as the first photographing subject of the first photographing device;
响应于用户对所述视角切换图标的触发操作,将所述拍摄控制页面内的所述第一图像切换为所述第二拍摄装置采集到的第二图像;In response to the user's triggering operation on the viewing angle switching icon, switching the first image in the shooting control page to the second image collected by the second shooting device;
响应于用户对所述第二图像中的无人机的触发操作,将所述第二图像中的无人机作为所述第二拍摄装置的第二拍摄主体;In response to the user's triggering operation on the drone in the second image, the drone in the second image is used as the second photographing subject of the second photographing device;
在确定所述第一拍摄装置的第一拍摄主体为所述用户,且所述第二拍摄装置的第二拍摄主体为所述无人机时,控制所述终端设备输出拍摄提示信息。When it is determined that the first photographing subject of the first photographing device is the user and the second photographing subject of the second photographing device is the drone, the terminal device is controlled to output photographing prompt information.
在一实施例中,所述处理器还用于实现以下步骤:In one embodiment, the processor is further configured to implement the following steps:
在所述第一图像中不存在所述用户时,控制所述终端设备输出第一提示信息,所述第一提示信息用于提示用户调整所述第一拍摄装置的第一拍摄区域;When the user does not exist in the first image, controlling the terminal device to output first prompt information, where the first prompt information is used to prompt the user to adjust the first shooting area of the first shooting device;
根据用户触发的第一姿态调整指令调整所述第一拍摄装置的姿态,所述第一拍摄区域和显示的所述第一图像随着所述第一拍摄装置的姿态的变化而变化。The posture of the first photographing device is adjusted according to a first posture adjustment instruction triggered by the user, and the first photographing area and the displayed first image change with the posture of the first photographing device.
在一实施例中,所述控制所述终端设备输出第一提示信息,包括:In an embodiment, the controlling the terminal device to output the first prompt information includes:
获取所述无人机相对于所述终端设备的第一方位信息;acquiring first orientation information of the drone relative to the terminal device;
根据所述第一方位信息,控制所述终端设备输出第一提示信息。According to the first orientation information, the terminal device is controlled to output first prompt information.
在一实施例中,所述处理器还用于实现以下步骤:In one embodiment, the processor is further configured to implement the following steps:
在更新后的所述第一图像中存在所述用户时,输出第二提示信息,其中,所述第二提示信息用于提示用户停止调整所述第一拍摄区域。When the user exists in the updated first image, second prompt information is output, wherein the second prompt information is used to prompt the user to stop adjusting the first shooting area.
在一实施例中,所述处理器还用于实现以下步骤:In one embodiment, the processor is further configured to implement the following steps:
在所述第二图像中不存在所述无人机时,控制所述终端设备输出第三提示信息,所述第三提示信息用于提示用户调整所述第二拍摄装置的第二拍摄区域;When the drone does not exist in the second image, controlling the terminal device to output third prompt information, where the third prompt information is used to prompt the user to adjust the second shooting area of the second shooting device;
根据用户触发的第二姿态调整指令调整所述第二拍摄装置的姿态,所述第二拍摄区域和显示的所述第二图像随着所述第二拍摄装置的姿态的变化而变化。The posture of the second photographing device is adjusted according to the second posture adjustment instruction triggered by the user, and the second photographing area and the displayed second image change with the change of the posture of the second photographing device.
在一实施例中,所述控制所述终端设备输出第三提示信息,包括:In an embodiment, the controlling the terminal device to output the third prompt information includes:
获取所述终端设备相对于所述无人机的第二方位信息;acquiring the second orientation information of the terminal device relative to the drone;
根据所述第二方位信息,控制所述终端设备输出第三提示信息。According to the second orientation information, the terminal device is controlled to output third prompt information.
在一实施例中,所述处理器还用于实现以下步骤:In one embodiment, the processor is further configured to implement the following steps:
在更新后的所述第二图像中存在所述无人机时,输出第四提示信息,其中,所述第四提示信息用于提示用户停止调整所述第二拍摄区域。When the drone exists in the updated second image, fourth prompt information is output, wherein the fourth prompt information is used to prompt the user to stop adjusting the second shooting area.
在一实施例中,所述处理器还用于实现以下步骤:In one embodiment, the processor is further configured to implement the following steps:
在控制所述第一拍摄装置对持有所述终端设备的所述用户进行拍摄的过程中,获取所述拍摄控制指令中的飞行轨迹;in the process of controlling the first photographing device to photograph the user holding the terminal device, acquiring the flight trajectory in the photographing control instruction;
控制所述无人机按照所述飞行轨迹进行飞行,使得所述无人机远离持有所述终端设备的所述用户或者靠近持有所述终端设备的所述用户。The drone is controlled to fly according to the flight trajectory, so that the drone is far away from the user holding the terminal device or close to the user holding the terminal device.
在一实施例中,所述飞行轨迹包括第一飞行轨迹和第二飞行轨迹中的任一项,所述控制所述无人机按照所述飞行轨迹进行飞行,包括:In one embodiment, the flight trajectory includes any one of a first flight trajectory and a second flight trajectory, and the controlling the UAV to fly according to the flight trajectory includes:
控制所述无人机按照所述第一飞行轨迹进行飞行,使得所述无人机远离持 有所述终端设备的所述用户;Controlling the drone to fly according to the first flight trajectory, so that the drone is far away from the user holding the terminal device;
或者or
控制所述无人机按照所述第二飞行轨迹进行飞行,使得所述无人机靠近持有所述终端设备的所述用户。The drone is controlled to fly according to the second flight trajectory, so that the drone is close to the user holding the terminal device.
在一实施例中,所述处理器还用于实现以下步骤:In one embodiment, the processor is further configured to implement the following steps:
在控制所述第一拍摄装置对持有所述终端设备的所述用户进行拍摄的过程中,控制所述无人机跟随持有所述终端设备的所述用户飞行。In the process of controlling the first photographing apparatus to photograph the user holding the terminal device, the drone is controlled to follow the user holding the terminal device to fly.
在一实施例中,所述控制所述无人机跟随持有所述终端设备的所述用户飞行,包括:In one embodiment, the controlling the drone to follow the user holding the terminal device to fly includes:
获取所述第一拍摄装置采集到的当前图像;obtaining the current image collected by the first photographing device;
根据所述当前图像控制所述无人机跟随持有所述终端设备的所述用户飞行。The drone is controlled to follow the user holding the terminal device to fly according to the current image.
在一实施例中,所述根据所述当前图像控制所述无人机跟随持有所述终端设备的所述用户飞行,包括:In an embodiment, the controlling the drone to follow the user holding the terminal device to fly according to the current image includes:
将所述当前图像输入至预设目标检测模型,以对所述当前图像中的所述用户进行目标检测,得到所述用户的目标检测信息,其中,所述目标检测信息包括所述用户在世界坐标系下的尺寸信息、位置信息和所述用户相对所述无人机的角度信息;Inputting the current image into a preset target detection model, to perform target detection on the user in the current image, and obtain target detection information of the user, wherein the target detection information includes the user in the world Size information, position information and angle information of the user relative to the drone in the coordinate system;
根据所述尺寸信息、所述角度信息和预设目标跟踪算法,预测所述用户在下一时刻的目标位置信息;According to the size information, the angle information and the preset target tracking algorithm, predict the target position information of the user at the next moment;
根据所述目标位置信息和所述无人机的当前位置信息,控制所述无人机跟随持有所述终端设备的所述用户飞行。According to the target location information and the current location information of the drone, the drone is controlled to follow the user holding the terminal device to fly.
在一实施例中,所述控制所述无人机跟随持有所述终端设备的所述用户飞行,包括:In one embodiment, the controlling the drone to follow the user holding the terminal device to fly includes:
获取持有所述终端设备的所述用户的目标旋转速度;obtaining the target rotation speed of the user holding the terminal device;
根据所述目标旋转速度,控制所述无人机环绕跟随持有所述终端设备的所述用户飞行。According to the target rotation speed, the drone is controlled to fly around and follow the user holding the terminal device.
在一实施例中,所述终端设备包括惯性测量单元和指南针传感器,所述获取持有所述终端设备的所述用户的目标旋转速度,包括:In one embodiment, the terminal device includes an inertial measurement unit and a compass sensor, and the acquiring the target rotation speed of the user holding the terminal device includes:
获取所述惯性测量单元采集到的第一传感数据,并根据所述第一传感数据,确定持有所述终端设备的所述用户的目标旋转速度;acquiring the first sensing data collected by the inertial measurement unit, and determining the target rotation speed of the user holding the terminal device according to the first sensing data;
或者or
获取所述惯性测量单元采集到的第一传感数据和所述指南针传感器采集到 的第二传感数据;Obtain the first sensing data collected by the inertial measurement unit and the second sensing data collected by the compass sensor;
根据所述第一传感数据和所述第二传感数据,确定持有所述终端设备的所述用户的目标旋转速度。According to the first sensing data and the second sensing data, a target rotation speed of the user holding the terminal device is determined.
在一实施例中,所述获取持有所述终端设备的所述用户的目标旋转速度,包括:In an embodiment, the acquiring the target rotation speed of the user holding the terminal device includes:
获取所述第一拍摄装置在不同时刻采集到的图像,并确定设于所述终端设备上的标识目标在每个所述图像中的像素坐标;Acquiring images collected by the first photographing device at different moments, and determining the pixel coordinates of the identification target set on the terminal device in each of the images;
根据所述标识目标在每个所述图像中的像素坐标,确定持有所述终端设备的所述用户的目标旋转速度。According to the pixel coordinates of the identification target in each of the images, the target rotation speed of the user holding the terminal device is determined.
在一实施例中,所述标识目标包括设于所述终端设备上的增反膜片。In one embodiment, the identification target includes an antireflection film provided on the terminal device.
在一实施例中,所述终端设备包括惯性测量单元和指南针传感器,所述获取持有所述终端设备的所述用户的目标旋转速度,包括:In one embodiment, the terminal device includes an inertial measurement unit and a compass sensor, and the acquiring the target rotation speed of the user holding the terminal device includes:
获取所述惯性测量单元采集到的第一传感数据和设于所述终端设备上的标识目标的旋转速度;Acquiring the first sensing data collected by the inertial measurement unit and the rotation speed of the identified target set on the terminal device;
根据所述第一传感数据和所述标识目标的旋转速度,确定持有所述终端设备的所述用户的目标旋转速度;determining the target rotation speed of the user holding the terminal device according to the first sensing data and the rotation speed of the identified target;
或者or
获取所述惯性测量单元采集到的第一传感数据、所述指南针传感器采集到的第二传感数据和设于所述终端设备上的标识目标的旋转速度;Acquiring the first sensing data collected by the inertial measurement unit, the second sensing data collected by the compass sensor, and the rotation speed of the marked target set on the terminal device;
根据所述第一传感数据、所述第二传感数据和所述标识目标的旋转速度,确定持有所述终端设备的所述用户的目标旋转速度。According to the first sensing data, the second sensing data and the rotation speed of the identified target, the target rotation speed of the user holding the terminal device is determined.
在一实施例中,所述根据所述目标旋转速度,控制所述无人机环绕跟随持有所述终端设备的所述用户飞行,包括:In one embodiment, controlling the drone to fly around and following the user holding the terminal device according to the target rotation speed includes:
获取所述无人机的环绕飞行角度;obtain the surrounding flight angle of the UAV;
控制所述无人机按照所述目标旋转速度环绕跟随持有所述终端设备的所述用户飞行,直至所述无人机环绕所述用户飞行的角度达到所述环绕飞行角度。The drone is controlled to fly around and follow the user holding the terminal device according to the target rotation speed, until the flying angle of the drone around the user reaches the around flying angle.
在一实施例中,所述处理器还用于实现以下步骤:In one embodiment, the processor is further configured to implement the following steps:
在控制所述无人机环绕跟随所述用户飞行的过程中,若检测到所述终端设备发送的抛飞控制指令时,确定所述无人机的抛飞方向;In the process of controlling the drone to fly around and follow the user, if a throwing control command sent by the terminal device is detected, determining the throwing direction of the drone;
控制所述无人机沿着所述抛飞方向飞行。The drone is controlled to fly along the throwing direction.
在一实施例中,所述控制所述无人机沿着所述抛飞方向飞行,包括:In one embodiment, the controlling the drone to fly along the throwing direction includes:
控制所述无人机沿着所述抛飞方向飞行,直至所述无人机沿着所述抛飞方 向飞行的距离达到预设距离;Controlling the drone to fly along the throwing direction, until the distance that the drone flies along the throwing direction reaches a preset distance;
或者or
控制所述无人机沿着所述抛飞方向飞行,直至所述无人机沿着所述抛飞方向飞行的距离达到所述抛飞控制指令中的抛飞距离;Controlling the drone to fly along the throwing direction until the flying distance of the drone along the throwing direction reaches the throwing distance in the throwing control instruction;
或者or
控制所述无人机沿着所述抛飞方向进行减速飞行,直至所述无人机的水平飞行速度变为零。The UAV is controlled to decelerate along the throwing direction until the horizontal flight speed of the UAV becomes zero.
在一实施例中,所述处理器还用于实现以下步骤:In one embodiment, the processor is further configured to implement the following steps:
在控制所述无人机环绕跟随所述用户飞行的过程中,调整所述第一拍摄装置的姿态,使得调整姿态后的所述第一拍摄装置采集到的图像中的所述用户位于所述图像中的预设位置。During the process of controlling the drone to fly around and follow the user, the posture of the first photographing device is adjusted so that the user in the image captured by the first photographing device after the posture is adjusted is located in the Preset positions in the image.
需要说明的是,所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的控制装置的具体工作过程,可以参考前述拍摄控制方法实施例中的对应过程,在此不再赘述。It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of description, for the specific working process of the control device described above, reference may be made to the corresponding process in the above-mentioned embodiments of the shooting control method, which is not repeated here. Repeat.
请参阅图9,图9是本申请实施例提供的一种无人机的结构示意性框图。Please refer to FIG. 9. FIG. 9 is a schematic structural block diagram of an unmanned aerial vehicle provided by an embodiment of the present application.
如图9所示,无人机400包括:机体410、动力系统420、第一拍摄装置430、第一无线通信装置440和控制装置450,动力系统420、第一拍摄装置430、第一无线通信装置440和控制装置450设于机体410上,动力系统420用于为无人机400提供飞行动力,第一拍摄装置430用于第一视频,第一无线通信装置440用于与终端设备中的第二无线通信装置进行通信,控制装置450用于控制第一拍摄装置430拍摄第一视频和/或无人机400飞行。As shown in FIG. 9 , the drone 400 includes: a body 410 , a power system 420 , a first photographing device 430 , a first wireless communication device 440 and a control device 450 , a power system 420 , a first photographing device 430 , and a first wireless communication device The device 440 and the control device 450 are arranged on the body 410, the power system 420 is used to provide flight power for the UAV 400, the first photographing device 430 is used for the first video, and the first wireless communication device 440 is used to communicate with the terminal equipment. The second wireless communication device performs communication, and the control device 450 is configured to control the first shooting device 430 to shoot the first video and/or the drone 400 to fly.
需要说明的是,所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的无人机的具体工作过程,可以参考前述拍摄控制方法实施例中的对应过程,在此不再赘述。It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of the description, for the specific working process of the UAV described above, reference may be made to the corresponding process in the above-mentioned embodiments of the shooting control method. Repeat.
请参阅图10,图10是本申请实施例提供的一种终端设备的结构示意性框图。Please refer to FIG. 10. FIG. 10 is a schematic structural block diagram of a terminal device provided by an embodiment of the present application.
如图10所示,终端设备500包括第二拍摄装置510、显示装置520、第二无线通信装置530和控制装置540,第二拍摄装置510用于拍摄第二视频,显示装置520用于显示图像或人机交互界面,第二无线通信装置530用于与无人机中的第一无线通信装置进行通信,控制装置用于控制第二拍摄装置拍摄第二视频。As shown in FIG. 10 , the terminal device 500 includes a second photographing apparatus 510 , a display apparatus 520 , a second wireless communication apparatus 530 and a control apparatus 540 , the second photographing apparatus 510 is used for photographing a second video, and the display apparatus 520 is used for displaying images Or a human-computer interaction interface, the second wireless communication device 530 is used to communicate with the first wireless communication device in the drone, and the control device is used to control the second shooting device to shoot the second video.
需要说明的是,所属领域的技术人员可以清楚地了解到,为了描述的方便 和简洁,上述描述的终端设备的具体工作过程,可以参考前述拍摄控制方法实施例中的对应过程,在此不再赘述。It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of the description, for the specific working process of the terminal device described above, reference may be made to the corresponding process in the foregoing embodiment of the shooting control method, which is not repeated here. Repeat.
本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序中包括程序指令,所述处理器执行所述程序指令,实现上述实施例提供的拍摄控制方法的步骤。Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, the computer program includes program instructions, and the processor executes the program instructions, so as to realize the provision of the above embodiments. The steps of the shooting control method.
其中,所述计算机可读存储介质可以是前述任一实施例所述的终端设备或无人机的内部存储单元,例如所述终端设备或无人机的硬盘或内存。所述计算机可读存储介质也可以是所述终端设备或无人机的外部存储设备,例如所述终端设备或无人机上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。The computer-readable storage medium may be an internal storage unit of the terminal device or the drone described in any of the foregoing embodiments, such as a hard disk or memory of the terminal device or the drone. The computer-readable storage medium can also be an external storage device of the terminal device or the drone, such as a plug-in hard disk equipped on the terminal device or the drone, a smart memory card (Smart Media Card, SMC), Secure Digital (SD) card, flash memory card (Flash Card), etc.
应当理解,在此本申请说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本申请。如在本申请说明书和所附权利要求书中所使用的那样,除非上下文清楚地指明其它情况,否则单数形式的“一”、“一个”及“该”意在包括复数形式。It should be understood that the terms used in the specification of the present application herein are for the purpose of describing particular embodiments only and are not intended to limit the present application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural unless the context clearly dictates otherwise.
还应当理解,在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It will also be understood that, as used in this specification and the appended claims, the term "and/or" refers to and including any and all possible combinations of one or more of the associated listed items.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of various equivalents within the technical scope disclosed in the present application. Modifications or substitutions shall be covered by the protection scope of this application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (57)

  1. 一种拍摄控制方法,其特征在于,应用于控制装置,所述控制装置用于控制无人机和终端设备,所述无人机包括第一拍摄装置,所述终端设备包括第二拍摄装置,所述方法包括:A shooting control method, characterized in that it is applied to a control device, the control device is used to control a drone and a terminal device, the drone includes a first shooting device, and the terminal device includes a second shooting device, The method includes:
    获取第一视频,所述第一视频是所述控制装置根据由用户触发的拍摄控制指令控制所述第一拍摄装置对持有所述终端设备的所述用户进行拍摄得到的;acquiring a first video, where the first video is obtained by the control device controlling the first shooting device to shoot the user holding the terminal device according to a shooting control instruction triggered by the user;
    获取第二视频,所述第二视频是所述控制装置根据所述拍摄控制指令控制所述第二拍摄装置对所述无人机进行拍摄得到的;acquiring a second video, where the second video is obtained by the control device controlling the second shooting device to shoot the drone according to the shooting control instruction;
    对所述第一视频和第二视频进行合成,得到目标视频,所述目标视频包括所述第一视频中的至少一部分视频帧和所述第二视频中的至少一部分视频帧。The first video and the second video are synthesized to obtain a target video, where the target video includes at least a part of video frames in the first video and at least a part of video frames in the second video.
  2. 根据权利要求1所述的拍摄控制方法,其特征在于,所述第一视频和所述第二视频的起始拍摄时刻和结束拍摄时刻相同。The shooting control method according to claim 1, wherein the start and end shooting moments of the first video and the second video are the same.
  3. 根据权利要求1所述的拍摄控制方法,其特征在于,在对所述用户和所述无人机进行拍摄的过程中,所述用户处于所述第一拍摄装置的拍摄区域内,同时所述无人机处于所述第二拍摄装置的拍摄区域内。The shooting control method according to claim 1, wherein in the process of shooting the user and the drone, the user is in the shooting area of the first shooting device, and the The drone is located within the shooting area of the second shooting device.
  4. 根据权利要求1所述的拍摄控制方法,其特征在于,所述第一视频包括多个第一视频帧,每个所述第一视频帧均包括所述用户,所述第一视频帧中的所述用户位于所述第一视频帧的预设位置,所述第二视频包括多个第二视频帧,每个所述第二视频帧均包括所述无人机。The shooting control method according to claim 1, wherein the first video includes a plurality of first video frames, each of the first video frames includes the user, and the first video frame includes the user. The user is located at a preset position of the first video frame, the second video includes a plurality of second video frames, each of the second video frames includes the drone.
  5. 根据权利要求4所述的拍摄控制方法,其特征在于,所述目标视频包括多个第一视频帧组和多个第二视频帧组,所述目标视频中的所述第一视频帧组与所述第二视频帧组相邻,所述第一视频帧组包括一个或多个所述第一视频帧,所述第二视频帧组包括一个或多个所述第二视频帧。The shooting control method according to claim 4, wherein the target video comprises a plurality of first video frame groups and a plurality of second video frame groups, and the first video frame groups in the target video are the same as The second video frame group is adjacent, the first video frame group includes one or more first video frames, and the second video frame group includes one or more second video frames.
  6. 根据权利要求1所述的拍摄控制方法,其特征在于,所述方法还包括:The shooting control method according to claim 1, wherein the method further comprises:
    控制所述终端设备输出拍摄提示信息,并获取用户触发的拍摄控制指令,其中,所述拍摄提示信息用于提示所述用户拍摄视频;Controlling the terminal device to output shooting prompt information, and acquiring a shooting control instruction triggered by the user, wherein the shooting prompt information is used to prompt the user to shoot a video;
    所述获取第一视频,包括:The acquiring the first video includes:
    根据所述拍摄控制指令,控制所述第一拍摄装置对持有所述终端设备的所述用户进行拍摄,得到第一视频;According to the shooting control instruction, controlling the first shooting device to shoot the user holding the terminal device to obtain a first video;
    所述获取第二视频,包括:The obtaining of the second video includes:
    根据所述拍摄控制指令,控制所述第二拍摄装置对所述无人机进行拍摄, 得到第二视频。According to the shooting control instruction, the second shooting device is controlled to shoot the drone to obtain a second video.
  7. 根据权利要求6所述的拍摄控制方法,其特征在于,所述控制所述终端设备输出拍摄提示信息之前,还包括:The shooting control method according to claim 6, wherein before the controlling the terminal device to output the shooting prompt information, the method further comprises:
    控制所述终端设备显示拍摄控制页面,其中,所述拍摄控制页面包括视角切换图标和所述第一拍摄装置采集到的第一图像;controlling the terminal device to display a shooting control page, wherein the shooting control page includes a viewing angle switching icon and a first image collected by the first shooting device;
    响应于用户对所述第一图像中的用户的触控操作,将所述第一图像中的用户作为所述第一拍摄装置的第一拍摄主体;In response to the user's touch operation on the user in the first image, the user in the first image is used as the first photographing subject of the first photographing device;
    响应于用户对所述视角切换图标的触发操作,将所述拍摄控制页面内的所述第一图像切换为所述第二拍摄装置采集到的第二图像;In response to the user's triggering operation on the viewing angle switching icon, switching the first image in the shooting control page to the second image collected by the second shooting device;
    响应于用户对所述第二图像中的无人机的触发操作,将所述第二图像中的无人机作为所述第二拍摄装置的第二拍摄主体;In response to the user's triggering operation on the drone in the second image, the drone in the second image is used as the second photographing subject of the second photographing device;
    在确定所述第一拍摄装置的第一拍摄主体为所述用户,且所述第二拍摄装置的第二拍摄主体为所述无人机时,控制所述终端设备输出拍摄提示信息。When it is determined that the first photographing subject of the first photographing device is the user and the second photographing subject of the second photographing device is the drone, the terminal device is controlled to output photographing prompt information.
  8. 根据权利要求7所述的拍摄控制方法,其特征在于,所述方法还包括:The shooting control method according to claim 7, wherein the method further comprises:
    在所述第一图像中不存在所述用户时,控制所述终端设备输出第一提示信息,所述第一提示信息用于提示用户调整所述第一拍摄装置的第一拍摄区域;When the user does not exist in the first image, controlling the terminal device to output first prompt information, where the first prompt information is used to prompt the user to adjust the first shooting area of the first shooting device;
    根据用户触发的第一姿态调整指令调整所述第一拍摄装置的姿态,所述第一拍摄区域和显示的所述第一图像随着所述第一拍摄装置的姿态的变化而变化。The posture of the first photographing device is adjusted according to a first posture adjustment instruction triggered by a user, and the first photographing area and the displayed first image change with the posture of the first photographing device.
  9. 根据权利要求8所述的拍摄控制方法,其特征在于,所述控制所述终端设备输出第一提示信息,包括:The shooting control method according to claim 8, wherein the controlling the terminal device to output the first prompt information comprises:
    获取所述无人机相对于所述终端设备的第一方位信息;acquiring first orientation information of the drone relative to the terminal device;
    根据所述第一方位信息,控制所述终端设备输出第一提示信息。According to the first orientation information, the terminal device is controlled to output first prompt information.
  10. 根据权利要求8所述的拍摄控制方法,其特征在于,所述方法还包括:The shooting control method according to claim 8, wherein the method further comprises:
    在更新后的所述第一图像中存在所述用户时,输出第二提示信息,其中,所述第二提示信息用于提示用户停止调整所述第一拍摄区域。When the user exists in the updated first image, second prompt information is output, wherein the second prompt information is used to prompt the user to stop adjusting the first shooting area.
  11. 根据权利要求7所述的拍摄控制方法,其特征在于,所述方法还包括:The shooting control method according to claim 7, wherein the method further comprises:
    在所述第二图像中不存在所述无人机时,控制所述终端设备输出第三提示信息,所述第三提示信息用于提示用户调整所述第二拍摄装置的第二拍摄区域;When the drone does not exist in the second image, controlling the terminal device to output third prompt information, where the third prompt information is used to prompt the user to adjust the second shooting area of the second shooting device;
    根据用户触发的第二姿态调整指令调整所述第二拍摄装置的姿态,所述第二拍摄区域和显示的所述第二图像随着所述第二拍摄装置的姿态的变化而变化。The posture of the second photographing device is adjusted according to the second posture adjustment instruction triggered by the user, and the second photographing area and the displayed second image change with the change of the posture of the second photographing device.
  12. 根据权利要求11所述的拍摄控制方法,其特征在于,所述控制所述终端设备输出第三提示信息,包括:The shooting control method according to claim 11, wherein the controlling the terminal device to output the third prompt information comprises:
    获取所述终端设备相对于所述无人机的第二方位信息;acquiring the second orientation information of the terminal device relative to the drone;
    根据所述第二方位信息,控制所述终端设备输出第三提示信息。According to the second orientation information, the terminal device is controlled to output third prompt information.
  13. 根据权利要求11所述的拍摄控制方法,其特征在于,所述方法还包括:The shooting control method according to claim 11, wherein the method further comprises:
    在更新后的所述第二图像中存在所述无人机时,输出第四提示信息,其中,所述第四提示信息用于提示用户停止调整所述第二拍摄区域。When the drone exists in the updated second image, fourth prompt information is output, wherein the fourth prompt information is used to prompt the user to stop adjusting the second shooting area.
  14. 根据权利要求1-13中任一项所述的拍摄控制方法,其特征在于,所述方法还包括:The shooting control method according to any one of claims 1-13, wherein the method further comprises:
    在控制所述第一拍摄装置对持有所述终端设备的所述用户进行拍摄的过程中,获取所述拍摄控制指令中的飞行轨迹;in the process of controlling the first photographing device to photograph the user holding the terminal device, acquiring the flight trajectory in the photographing control instruction;
    控制所述无人机按照所述飞行轨迹进行飞行,使得所述无人机远离持有所述终端设备的所述用户或者靠近持有所述终端设备的所述用户。The drone is controlled to fly according to the flight trajectory, so that the drone is far away from the user holding the terminal device or close to the user holding the terminal device.
  15. 根据权利要求14所述的拍摄控制方法,其特征在于,所述飞行轨迹包括第一飞行轨迹和第二飞行轨迹中的任一项,所述控制所述无人机按照所述飞行轨迹进行飞行,包括:The shooting control method according to claim 14, wherein the flight trajectory includes any one of a first flight trajectory and a second flight trajectory, and the drone is controlled to fly according to the flight trajectory ,include:
    控制所述无人机按照所述第一飞行轨迹进行飞行,使得所述无人机远离持有所述终端设备的所述用户;controlling the drone to fly according to the first flight trajectory, so that the drone is far away from the user holding the terminal device;
    或者or
    控制所述无人机按照所述第二飞行轨迹进行飞行,使得所述无人机靠近持有所述终端设备的所述用户。The drone is controlled to fly according to the second flight trajectory, so that the drone is close to the user holding the terminal device.
  16. 根据权利要求1-13中任一项所述的拍摄控制方法,其特征在于,所述方法还包括:The shooting control method according to any one of claims 1-13, wherein the method further comprises:
    在控制所述第一拍摄装置对持有所述终端设备的所述用户进行拍摄的过程中,控制所述无人机跟随持有所述终端设备的所述用户飞行。In the process of controlling the first photographing apparatus to photograph the user holding the terminal device, the drone is controlled to follow the user holding the terminal device to fly.
  17. 根据权利要求16所述的拍摄控制方法,其特征在于,所述控制所述无人机跟随持有所述终端设备的所述用户飞行,包括:The photographing control method according to claim 16, wherein the controlling the drone to follow the user holding the terminal device to fly comprises:
    获取所述第一拍摄装置采集到的当前图像;obtaining the current image collected by the first photographing device;
    根据所述当前图像控制所述无人机跟随持有所述终端设备的所述用户飞行。The drone is controlled to follow the user holding the terminal device to fly according to the current image.
  18. 根据权利要求17所述的拍摄控制方法,其特征在于,所述根据所述当前图像控制所述无人机跟随持有所述终端设备的所述用户飞行,包括:The photographing control method according to claim 17, wherein the controlling the drone to follow the user holding the terminal device to fly according to the current image comprises:
    将所述当前图像输入至预设目标检测模型,以对所述当前图像中的所述用户进行目标检测,得到所述用户的目标检测信息,其中,所述目标检测信息包括所述用户在世界坐标系下的尺寸信息、位置信息和所述用户相对所述无人机 的角度信息;Inputting the current image into a preset target detection model to perform target detection on the user in the current image, and obtain target detection information of the user, wherein the target detection information includes the user's location in the world Size information, position information and angle information of the user relative to the drone in the coordinate system;
    根据所述目标检测信息和预设目标跟踪算法,预测所述用户在下一时刻的目标位置信息;According to the target detection information and the preset target tracking algorithm, predict the target position information of the user at the next moment;
    根据所述目标位置信息和所述无人机的当前位置信息,控制所述无人机跟随持有所述终端设备的所述用户飞行。According to the target location information and the current location information of the drone, the drone is controlled to follow the user holding the terminal device to fly.
  19. 根据权利要求16所述的拍摄控制方法,其特征在于,所述控制所述无人机跟随持有所述终端设备的所述用户飞行,包括:The photographing control method according to claim 16, wherein the controlling the drone to follow the user holding the terminal device to fly comprises:
    获取持有所述终端设备的所述用户的目标旋转速度;obtaining the target rotation speed of the user holding the terminal device;
    根据所述目标旋转速度,控制所述无人机环绕跟随持有所述终端设备的所述用户飞行。According to the target rotation speed, the drone is controlled to fly around and follow the user holding the terminal device.
  20. 根据权利要求19所述的拍摄控制方法,其特征在于,所述终端设备包括惯性测量单元和指南针传感器,所述获取持有所述终端设备的所述用户的目标旋转速度,包括:The shooting control method according to claim 19, wherein the terminal device comprises an inertial measurement unit and a compass sensor, and the acquiring the target rotation speed of the user holding the terminal device comprises:
    获取所述惯性测量单元采集到的第一传感数据,并根据所述第一传感数据,确定持有所述终端设备的所述用户的目标旋转速度;acquiring the first sensing data collected by the inertial measurement unit, and determining the target rotation speed of the user holding the terminal device according to the first sensing data;
    或者or
    获取所述惯性测量单元采集到的第一传感数据和所述指南针传感器采集到的第二传感数据;acquiring the first sensing data collected by the inertial measurement unit and the second sensing data collected by the compass sensor;
    根据所述第一传感数据和所述第二传感数据,确定持有所述终端设备的所述用户的目标旋转速度。According to the first sensing data and the second sensing data, a target rotation speed of the user holding the terminal device is determined.
  21. 根据权利要求19所述的拍摄控制方法,其特征在于,所述获取持有所述终端设备的所述用户的目标旋转速度,包括:The shooting control method according to claim 19, wherein the acquiring the target rotation speed of the user holding the terminal device comprises:
    获取所述第一拍摄装置在不同时刻采集到的图像,并确定设于所述终端设备上的标识目标在每个所述图像中的像素坐标;Acquiring images collected by the first photographing device at different moments, and determining the pixel coordinates of the identification target set on the terminal device in each of the images;
    根据所述标识目标在每个所述图像中的像素坐标,确定持有所述终端设备的所述用户的目标旋转速度。According to the pixel coordinates of the identification target in each of the images, the target rotation speed of the user holding the terminal device is determined.
  22. 根据权利要求21所述的拍摄控制方法,其特征在于,所述标识目标包括设于所述终端设备上的增反膜片。The shooting control method according to claim 21, wherein the identification target comprises a reflection enhancement film provided on the terminal device.
  23. 根据权利要求19所述的拍摄控制方法,其特征在于,所述终端设备包括惯性测量单元和指南针传感器,所述获取持有所述终端设备的所述用户的目标旋转速度,包括:The shooting control method according to claim 19, wherein the terminal device comprises an inertial measurement unit and a compass sensor, and the acquiring the target rotation speed of the user holding the terminal device comprises:
    获取所述惯性测量单元采集到的第一传感数据和设于所述终端设备上的标 识目标的旋转速度;Obtain the first sensing data collected by the inertial measurement unit and the rotational speed of the identification target set on the terminal device;
    根据所述第一传感数据和所述标识目标的旋转速度,确定持有所述终端设备的所述用户的目标旋转速度;determining the target rotation speed of the user holding the terminal device according to the first sensing data and the rotation speed of the identified target;
    或者or
    获取所述惯性测量单元采集到的第一传感数据、所述指南针传感器采集到的第二传感数据和设于所述终端设备上的标识目标的旋转速度;Acquiring the first sensing data collected by the inertial measurement unit, the second sensing data collected by the compass sensor, and the rotation speed of the marked target set on the terminal device;
    根据所述第一传感数据、所述第二传感数据和所述标识目标的旋转速度,确定持有所述终端设备的所述用户的目标旋转速度。According to the first sensing data, the second sensing data and the rotation speed of the identified target, the target rotation speed of the user holding the terminal device is determined.
  24. 根据权利要求19所述的拍摄控制方法,其特征在于,所述根据所述目标旋转速度,控制所述无人机环绕跟随持有所述终端设备的所述用户飞行,包括:The shooting control method according to claim 19, wherein the controlling the drone to fly around and following the user holding the terminal device according to the target rotation speed comprises:
    获取所述无人机的环绕飞行角度;obtain the surrounding flight angle of the UAV;
    控制所述无人机按照所述目标旋转速度环绕跟随持有所述终端设备的所述用户飞行,直至所述无人机环绕所述用户飞行的角度达到所述环绕飞行角度。The drone is controlled to fly around and follow the user holding the terminal device according to the target rotation speed, until the flying angle of the drone around the user reaches the around flying angle.
  25. 根据权利要求19所述的拍摄控制方法,其特征在于,所述方法还包括:The shooting control method according to claim 19, wherein the method further comprises:
    在控制所述无人机环绕跟随所述用户飞行的过程中,若检测到所述终端设备发送的抛飞控制指令时,确定所述无人机的抛飞方向;In the process of controlling the drone to fly around and follow the user, if a throwing control command sent by the terminal device is detected, determining the throwing direction of the drone;
    控制所述无人机沿着所述抛飞方向飞行。The drone is controlled to fly along the throwing direction.
  26. 根据权利要求25所述的拍摄控制方法,其特征在于,所述控制所述无人机沿着所述抛飞方向飞行,包括:The shooting control method according to claim 25, wherein the controlling the drone to fly along the throwing direction comprises:
    控制所述无人机沿着所述抛飞方向飞行,直至所述无人机沿着所述抛飞方向飞行的距离达到预设距离;Controlling the drone to fly along the throwing direction until the flying distance of the drone along the throwing direction reaches a preset distance;
    或者or
    控制所述无人机沿着所述抛飞方向飞行,直至所述无人机沿着所述抛飞方向飞行的距离达到所述抛飞控制指令中的抛飞距离;Controlling the drone to fly along the throwing direction until the flying distance of the drone along the throwing direction reaches the throwing distance in the throwing control instruction;
    或者or
    控制所述无人机沿着所述抛飞方向进行减速飞行,直至所述无人机的水平飞行速度变为零。The UAV is controlled to decelerate along the throwing direction until the horizontal flight speed of the UAV becomes zero.
  27. 根据权利要求19所述的拍摄控制方法,其特征在于,所述方法还包括:The shooting control method according to claim 19, wherein the method further comprises:
    在控制所述无人机环绕跟随所述用户飞行的过程中,调整所述第一拍摄装置的姿态,使得调整姿态后的所述第一拍摄装置采集到的图像中的所述用户位于所述图像中的预设位置。During the process of controlling the drone to fly around and follow the user, the posture of the first photographing device is adjusted so that the user in the image captured by the first photographing device after the posture is adjusted is located in the Preset positions in the image.
  28. 一种控制装置,其特征在于,所述控制装置用于控制无人机和终端设备,所述无人机包括第一拍摄装置,所述终端设备包括第二拍摄装置,所述控制装置包括存储器和处理器;A control device, characterized in that the control device is used to control an unmanned aerial vehicle and a terminal device, the unmanned aerial vehicle includes a first photographing device, the terminal device includes a second photographing device, and the control device includes a memory and processor;
    所述存储器用于存储计算机程序;the memory is used to store computer programs;
    所述处理器,用于执行所述计算机程序并在执行所述计算机程序时,实现如下步骤:The processor is configured to execute the computer program and implement the following steps when executing the computer program:
    获取第一视频,所述第一视频是所述控制装置根据由用户触发的拍摄控制指令控制所述第一拍摄装置对持有所述终端设备的所述用户进行拍摄得到的;acquiring a first video, where the first video is obtained by the control device controlling the first shooting device to shoot the user holding the terminal device according to a shooting control instruction triggered by the user;
    获取第二视频,所述第二视频是所述控制装置根据所述拍摄控制指令控制所述第二拍摄装置对所述无人机进行拍摄得到的;acquiring a second video, where the second video is obtained by the control device controlling the second shooting device to shoot the drone according to the shooting control instruction;
    对所述第一视频和第二视频进行合成,得到目标视频,所述目标视频包括所述第一视频中的至少一部分视频帧和所述第二视频中的至少一部分视频帧。The first video and the second video are synthesized to obtain a target video, where the target video includes at least a part of video frames in the first video and at least a part of video frames in the second video.
  29. 根据权利要求28所述的控制装置,其特征在于,所述第一视频和所述第二视频的起始拍摄时刻和结束拍摄时刻相同。The control device according to claim 28, wherein the start and end shooting moments of the first video and the second video are the same.
  30. 根据权利要求28所述的控制装置,其特征在于,在对所述用户和所述无人机进行拍摄的过程中,所述用户处于所述第一拍摄装置的拍摄区域内,同时所述无人机处于所述第二拍摄装置的拍摄区域内。The control device according to claim 28, characterized in that, during the process of photographing the user and the drone, the user is in the photographing area of the first photographing device, and the non- The man-machine is located in the shooting area of the second shooting device.
  31. 根据权利要求28所述的控制装置,其特征在于,所述第一视频包括多个第一视频帧,每个所述第一视频帧均包括所述用户,所述第一视频帧中的所述用户位于所述第一视频帧的预设位置,所述第二视频包括多个第二视频帧,每个所述第二视频帧均包括所述无人机。The control device according to claim 28, wherein the first video includes a plurality of first video frames, each of the first video frames includes the user, and all of the first video frames include the user. The user is located at a preset position of the first video frame, the second video includes a plurality of second video frames, each of the second video frames includes the drone.
  32. 根据权利要求31所述的控制装置,其特征在于,所述目标视频包括多个第一视频帧组和多个第二视频帧组,所述目标视频中的所述第一视频帧组与所述第二视频帧组相邻,所述第一视频帧组包括一个或多个所述第一视频帧,所述第二视频帧组包括一个或多个所述第二视频帧。The control device according to claim 31, wherein the target video includes a plurality of first video frame groups and a plurality of second video frame groups, and the first video frame group in the target video is the same as the The second video frame group is adjacent, the first video frame group includes one or more first video frames, and the second video frame group includes one or more second video frames.
  33. 根据权利要求28所述的控制装置,其特征在于,所述处理器还用于实现以下步骤:The control device according to claim 28, wherein the processor is further configured to implement the following steps:
    控制所述终端设备输出拍摄提示信息,并获取用户触发的拍摄控制指令,其中,所述拍摄提示信息用于提示所述用户拍摄视频;Controlling the terminal device to output shooting prompt information, and acquiring a shooting control instruction triggered by the user, wherein the shooting prompt information is used to prompt the user to shoot a video;
    所述获取第一视频,包括:The acquiring the first video includes:
    根据所述拍摄控制指令,控制所述第一拍摄装置对持有所述终端设备的所述用户进行拍摄,得到第一视频;According to the shooting control instruction, controlling the first shooting device to shoot the user holding the terminal device to obtain a first video;
    所述获取第二视频,包括:The obtaining of the second video includes:
    根据所述拍摄控制指令,控制所述第二拍摄装置对所述无人机进行拍摄,得到第二视频。According to the shooting control instruction, the second shooting device is controlled to shoot the drone to obtain a second video.
  34. 根据权利要求33所述的控制装置,其特征在于,所述处理器实现控制所述终端设备输出拍摄提示信息之前,还用于实现:The control device according to claim 33, wherein before the processor controls the terminal device to output the shooting prompt information, it is further configured to:
    控制所述终端设备显示拍摄控制页面,其中,所述拍摄控制页面包括视角切换图标和所述第一拍摄装置采集到的第一图像;controlling the terminal device to display a shooting control page, wherein the shooting control page includes a viewing angle switching icon and a first image collected by the first shooting device;
    响应于用户对所述第一图像中的用户的触控操作,将所述第一图像中的用户作为所述第一拍摄装置的第一拍摄主体;In response to the user's touch operation on the user in the first image, the user in the first image is used as the first photographing subject of the first photographing device;
    响应于用户对所述视角切换图标的触发操作,将所述拍摄控制页面内的所述第一图像切换为所述第二拍摄装置采集到的第二图像;In response to the user's triggering operation on the viewing angle switching icon, switching the first image in the shooting control page to the second image collected by the second shooting device;
    响应于用户对所述第二图像中的无人机的触发操作,将所述第二图像中的无人机作为所述第二拍摄装置的第二拍摄主体;In response to the user's triggering operation on the drone in the second image, the drone in the second image is used as the second photographing subject of the second photographing device;
    在确定所述第一拍摄装置的第一拍摄主体为所述用户,且所述第二拍摄装置的第二拍摄主体为所述无人机时,控制所述终端设备输出拍摄提示信息。When it is determined that the first photographing subject of the first photographing device is the user and the second photographing subject of the second photographing device is the drone, the terminal device is controlled to output photographing prompt information.
  35. 根据权利要求34所述的控制装置,其特征在于,所述处理器还用于实现以下步骤:The control device according to claim 34, wherein the processor is further configured to implement the following steps:
    在所述第一图像中不存在所述用户时,控制所述终端设备输出第一提示信息,所述第一提示信息用于提示用户调整所述第一拍摄装置的第一拍摄区域;When the user does not exist in the first image, controlling the terminal device to output first prompt information, where the first prompt information is used to prompt the user to adjust the first shooting area of the first shooting device;
    根据用户触发的第一姿态调整指令调整所述第一拍摄装置的姿态,所述第一拍摄区域和显示的所述第一图像随着所述第一拍摄装置的姿态的变化而变化。The posture of the first photographing device is adjusted according to a first posture adjustment instruction triggered by the user, and the first photographing area and the displayed first image change with the posture of the first photographing device.
  36. 根据权利要求35所述的控制装置,其特征在于,所述控制所述终端设备输出第一提示信息,包括:The control apparatus according to claim 35, wherein the controlling the terminal device to output the first prompt information comprises:
    获取所述无人机相对于所述终端设备的第一方位信息;acquiring first orientation information of the drone relative to the terminal device;
    根据所述第一方位信息,控制所述终端设备输出第一提示信息。According to the first orientation information, the terminal device is controlled to output first prompt information.
  37. 根据权利要求35所述的控制装置,其特征在于,所述处理器还用于实现以下步骤:The control device according to claim 35, wherein the processor is further configured to implement the following steps:
    在更新后的所述第一图像中存在所述用户时,输出第二提示信息,其中,所述第二提示信息用于提示用户停止调整所述第一拍摄区域。When the user exists in the updated first image, second prompt information is output, wherein the second prompt information is used to prompt the user to stop adjusting the first shooting area.
  38. 根据权利要求34所述的控制装置,其特征在于,所述处理器还用于实现以下步骤:The control device according to claim 34, wherein the processor is further configured to implement the following steps:
    在所述第二图像中不存在所述无人机时,控制所述终端设备输出第三提示信息,所述第三提示信息用于提示用户调整所述第二拍摄装置的第二拍摄区域;When the drone does not exist in the second image, controlling the terminal device to output third prompt information, where the third prompt information is used to prompt the user to adjust the second shooting area of the second shooting device;
    根据用户触发的第二姿态调整指令调整所述第二拍摄装置的姿态,所述第二拍摄区域和显示的所述第二图像随着所述第二拍摄装置的姿态的变化而变化。The posture of the second photographing device is adjusted according to the second posture adjustment instruction triggered by the user, and the second photographing area and the displayed second image change with the change of the posture of the second photographing device.
  39. 根据权利要求38所述的控制装置,其特征在于,所述控制所述终端设备输出第三提示信息,包括:The control apparatus according to claim 38, wherein the controlling the terminal device to output the third prompt information comprises:
    获取所述终端设备相对于所述无人机的第二方位信息;acquiring the second orientation information of the terminal device relative to the drone;
    根据所述第二方位信息,控制所述终端设备输出第三提示信息。According to the second orientation information, the terminal device is controlled to output third prompt information.
  40. 根据权利要求38所述的控制装置,其特征在于,所述处理器还用于实现以下步骤:The control device according to claim 38, wherein the processor is further configured to implement the following steps:
    在更新后的所述第二图像中存在所述无人机时,输出第四提示信息,其中,所述第四提示信息用于提示用户停止调整所述第二拍摄区域。When the drone exists in the updated second image, fourth prompt information is output, wherein the fourth prompt information is used to prompt the user to stop adjusting the second shooting area.
  41. 根据权利要求28-40中任一项所述的控制装置,其特征在于,所述处理器还用于实现以下步骤:The control device according to any one of claims 28-40, wherein the processor is further configured to implement the following steps:
    在控制所述第一拍摄装置对持有所述终端设备的所述用户进行拍摄的过程中,获取所述拍摄控制指令中的飞行轨迹;in the process of controlling the first photographing device to photograph the user holding the terminal device, acquiring the flight trajectory in the photographing control instruction;
    控制所述无人机按照所述飞行轨迹进行飞行,使得所述无人机远离持有所述终端设备的所述用户或者靠近持有所述终端设备的所述用户。The drone is controlled to fly according to the flight trajectory, so that the drone is far away from the user holding the terminal device or close to the user holding the terminal device.
  42. 根据权利要求41所述的控制装置,其特征在于,所述飞行轨迹包括第一飞行轨迹和第二飞行轨迹中的任一项,所述控制所述无人机按照所述飞行轨迹进行飞行,包括:The control device according to claim 41, wherein the flight trajectory includes any one of a first flight trajectory and a second flight trajectory, and the drone is controlled to fly according to the flight trajectory, include:
    控制所述无人机按照所述第一飞行轨迹进行飞行,使得所述无人机远离持有所述终端设备的所述用户;controlling the drone to fly according to the first flight trajectory, so that the drone is far away from the user holding the terminal device;
    或者or
    控制所述无人机按照所述第二飞行轨迹进行飞行,使得所述无人机靠近持有所述终端设备的所述用户。The drone is controlled to fly according to the second flight trajectory, so that the drone is close to the user holding the terminal device.
  43. 根据权利要求28-40中任一项所述的控制装置,其特征在于,所述处理器还用于实现以下步骤:The control device according to any one of claims 28-40, wherein the processor is further configured to implement the following steps:
    在控制所述第一拍摄装置对持有所述终端设备的所述用户进行拍摄的过程中,控制所述无人机跟随持有所述终端设备的所述用户飞行。In the process of controlling the first photographing apparatus to photograph the user holding the terminal device, the drone is controlled to follow the user holding the terminal device to fly.
  44. 根据权利要求43所述的控制装置,其特征在于,所述控制所述无人机跟随持有所述终端设备的所述用户飞行,包括:The control device according to claim 43, wherein the controlling the drone to follow the user holding the terminal device to fly comprises:
    获取所述第一拍摄装置采集到的当前图像;obtaining the current image collected by the first photographing device;
    根据所述当前图像控制所述无人机跟随持有所述终端设备的所述用户飞行。The drone is controlled to follow the user holding the terminal device to fly according to the current image.
  45. 根据权利要求44所述的控制装置,其特征在于,所述根据所述当前图像控制所述无人机跟随持有所述终端设备的所述用户飞行,包括:The control device according to claim 44, wherein the controlling the drone to follow the user holding the terminal device to fly according to the current image comprises:
    将所述当前图像输入至预设目标检测模型,以对所述当前图像中的所述用户进行目标检测,得到所述用户的目标检测信息,其中,所述目标检测信息包括所述用户在世界坐标系下的尺寸信息、位置信息和所述用户相对所述无人机的角度信息;Inputting the current image into a preset target detection model to perform target detection on the user in the current image, and obtain target detection information of the user, wherein the target detection information includes the user's location in the world Size information, position information and angle information of the user relative to the drone in the coordinate system;
    根据所述尺寸信息、所述角度信息和预设目标跟踪算法,预测所述用户在下一时刻的目标位置信息;According to the size information, the angle information and the preset target tracking algorithm, predict the target position information of the user at the next moment;
    根据所述目标位置信息和所述无人机的当前位置信息,控制所述无人机跟随持有所述终端设备的所述用户飞行。According to the target location information and the current location information of the drone, the drone is controlled to follow the user holding the terminal device to fly.
  46. 根据权利要求43所述的控制装置,其特征在于,所述控制所述无人机跟随持有所述终端设备的所述用户飞行,包括:The control device according to claim 43, wherein the controlling the drone to follow the user holding the terminal device to fly comprises:
    获取持有所述终端设备的所述用户的目标旋转速度;obtaining the target rotation speed of the user holding the terminal device;
    根据所述目标旋转速度,控制所述无人机环绕跟随持有所述终端设备的所述用户飞行。According to the target rotation speed, the drone is controlled to fly around and follow the user holding the terminal device.
  47. 根据权利要求46所述的控制装置,其特征在于,所述终端设备包括惯性测量单元和指南针传感器,所述获取持有所述终端设备的所述用户的目标旋转速度,包括:The control device according to claim 46, wherein the terminal device comprises an inertial measurement unit and a compass sensor, and the acquiring the target rotation speed of the user holding the terminal device comprises:
    获取所述惯性测量单元采集到的第一传感数据,并根据所述第一传感数据,确定持有所述终端设备的所述用户的目标旋转速度;acquiring the first sensing data collected by the inertial measurement unit, and determining the target rotation speed of the user holding the terminal device according to the first sensing data;
    或者or
    获取所述惯性测量单元采集到的第一传感数据和所述指南针传感器采集到的第二传感数据;acquiring the first sensing data collected by the inertial measurement unit and the second sensing data collected by the compass sensor;
    根据所述第一传感数据和所述第二传感数据,确定持有所述终端设备的所述用户的目标旋转速度。According to the first sensing data and the second sensing data, a target rotation speed of the user holding the terminal device is determined.
  48. 根据权利要求46所述的控制装置,其特征在于,所述获取持有所述终端设备的所述用户的目标旋转速度,包括:The control device according to claim 46, wherein the acquiring the target rotation speed of the user holding the terminal device comprises:
    获取所述第一拍摄装置在不同时刻采集到的图像,并确定设于所述终端设备上的标识目标在每个所述图像中的像素坐标;Acquiring images collected by the first photographing device at different times, and determining the pixel coordinates of the identification target set on the terminal device in each of the images;
    根据所述标识目标在每个所述图像中的像素坐标,确定持有所述终端设备的所述用户的目标旋转速度。According to the pixel coordinates of the identification target in each of the images, the target rotation speed of the user holding the terminal device is determined.
  49. 根据权利要求48所述的控制装置,其特征在于,所述标识目标包括设 于所述终端设备上的增反膜片。The control device according to claim 48, wherein the identification target comprises a reflection enhancement film provided on the terminal device.
  50. 根据权利要求46所述的控制装置,其特征在于,所述终端设备包括惯性测量单元和指南针传感器,所述获取持有所述终端设备的所述用户的目标旋转速度,包括:The control device according to claim 46, wherein the terminal device comprises an inertial measurement unit and a compass sensor, and the acquiring the target rotation speed of the user holding the terminal device comprises:
    获取所述惯性测量单元采集到的第一传感数据和设于所述终端设备上的标识目标的旋转速度;Acquiring the first sensing data collected by the inertial measurement unit and the rotation speed of the identified target set on the terminal device;
    根据所述第一传感数据和所述标识目标的旋转速度,确定持有所述终端设备的所述用户的目标旋转速度;determining the target rotation speed of the user holding the terminal device according to the first sensing data and the rotation speed of the identified target;
    或者or
    获取所述惯性测量单元采集到的第一传感数据、所述指南针传感器采集到的第二传感数据和设于所述终端设备上的标识目标的旋转速度;Acquiring the first sensing data collected by the inertial measurement unit, the second sensing data collected by the compass sensor, and the rotation speed of the marked target set on the terminal device;
    根据所述第一传感数据、所述第二传感数据和所述标识目标的旋转速度,确定持有所述终端设备的所述用户的目标旋转速度。According to the first sensing data, the second sensing data and the rotation speed of the identified target, the target rotation speed of the user holding the terminal device is determined.
  51. 根据权利要求46所述的控制装置,其特征在于,所述根据所述目标旋转速度,控制所述无人机环绕跟随持有所述终端设备的所述用户飞行,包括:The control device according to claim 46, wherein the controlling the drone to fly around and following the user holding the terminal device according to the target rotation speed comprises:
    获取所述无人机的环绕飞行角度;obtain the surrounding flight angle of the UAV;
    控制所述无人机按照所述目标旋转速度环绕跟随持有所述终端设备的所述用户飞行,直至所述无人机环绕所述用户飞行的角度达到所述环绕飞行角度。The drone is controlled to fly around and follow the user holding the terminal device according to the target rotation speed, until the flying angle of the drone around the user reaches the surrounding flying angle.
  52. 根据权利要求46所述的控制装置,其特征在于,所述处理器还用于实现以下步骤:The control device according to claim 46, wherein the processor is further configured to implement the following steps:
    在控制所述无人机环绕跟随所述用户飞行的过程中,若检测到所述终端设备发送的抛飞控制指令时,确定所述无人机的抛飞方向;In the process of controlling the drone to fly around and follow the user, if a throwing control command sent by the terminal device is detected, determining the throwing direction of the drone;
    控制所述无人机沿着所述抛飞方向飞行。The drone is controlled to fly along the throwing direction.
  53. 根据权利要求52所述的控制装置,其特征在于,所述控制所述无人机沿着所述抛飞方向飞行,包括:The control device according to claim 52, wherein the controlling the drone to fly along the throwing direction comprises:
    控制所述无人机沿着所述抛飞方向飞行,直至所述无人机沿着所述抛飞方向飞行的距离达到预设距离;Controlling the drone to fly along the throwing direction until the flying distance of the drone along the throwing direction reaches a preset distance;
    或者or
    控制所述无人机沿着所述抛飞方向飞行,直至所述无人机沿着所述抛飞方向飞行的距离达到所述抛飞控制指令中的抛飞距离;Controlling the drone to fly along the throwing direction until the flying distance of the drone along the throwing direction reaches the throwing distance in the throwing control instruction;
    或者or
    控制所述无人机沿着所述抛飞方向进行减速飞行,直至所述无人机的水平 飞行速度变为零。Control the UAV to decelerate along the throwing direction until the horizontal flight speed of the UAV becomes zero.
  54. 根据权利要求46所述的控制装置,其特征在于,所述处理器还用于实现以下步骤:The control device according to claim 46, wherein the processor is further configured to implement the following steps:
    在控制所述无人机环绕跟随所述用户飞行的过程中,调整所述第一拍摄装置的姿态,使得调整姿态后的所述第一拍摄装置采集到的图像中的所述用户位于所述图像中的预设位置。During the process of controlling the drone to fly around and follow the user, the posture of the first photographing device is adjusted so that the user in the image captured by the first photographing device after the posture is adjusted is located in the Preset positions in the image.
  55. 一种无人机,其特征在于,包括:An unmanned aerial vehicle, characterized in that it includes:
    机体;body;
    动力系统,设于所述机体上,用于为所述无人机提供飞行动力;a power system, arranged on the body, for providing flight power for the drone;
    第一拍摄装置,搭载于所述机体上,用于拍摄第一视频;a first photographing device, mounted on the body, for photographing a first video;
    第一无线通信装置,设于所述机体上,用于与终端设备中的第二无线通信装置进行通信;a first wireless communication device, provided on the body, for communicating with the second wireless communication device in the terminal device;
    如权利要求28-54中任一项所述的控制装置,用于控制所述第一拍摄装置拍摄第一视频和/或所述无人机飞行。The control device according to any one of claims 28 to 54, configured to control the first photographing device to shoot a first video and/or the drone to fly.
  56. 一种终端设备,其特征在于,包括:A terminal device, characterized in that it includes:
    第二拍摄装置,用于拍摄第二视频;a second shooting device for shooting a second video;
    显示装置,用于显示图像或人机交互界面;A display device for displaying images or a human-computer interface;
    第二无线通信装置,用于与无人机中的第一无线通信装置进行通信;a second wireless communication device for communicating with the first wireless communication device in the drone;
    如权利要求28-54中任一项所述的控制装置,用于控制所述第二拍摄装置拍摄第二视频。The control device according to any one of claims 28-54, configured to control the second shooting device to shoot a second video.
  57. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时使所述处理器实现如权利要求1-27中任一项所述的拍摄控制方法的步骤。A computer-readable storage medium, characterized in that, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements the method described in any one of claims 1-27. The steps of the shooting control method described above.
PCT/CN2020/126560 2020-11-04 2020-11-04 Photographing control method and apparatus, unmanned aerial vehicle, device, and readable storage medium WO2022094808A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/126560 WO2022094808A1 (en) 2020-11-04 2020-11-04 Photographing control method and apparatus, unmanned aerial vehicle, device, and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/126560 WO2022094808A1 (en) 2020-11-04 2020-11-04 Photographing control method and apparatus, unmanned aerial vehicle, device, and readable storage medium

Publications (1)

Publication Number Publication Date
WO2022094808A1 true WO2022094808A1 (en) 2022-05-12

Family

ID=81456847

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/126560 WO2022094808A1 (en) 2020-11-04 2020-11-04 Photographing control method and apparatus, unmanned aerial vehicle, device, and readable storage medium

Country Status (1)

Country Link
WO (1) WO2022094808A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106973261A (en) * 2017-03-03 2017-07-21 湖北天专科技有限公司 With the equipment, system and method for third party's view unmanned plane
CN107087427A (en) * 2016-11-30 2017-08-22 深圳市大疆创新科技有限公司 Control method, device and the equipment and aircraft of aircraft
CN109561282A (en) * 2018-11-22 2019-04-02 亮风台(上海)信息科技有限公司 A kind of method and apparatus of the action of ground for rendering auxiliary information
US20190387153A1 (en) * 2018-06-14 2019-12-19 Honeywell International Inc. Imaging resolution and transmission system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107087427A (en) * 2016-11-30 2017-08-22 深圳市大疆创新科技有限公司 Control method, device and the equipment and aircraft of aircraft
CN106973261A (en) * 2017-03-03 2017-07-21 湖北天专科技有限公司 With the equipment, system and method for third party's view unmanned plane
US20190387153A1 (en) * 2018-06-14 2019-12-19 Honeywell International Inc. Imaging resolution and transmission system
CN109561282A (en) * 2018-11-22 2019-04-02 亮风台(上海)信息科技有限公司 A kind of method and apparatus of the action of ground for rendering auxiliary information

Similar Documents

Publication Publication Date Title
US11644832B2 (en) User interaction paradigms for a flying digital assistant
US11573562B2 (en) Magic wand interface and other user interaction paradigms for a flying digital assistant
CN108351653B (en) System and method for UAV flight control
JP6735821B2 (en) System and method for planning and controlling UAV paths
WO2018209702A1 (en) Method for controlling unmanned aerial vehicle, unmanned aerial vehicle and machine-readable storage medium
WO2017071143A1 (en) Systems and methods for uav path planning and control
WO2018098704A1 (en) Control method, apparatus, and system, unmanned aerial vehicle, and mobile platform
WO2018053877A1 (en) Control method, control device, and delivery system
JP2019507924A (en) System and method for adjusting UAV trajectory
US20180024557A1 (en) Autonomous system for taking moving images, comprising a drone and a ground station, and associated method
WO2020048365A1 (en) Flight control method and device for aircraft, and terminal device and flight control system
CN108450032B (en) Flight control method and device
CN115238018A (en) Method for managing 3D flight path and related system
JP7435599B2 (en) Information processing device, information processing method, and program
US20230280742A1 (en) Magic Wand Interface And Other User Interaction Paradigms For A Flying Digital Assistant
WO2022094808A1 (en) Photographing control method and apparatus, unmanned aerial vehicle, device, and readable storage medium
WO2022036500A1 (en) Flight assisting method for unmanned aerial vehicle, device, chip, system, and medium
WO2022021028A1 (en) Target detection method, device, unmanned aerial vehicle, and computer-readable storage medium
WO2022188151A1 (en) Image photographing method, control apparatus, movable platform, and computer storage medium
WO2019134148A1 (en) Method and device for controlling unmanned aerial vehicle, and movable platform
CN117693663A (en) Control method, head-mounted display device, control system and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20960270

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20960270

Country of ref document: EP

Kind code of ref document: A1