WO2023178589A1 - Filming guiding method, electronic device, system and storage medium - Google Patents

Filming guiding method, electronic device, system and storage medium Download PDF

Info

Publication number
WO2023178589A1
WO2023178589A1 PCT/CN2022/082703 CN2022082703W WO2023178589A1 WO 2023178589 A1 WO2023178589 A1 WO 2023178589A1 CN 2022082703 W CN2022082703 W CN 2022082703W WO 2023178589 A1 WO2023178589 A1 WO 2023178589A1
Authority
WO
WIPO (PCT)
Prior art keywords
shooting
video
target video
information
template
Prior art date
Application number
PCT/CN2022/082703
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/CN2022/082703 priority Critical patent/WO2023178589A1/en
Publication of WO2023178589A1 publication Critical patent/WO2023178589A1/en

Links

Images

Definitions

  • This application relates to the field of photography technology, specifically, to a photography guidance method, electronic equipment, system and storage medium.
  • one of the purposes of this application is to provide a shooting guidance method, electronic device, system and storage medium.
  • embodiments of the present application provide a shooting guidance method, including:
  • shooting guidelines for one or more missing shots in the target video are generated.
  • full utilization of the videos that have been captured by the user can be achieved, and the target video captured by the user in advance can be obtained, and then the template corresponding to the target video is determined based on the shooting information of the target video.
  • the template is usually based on the shooting level, which is reasonable and coherent and smooth.
  • Obtaining excellent films can provide users with shooting ideas, guide the video shooting process, and then generate shooting guidelines for one or more missing shots in the target video, so that users can shoot images related to the missing shots based on the shooting guidelines. /or video to help improve the shooting effect.
  • users can only shoot images and/or videos related to the missing lens based on the missing lens shooting guide, without having to start the entire video shooting process from scratch, which helps reduce the user's shooting steps and shooting time, and improves shooting efficiency.
  • embodiments of the present application provide a shooting guidance method, including:
  • shooting guidelines for one or more missing shots in the target video are generated.
  • the target video can be combined with the images or videos related to the missing lens to obtain a coherent and smooth synthetic video, achieving Make full use of targeted videos.
  • users can only shoot images and/or videos related to the missing lens based on the shooting guidelines of the missing lens, without having to start the entire video shooting process from scratch, which helps reduce the user's shooting steps and shooting time, and improves shooting efficiency.
  • an electronic device including:
  • processors one or more processors
  • memory for storing instructions executable by the processor
  • the one or more processors execute the executable instructions individually or jointly to perform the method described in the first aspect or the second aspect.
  • embodiments of the present application provide a system, including the electronic device described in the third aspect and a movable platform; the movable platform is provided with a shooting device;
  • the electronic device is used to control the movement of the movable platform according to the shooting guidance, so that the shooting device shoots images and/or videos related to the missing lens.
  • embodiments of the present application provide a computer-readable storage medium that stores executable instructions, and when executed by a processor, the executable instructions implement the first aspect or the second aspect. method described.
  • Figure 1 is a schematic diagram of a flight system provided by an embodiment of the present application.
  • Figure 2 is a schematic flowchart of a shooting guidance method provided by an embodiment of the present application.
  • Figure 3 is a schematic diagram of an effect including shooting content provided by an embodiment of the present application.
  • Figure 4 is a schematic flowchart of another shooting guidance method provided by an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • non-professional photographers with insufficient shooting experience may not be able to shoot videos of good quality when using shooting devices. For example, they may shoot randomly due to no shooting ideas, resulting in messy video content and lack of video content. Fluency, continuity, etc. For this type of video, users may delete it and re-shoot the video until the captured video meets expectations. The whole process is relatively cumbersome.
  • embodiments of the present application provide a shooting guidance method to fully utilize the videos that have been shot by the user, obtain the target video that has been shot by the user in advance, and then determine the target video based on the shooting information of the target video.
  • the corresponding template is usually obtained based on excellent films with reasonable and coherent shooting levels. It can provide users with shooting ideas, guide the video shooting process, and then generate shooting guidelines for one or more missing shots in the target video based on the template. , allowing users to shoot images and/or videos related to missing lenses based on shooting guidelines, which helps improve shooting effects.
  • users can only shoot images and/or videos related to the missing lens based on the missing lens shooting guide, without having to start the entire video shooting process from scratch, which will help reduce the user’s shooting steps and shooting time, and improve shooting efficiency; subsequent missing lenses Relevant images and/or videos can be synthesized with the target video (corresponding to the video shooting template and/or editing template) into a high-quality video to achieve "waste rescue" of the target video on the basis of making full use of the target video that the user has shot. ".
  • the shooting guidance method provided by the embodiments of the present application can be executed by an electronic device.
  • the shooting guidance method may be a computer program product, and the computer program product may be installed in an electronic device.
  • the shooting guidance method may be an executable instruction, which may be stored in a memory of an electronic device and executed by a processor in the electronic device.
  • the electronic device is provided with a shooting device.
  • the electronic device can be a mobile phone, a tablet, a computer or a monitoring device equipped with a shooting device.
  • the shooting device can take photos under the control of the electronic device. images or recorded videos; optionally, the electronic device can also have an image processing function, capable of processing images or videos captured by the shooting device; optionally, the electronic device can also have a visual display function (for example, the electronic device includes Display), capable of displaying images or videos captured by the shooting device.
  • the above-mentioned image processing function, image display function, and even the shooting control function can also be decoupled from the shooting device.
  • the electronic device and the shooting device are independent of each other and connected through communication, such as the electronic device. It may be a device with image processing function, image display function and shooting control function that is communicatively connected with the shooting device.
  • the electronic device can control the shooting device to capture images or record videos according to the shooting guidance, and thereby obtain images and/or videos related to the missing lens.
  • the electronic device may be a remote control device of a movable platform, the movable platform is equipped with a shooting device, and the remote control device has the functions of controlling the movement of the movable platform and controlling the shooting of the shooting device; Image processing function, optionally, the remote control device may also include a display (with image display function).
  • the movable platform includes but is not limited to unmanned aerial vehicles, unmanned vehicles, cloud platforms, unmanned ships or mobile robots. Please refer to Figure 1. Taking the movable platform as an unmanned aerial vehicle as an example, Figure 1 shows a schematic diagram of a flight system.
  • the flight system includes an unmanned aerial vehicle 20 and a remote control device 10.
  • the unmanned aerial vehicle 20 can be an agricultural unmanned aerial vehicle.
  • the unmanned aerial vehicle 20 is equipped with a shooting device 21 , and the shooting device 21 can be installed on the unmanned aerial vehicle 20 through a pan/tilt, or can be directly fixed on the unmanned aerial vehicle 20 .
  • the photographing device 21 at least includes a photosensitive element, such as a complementary metal oxide semiconductor (Complementary Metal Oxide Semiconductor, CMOS) sensor or a charge-coupled device (Charge-coupled Device, CCD) sensor.
  • CMOS complementary Metal Oxide Semiconductor
  • CCD Charge-coupled Device
  • the unmanned aerial vehicle 20 and the remote control device 10 are connected through communication. After obtaining the shooting guidance based on the shooting guidance method provided in the embodiment of the present application, the remote control device 10 can generate a control instruction sent to the unmanned aerial vehicle 20 according to the shooting guidance to control the unmanned aerial vehicle.
  • the aircraft 20 flies to a desired position, so that the shooting device 21 can capture images or videos related to the missing lens at the desired position.
  • the shooting device 21 can send the captured image or video related to the missing lens to the remote control device 10, and the remote control device 10 can display the image or video related to the missing lens through the display.
  • the remote control device 10 can synthesize the image or video related to the missing lens and the target video corresponding to the missing lens to obtain a high-quality video and realize full utilization of the target video.
  • Figure 2 is a schematic flow chart of a shooting guidance method provided by the embodiment of the present application.
  • the method is applied to electronic equipment, and the method includes:
  • step S101 the target video is obtained.
  • step S102 a template corresponding to the target video is determined based on the shooting information of the target video; the template is used to guide the video shooting process.
  • step S103 the template is used to generate shooting guidelines for one or more missing shots in the target video.
  • the electronic device can intelligently analyze the target video, obtain the shooting information of the target video, and then determine the template corresponding to the target video based on the shooting information of the target video.
  • the templates may include video shooting templates and/or editing templates. Video shooting templates and/or editing templates are usually obtained based on excellent films with reasonable and coherent shooting levels. The shooting templates and editing templates can provide users with shooting ideas. Guide the video shooting process; for example, the template indicates a series of shots with continuity.
  • the electronic device can determine one or more missing shots in the target video based on the shot difference between the template and the target video, and then generate shooting guidelines for one or more missing shots in the target video, so that the user can based on Shooting Guidelines Capture images and/or videos related to the missing footage to help improve the results. Moreover, only shooting images and/or videos related to the missing lens can also help reduce shooting steps and improve shooting efficiency; then the images and/or videos related to the missing lens can be combined with the target video to make full use of the target that the user has shot. Based on the video, the "waste film rescue" of the target video is realized.
  • the target video may be a video taken by the user at a historical time.
  • the target video can be manually selected by the user from the video collection based on actual shooting needs, and then the electronic device can obtain the target video based on the user's selection operation.
  • the target video may also be automatically selected by the electronic device based on relevant information.
  • the electronic device can control the shooting device to obtain scene information from the surrounding environment.
  • the remote control device can control the unmanned aerial vehicle to fly around and obtain the information of the shooting device during the flight of the unmanned aerial vehicle.
  • the electronic device can then perform scene recognition on the captured image or video to obtain scene information of the surrounding environment.
  • the scene information includes but is not limited to beach and seaside scenes, grassland scenes, food scenes, architectural scenes, desert scenes or hillside scenes, etc.
  • the electronic device may select the target video from a video collection based on scene information obtained by the shooting device from the surrounding environment; the video collection includes at least one video shot at a historical time.
  • the acquisition of the target video related to the surrounding environment is achieved, which facilitates the natural combination of the image (or video) related to the missing lens and the target video captured in the surrounding environment.
  • the videos in the video collection all correspond to shooting scene information.
  • the electronic device can compare the scene information of the surrounding environment with the shooting scene information of each video in the video collection.
  • the target video is selected based on the similarity of the shooting scene information of each video in the video collection; for example, a video with a similarity higher than a preset threshold can be selected as the target video; for another example, the selected target video satisfies the following conditions:
  • the similarity between the shooting scene information corresponding to the target video and the scene information of the surrounding environment is higher than the similarity between the shooting scene information corresponding to other videos in the video collection and the scene information of the surrounding environment.
  • obtaining a target video with a similar scene to the surrounding environment facilitates the natural combination of subsequent images (or videos) related to the missing lens captured in the surrounding environment and the target video.
  • the electronic device can also select the target video from a video collection based on the geographical location of the shooting device; the video collection includes at least one video shot at a historical time.
  • the videos in the video collection all correspond to shooting location information, and the electronic device can select a target video based on the distance difference between the geographical location of the shooting device and the shooting location of each video in the video collection.
  • a video whose distance difference is less than a preset distance value is selected as the target video; for another example, the selected target video satisfies the following conditions: the distance between the shooting location corresponding to the target video and the geographical location where the shooting device is located , is less than the distance between the shooting locations corresponding to other videos in the video collection and the geographical location where the shooting device is located.
  • the shooting location of the target video is the same as or close to the current shooting location of the shooting device, which facilitates the natural combination of subsequent images (or videos) related to the missing lens and the target video that are captured at the current shooting location.
  • the target video can also be selected from the video collection by combining the scene information obtained by the shooting device from the surrounding environment and the geographical location of the shooting device, thereby further improving the accuracy of the subsequent shooting corresponding to the missing lens.
  • the correlation between the image (or video) and the target video improves the coherence and fluency of the combination of the two.
  • the user can also pre-specify the shooting scene and/or the geographical location of the shooting scene, so that the electronic device selects a target video with a similar scene based on the scene information of the specified shooting scene, and/or based on the specified geographical location of the shooting scene. Select a target video with the same or similar shooting location, so that a shooting guide related to the missing lens of the target video and the shooting scene can be generated, which is helpful for subsequent images (or videos) related to the missing lens that are shot in the shooting scene. ) is a natural combination with the target video.
  • the electronic device may analyze the target video to obtain shooting information of the target video.
  • the photographing information includes at least one of the following: photographing scene information, photographing location information, photographed object, posture of the photographed subject, scene type of the photographed subject, composition of the photographed subject, lens movement technique, or Aesthetic quality evaluation information.
  • the electronic device can perform scene recognition on the target video and obtain the shooting scene information of the target video.
  • the shooting scene information includes but is not limited to beach and seaside scenes, grassland scenes, food scenes, people scenes, animal scenes, and architectural scenes. , desert scenes or hillside scenes, etc.
  • the electronic device can perform object recognition on the target video and obtain the subject in the target video.
  • the subject may be a person, a car, an animal, a static object (such as a sculpture), etc.
  • the electronic device can determine the subject in the target video, for example, determine the object that appears most often in the target video as the subject; and then determine the scene of the subject, for example, based on the subject.
  • the difference between the proportion of the subject in each video frame is used to determine the scene of the subject; alternatively, the composition of the subject can be analyzed, for example, the subject can be determined based on the position of the subject in the video frame.
  • the composition of the subject or, you can also perform posture recognition on the subject to obtain the posture of the subject.
  • the electronic device can perform lens movement analysis on the target video, such as determining the lens movement technique of the target video by analyzing the position changes of the subject in the target video in different video frames.
  • the electronic device can input the target video into a pre-trained aesthetic quality evaluation model, and obtain the aesthetic quality evaluation information of the target video output by the aesthetic quality evaluation model.
  • the aesthetic quality evaluation model can be obtained through supervised learning based on labeled video samples.
  • the electronic device can determine a template corresponding to the target video according to the shooting information of the target video; wherein the template is used to guide the video shooting process; Templates can be obtained based on excellent videos with reasonable and coherent shooting levels, and can provide users with shooting ideas. Users can refer to the templates to shoot similar high-quality videos.
  • the template includes a video shooting template and/or the editing template.
  • the video shooting template indicates the video content that needs to be shot
  • the editing template indicates the video content that needs to be edited.
  • the video shooting template and/or the editing template include a series of shot information abstracted from excellent finished films.
  • the lens information includes but is not limited to: lens information indicating different scenes, lens information indicating different camera movements, lens information indicating different scenes of the subject, lens information indicating different postures of the subject, lens information indicating different postures of the subject, Lens information for different compositions or lens information indicating different objects. That is to say, the video shooting template or the editing template may include at least two different lens information; the lens information may be presented in the form of text, image or video.
  • the video shooting template is obtained from excellent films of food production.
  • the video shooting template includes a coherent series of kitchen environment, food introduction, washing vegetables, cutting vegetables, stir-frying, and close-ups of food.
  • Lens information such as the above-mentioned lens information, can be presented as an image.
  • the editing template is obtained from excellent films in the camera movement category.
  • the editing template includes a coherent series of lens information such as camera advancement ⁇ 360° camera movement to the left ⁇ camera zoom out. , for example, these three lens information can be presented in video.
  • the electronic device has a template set pre-stored, and the template set includes several reference video shooting templates and/or several reference editing templates, and the reference video shooting templates and the reference editing templates all correspond to reference Shooting information.
  • the electronic device may compare the shooting information of the target video with the reference shooting information of each template (reference video shooting template and/or reference editing template) in the template set. Yes, according to the similarity between the shooting information of the target video and each reference shooting information, a template corresponding to the target video is selected from a pre-stored template set.
  • a reference video shooting template and/or a reference editing template whose similarity is higher than a preset threshold can be selected as the template corresponding to the target video; for example, the selected template satisfies the following conditions: the reference shooting information of the template corresponding to the target video and The similarity between the shooting information of the target video is higher than the similarity between other reference shooting information in the template set and the shooting information of the target video.
  • selecting a reference shooting template and/or a reference editing template that is similar to the shooting information of the target video can guide the user to shoot high-quality images or videos, which is beneficial to subsequent shooting of images corresponding to the missing shots (or video) is coherently and smoothly combined with the target video.
  • several reference video shooting templates and/or several reference editing templates included in the template set can be obtained based on excellent films with reasonable shooting levels and coherent and smooth shooting levels.
  • several videos in the preset video library can be analyzed, videos with coherence and/or aesthetic quality evaluation information that meet the preset requirements can be selected, and then reference video shooting templates and/or reference clips can be generated based on such videos.
  • template For example, the reference video shooting template and/or the reference editing template indicates a series of shot information abstracted from excellent finished films.
  • the videos in the preset video library may be videos with a high number of likes and/or comments on a public video sharing platform.
  • several videos in the preset video library can be input into a pre-trained aesthetic quality evaluation model, and the aesthetic quality evaluation information of each video can be obtained through the aesthetic quality evaluation model, and then the aesthetic quality evaluation information satisfies the predetermined requirements.
  • Generate reference video shooting templates and/or reference editing templates for videos that meet certain requirements for example, the aesthetic quality evaluation score is higher than a preset score).
  • the reference video shooting template and/or the reference editing template are determined based on the video specified by the user selection instruction. For example, the user can select the video he wants to refer to according to his own aesthetics and needs, and then the electronic device can generate the reference video shooting template and/or the reference editing template according to the video specified by the user's selection instruction.
  • the electronic device can use the video shooting template and/or the editing template, Generate shooting guidelines for one or more missing shots in the target video.
  • the generated shooting guide can provide the user with shooting ideas, guide the user to shoot high-quality images or videos, and only need to shoot images or videos related to the missing shots in the target video, without starting the video shooting from scratch. , which is conducive to reducing the user's shooting steps and improving shooting efficiency, and the captured images or videos related to the missing lens can be combined with the target video to achieve effective use of the target video.
  • the electronic device can analyze the target video, determine the aesthetic quality evaluation information of each video frame in the target video, and then eliminate the video frames in the target video whose aesthetic quality evaluation information does not meet the preset requirements. Furthermore, after determining the template corresponding to the target video, the electronic device can use the template to generate shooting guidelines for one or more missing shots in the target video after removing video frames. In this embodiment, some video frames in the target video with poor shooting results can be deleted and re-shot, thereby improving the effect of combining the target video with the image (or video) corresponding to the missing shot.
  • the electronic device can use the template to determine one or more missing shots in the target video, and then generate shooting guidelines for the one or more missing shots.
  • the missing shots include but are not limited to at least one of the following: shots missing a specified scene, shots missing a specified camera technique, shots missing a specified scene of the subject, shots missing a specified pose of the subject, shots missing the subject.
  • shots missing a specified scene shots missing a specified camera technique
  • shots missing a specified scene of the subject shots missing a specified pose of the subject
  • shots missing the subject shots missing the subject.
  • shots missing the subject has a specified composition or a shot in which a specified object is missing. It can be understood that the shooting guide indicates how to obtain the image or video corresponding to the missing lens.
  • the template corresponding to the target video is a video shooting template of a food production scene.
  • the video shooting template includes a coherent sequence of kitchen environment, food introduction, washing vegetables, cutting vegetables, stir-frying, and close-ups of food.
  • the target video includes shots of the kitchen environment, food introduction, washing vegetables, and cooking according to the video shooting template.
  • the missing shots in the target video include vegetable cutting shots and food close-ups.
  • the shooting guide for close-up shots of gourmet food instructs the forward-moving close-up shooting technique of food, or rotating the food from left to right (or from right to left).
  • the template corresponding to the target video is a scene-type editing template.
  • the editing template indicates that there are coherent shots such as close-ups, close-ups, medium shots, long shots, and panoramic shots. According to the editing template, all the shots are determined. If the target video includes mid-range, close-up and panoramic shots, it can be determined that the missing shots in the target video include close-up shots and long-range shots, and the electronic device can generate shooting guidelines for close-up shots and long-range shots.
  • the template corresponding to the target video is a video shooting template of the character posture category.
  • the video shooting template indicates a series of shots of characters dancing, jumping, rotating, and sideways. According to the video shooting template, all the shots are determined. If the target video includes shots of characters dancing, rotating, and side-stepping, it can be determined that the missing shots in the target video include shots of characters jumping, and the electronic device can generate shooting guidelines for the character jumping shots.
  • the electronic device can obtain the environmental information of the environment where the shooting device is located, and then generate shooting guidelines for one or more missing shots in the target video based on the template and the environmental information; in this embodiment, the generated The shooting guideline is related to both the missing lens of the target video and the environment where the shooting device is located, which helps to capture images or videos related to the missing lens from the surrounding environment according to the shooting guideline.
  • the electronic device can determine one or more missing shots in the target video according to the template; and, the electronic device can obtain information related to the environment where the shooting device is located based on the environmental information of the environment where the shooting device is located. Multiple reference shooting guides; and then the electronic device can obtain the shooting guides related to the one or more missing lenses from the multiple reference shooting guides, so that the shooting device can capture the missing lenses from the surrounding environment according to the shooting indexes.
  • Related images or videos are related images or videos.
  • the template corresponding to the target video is a video shooting template of a seaside scene.
  • the video shooting template includes a panoramic view of the sea, a medium shot of the beach, a close shot of the beach, a close-up of the waves, a picture of the waves hitting the rocks, and a picture of the waves receding from the beach. and a series of shot information, and based on the video shooting template, it is determined that the missing shots in the target video include mid-range shots of the beach, close-ups of waves, and scenes of waves hitting the rocks.
  • multiple reference shooting guidelines related to the seaside environment include the following reference shooting guidelines corresponding to various images: sea panorama, sea mid-range, sea close-up, beach panorama, beach mid-range, Close-up of the beach, moving the camera upward from the beach to the beautiful sea, moving the camera from left to right to capture the waves, close-ups of the waves, waves hitting the rocks, waves receding from the beach, high tide, low tide, swimming, and sailboat driving. , close-up of people on the seaside, mid-shot of people on the seaside, close-up of people on the seaside, long-shot of seaside buildings or mid-shot of seaside buildings, etc.
  • the electronic device can obtain the shooting guide for the mid-range shot of the beach, the shooting guide for the close-up of the waves, and the shooting guide for the scene of the waves hitting the rocks from multiple reference shooting guides related to the seaside environment.
  • the shooting device can obtain the shooting guide from the seaside environment according to the shooting index. Images or videos related to the missing footage.
  • the environmental information of the environment where the shooting device is located includes visual semantic information; the electronic device can control the shooting device to shoot images and/or videos of the surrounding environment, such as flying as shown in Figure 1 Taking the system as an example, the remote control device can control the unmanned aerial vehicle to fly around and obtain the images or videos captured by the shooting device during the flight of the unmanned aerial vehicle.
  • the electronic device can perform semantic segmentation processing or instance segmentation processing on the image or video of the surrounding environment to recognize visual semantic information from the image or video of the surrounding environment.
  • the visual semantic information recognized by the electronic device may include: beaches, coasts, seawater, reefs, seaside buildings, etc.
  • the visual semantic information recognized by the electronic device may include various kitchen supplies (such as cutting boards, rice cookers or woks, etc.), kitchen buildings (sinking tables, dining tables), spices and/or food etc.
  • the electronic device can pre-store the mapping relationships between different reference visual semantic information and reference shooting guidelines. Then, after acquiring the visual semantic information of the surrounding environment, the electronic device can, based on the visual semantic information, use the different pre-stored reference visual semantic information and reference shooting guidelines.
  • a plurality of reference shooting guidelines related to the environment where the shooting device is located are determined from the mapping relationship. For example, the visual semantic information can be compared with the reference visual semantic information in the mapping relationship, and the reference shooting guideline corresponding to the reference visual semantic information with a similarity higher than a preset threshold is determined to be the same as the location where the shooting device is located.
  • Environmentally relevant reference shooting guidelines are provided to determine the same as the location where the shooting device is located.
  • the visual semantic information includes mountains
  • reference shooting guidelines about the mountains are matched, such as starting with an introduction to the mountain's stone tablet, or starting with the beautiful mountain scenery to explain the environmental information.
  • the visual semantic information includes a sculpture, which can be matched with a reference shooting guideline related to the sculpture.
  • the reference shooting guideline includes a shooting method that surrounds the sculpture, or a shooting method that gradually zooms in on the sculpture.
  • the environmental information includes the geographical location of the environment where the shooting device is located.
  • the electronic device can determine the scenic spots around the geographical location based on the geographical location of the environment where the shooting device is located, and obtain the information related to the location. Describes multiple reference shooting guidelines related to scenic spots. For example, if the scenic spot around the geographical location is determined to be "Hangzhou West Lake", multiple reference shooting guidelines related to the "Hangzhou West Lake” scenic spot can be obtained.
  • the electronic device can pre-store the mapping relationships between different reference scenic spots and reference shooting guidelines. Then, after determining the scenic spots around the geographical location, the electronic device can determine the scenic spots from the pre-stored mapping relations based on the scenic spots near the shooting device. Multiple reference shooting guidelines related to scenic spots.
  • the user after generating shooting guidelines for one or more missing shots in the target video, can shoot images or videos related to the missing shots according to the shooting guidelines; or, the electronic device can shoot images or videos related to the missing shots according to the shooting guidelines.
  • the shooting guide automatically controls the shooting device to shoot images or videos related to the missing lens. Only shooting images or videos related to the missing lens can also help reduce shooting steps and improve shooting efficiency.
  • the shooting guide in a scenario where the user captures images or videos related to the missing lens according to the shooting guide, includes: shooting content and/or shooting techniques corresponding to the shooting content. That is to say, the shooting guide can tell the user what to shoot and how to shoot, so that the user can shoot high-quality images or videos.
  • the shooting guidance may include one or more of text guidance, auditory information guidance, image guidance and video guidance.
  • the shooting content can be presented in a schematic diagram or an example video clip containing the shooting content; for example, please refer to Figure 3, which shows a close-up view of a person on the beach in a seaside scene. Effect diagram.
  • the shooting techniques can also be presented through images or videos, and the implementation of relevant shooting techniques can be intuitively explained through images or videos, which is conducive to improving the user's learning efficiency, wherein, so
  • the shooting method may indicate at least one of the following shooting guidance information: shooting parameters of the shooting device, a field of view direction of the shooting device, a reference distance between the shooting device and the subject, or a distance of the shooting device. Movement trajectories, etc.
  • the relevant shooting technique can be to instruct the user in text by changing the focal length of the shooting device, or it can be intuitive in the form of images or videos. Instruct users to achieve this by changing the distance between themselves and the person being photographed.
  • the shooting guide may include one or more shooting control instructions for the missing lens, so as to This allows the shooting device to capture images or videos related to the missing lens based on the shooting control instruction.
  • the movable platform is communicatively connected to the remote control device, and the movable platform is provided with a shooting device.
  • the remote control device may control the movement of the movable platform according to the shooting guidance, so that the shooting device shoots images and/or videos related to the one or more missing shots.
  • This embodiment realizes automatic control of the shooting device to shoot images or videos related to the missing lens based on the shooting guidance, which is beneficial to reducing the user's operating steps and improving the user experience.
  • the shooting guide indicates the shooting parameters of the shooting device, the desired position of the movable platform, the orientation of the movable platform, the motion trajectory of the movable platform, and/or the Reference distance between the movable platform and the subject, etc.
  • the remote control device can generate shooting control instructions for the one or more missing lenses according to the shooting guidance, and send them to the movable platform to control the movable platform to move (such as controlling the movable platform to change its orientation). , change one's own position, change the distance between oneself and the subject, or move according to the indicated movement trajectory, etc.) and use the shooting device to shoot images or videos related to the missing lens.
  • the shooting control instruction carries the shooting parameters of the shooting device
  • the shooting parameters of the shooting device can also be changed according to the shooting control instruction.
  • the shooting guide includes an effect diagram; the remote control device can control the movement of the movable platform according to the difference between the effect diagram and the image currently captured by the remote control device until the image currently captured by the remote control device is consistent with the difference between the effect diagram and the image currently captured by the remote control device.
  • the difference between the effect diagrams is less than the preset difference.
  • the shooting guide indicates a desired position where the movable platform is located; the remote control device can control the movable platform to move to the desired position according to the shooting guide, so that the shooting The device captures images and/or videos associated with the one or more missing shots at the desired location.
  • the shooting guide indicates the movement trajectory of the movable platform; the remote control device can control the movement of the movable platform according to the movement trajectory, so that the shooting device moves on the movable platform Images and/or videos related to the one or more missing shots are captured during the process.
  • the missing lens is a surround shooting lens
  • the shooting guide indicates the flight path of the unmanned aircraft flying around the subject, and the remote control device can be controlled according to the flight path.
  • the unmanned aerial vehicle flies around the subject, so that the shooting device captures video corresponding to the surrounding shooting lens.
  • the template includes a editing template; after the shooting device captures the images and/or videos related to the missing lens based on the shooting guide, the electronic device can obtain the image related to the missing lens. and/or video, and then use the editing template to synthesize the image and/or video and the target video, taking into account that the image and/or video shot based on the shooting guide is associated with the target video, thereby ensuring It ensures the natural coherence of the synthesized video and makes full use of the target video.
  • This embodiment of the present application also provides a schematic flow chart of another shooting guidance method.
  • the method is applied to electronic equipment, and the method includes:
  • step S201 environmental information of the environment where the shooting device is located is obtained; and, a target video is obtained and one or more missing shots in the target video are determined.
  • step S202 based on the environment information, a shooting guide for one or more missing shots in the target video is generated.
  • This embodiment realizes full utilization of the target video.
  • the shooting of one or more missing shots in the target video can be generated based on the environmental information of the environment where the shooting device is located.
  • Guide which helps to capture images or videos related to the missing lens from the surrounding environment according to the shooting guidelines, and then the target video can be combined with the images or videos related to the missing lens to obtain a coherent and smooth synthetic video, achieving full understanding of the target video.
  • users can only shoot images and/or videos related to the missing lens based on the shooting guidelines of the missing lens, without having to start the entire video shooting process from scratch, which helps reduce the user's shooting steps and shooting time, and improves shooting efficiency.
  • determining one or more missing shots in the target video includes: determining a template corresponding to the target video based on the shooting information of the target video; the template is used to guide video shooting Process: using the template, determine one or more missing shots in the target video.
  • generating shooting guidelines for one or more missing shots in the target video based on the environmental information includes: obtaining, based on the environmental information, information related to the environment where the shooting device is located. A plurality of reference shooting guidelines; and obtaining a shooting guide related to the one or more missing lenses from the plurality of reference shooting guidelines.
  • the shooting device is used to collect images and/or videos of the surrounding environment; the environmental information includes visual semantic information recognized from the images or videos of the surrounding environment; the multiple reference shooting guidelines According to the visual semantic information, it is determined from the mapping relationship between different pre-stored reference visual semantic information and reference shooting guidelines.
  • the environmental information includes the geographical location of the environment where the shooting device is located; and obtaining multiple reference shooting guidelines related to the environment where the shooting device is located based on the environmental information includes: according to the shooting device The geographical location of the environment is determined, the scenic spots around the geographical location are determined, and multiple reference shooting guidelines related to the scenic spots are obtained.
  • the plurality of reference shooting guidelines related to the scenic spot are determined from the pre-stored mapping relationships between different scenic spots and reference shooting guidelines based on the scenic spots around the geographical location.
  • the shooting information includes at least one of the following: shooting scene information, shooting location information, the subject, the posture of the subject, the scene of the subject, the composition of the subject, the movement of the camera Technique or aesthetic quality evaluation information.
  • the template corresponding to the target video is obtained from a pre-stored template set; the template set includes several reference video shooting templates and/or several reference editing templates, and the reference video shooting template and all The reference editing templates all correspond to reference shooting information; the similarity between the reference shooting information of the template corresponding to the target video and the shooting information of the target video is higher than that between other reference shooting information in the template set and The similarity between the shooting information of the target video.
  • the missing shots include at least one of the following: shots missing a specified scene, shots missing a specified camera technique, shots missing a specified scene of the subject, shots missing a specified pose of the subject, Shots with a specified composition of the subject or shots with a specified object missing.
  • obtaining the target video includes: selecting the target video from a video collection according to the scene information obtained by the shooting device from the surrounding environment and/or the geographical location of the shooting device; the video collection Include at least one video shot in historical time.
  • the similarity between the shooting scene information corresponding to the target video and the scene information is higher than the similarity between the shooting scene information corresponding to other videos in the video collection and the scene information.
  • the distance between the shooting location corresponding to the target video and the geographical location where the shooting device is located is less than the distance between the shooting locations corresponding to other videos in the video collection and the geographical location where the shooting device is located. distance between.
  • the shooting guide includes: shooting content and/or shooting techniques corresponding to the shooting content.
  • the shooting content is presented in a schematic diagram or an example video clip containing the shooting content;
  • the shooting method is presented in an image or video;
  • the shooting method instruction includes at least one of the following shooting guidance information: the shooting device The shooting parameters, the field of view direction of the shooting device, the reference distance between the shooting device and the subject, or the motion trajectory of the shooting device.
  • the method is applied to a remote control device of a movable platform; the movable platform is provided with a shooting device; the method further includes: controlling the movement of the movable platform according to the shooting guidance, so that The photographing device collects and captures images and/or videos related to the one or more missing lenses.
  • the shooting guide indicates the desired position of the movable platform, the orientation of the movable platform, the motion trajectory of the movable platform, and/or the distance between the movable platform and the subject. Reference distance.
  • the method further includes: obtaining images and/or videos related to the missing lens shot based on the shooting guidelines; using the editing template to edit the images and/or videos, and the The target video is synthesized.
  • This embodiment of the present application also provides an electronic device 10, including:
  • processors 11 one or more processors 11;
  • Memory 12 for storing instructions executable by the processor 11;
  • the one or more processors 11 execute the executable instructions individually or jointly to perform any one of the above methods.
  • the processor 11 executes executable instructions included in the memory 12.
  • the processor 11 may be a central processing unit (Central Processing Unit, CPU), or other general-purpose processor, digital signal processor (Digital Signal Processor). Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
  • the memory 12 stores executable instructions for the shooting guidance method.
  • the memory 12 may include at least one type of storage medium.
  • the storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.) , Random Access Memory (RAM), Static Random Access Memory (SRAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Programmable Read Only Memory (PROM), Magnetic Memory, Disk, CDs etc.
  • the device may cooperate with a network storage device that performs the storage functions of the memory through a network connection.
  • the memory 12 may be an internal storage unit of the device 10 , such as a hard disk or memory of the device 10 .
  • the memory 12 may also be an external storage device of the device 10, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SD) card, or a flash card (Flash Card) equipped on the device 10. wait. Further, the memory 12 may also include both an internal storage unit of the device 10 and an external storage device. Memory 12 is used to store executable instructions and other programs and data required by the device. The memory 12 may also be used to temporarily store data that has been output or is to be output.
  • an external storage device of the device 10 such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SD) card, or a flash card (Flash Card) equipped on the device 10. wait. Further, the memory 12 may also include both an internal storage unit of the device 10 and an external storage device. Memory 12 is used to store executable instructions and other programs and data required by the device. The memory 12 may also be used to temporarily store data that has been output or is to be output.
  • the electronic device is provided with a photographing device; or the electronic device is communicatively connected with the photographing device.
  • the electronic device includes a remote control device of a movable platform, the movable platform is provided with a shooting device, and the remote control device is communicatively connected with the movable platform.
  • the movable platform includes at least one of the following: unmanned aerial vehicle, unmanned vehicle, cloud platform, unmanned vessel or mobile robot.
  • Various implementations described herein may be implemented using computer-readable media, such as computer software, hardware, or any combination thereof.
  • the embodiments described herein may be implemented using an application specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array ( FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein.
  • ASIC application specific integrated circuit
  • DSP digital signal processor
  • DSPD digital signal processing device
  • PLD programmable logic device
  • FPGA field programmable gate array
  • processor a controller
  • microcontroller a field programmable gate array
  • embodiments such as procedures or functions may be implemented with separate software modules that allow at least one function or operation to be performed.
  • the software code may be implemented by a software application (or program) written in any suitable programming language, which may be stored in memory and executed by the controller.
  • the electronic device 10 may include, but is not limited to, a processor 11 and a memory 12 .
  • FIG. 5 is only an example of the electronic device 10 and does not constitute a limitation of the electronic device 10. It may include more or fewer components than shown, or some components may be combined, or different components may be used. , for example, devices may also include input and output devices, network access devices, buses, etc.
  • An embodiment of the present application also provides a system, including the above-mentioned electronic device and a movable platform; the movable platform is provided with a shooting device.
  • the electronic device is used to control the movement of the movable platform according to the shooting guidance, so that the shooting device shoots images and/or videos related to the missing lens.
  • the movable platform includes at least one of the following: an unmanned aerial vehicle, an unmanned vehicle, a gimbal, an unmanned vessel, or a mobile robot.
  • non-transitory computer-readable storage medium including instructions, such as a memory including instructions, which can be executed by a processor of the device to complete the above method is also provided.
  • non-transitory computer-readable storage media may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
  • a non-transitory computer-readable storage medium enables the terminal to perform the above method when instructions in the storage medium are executed by a processor of the terminal.

Abstract

A filming guidance method, an electronic device, a system and a storage medium. The method comprises: acquiring a target video; according to filming information of the target video, determining a template corresponding to the target video, the template being used for guiding a video filming process; and generating filming guidance for one or more missing shots of the target video by utilizing the template. Filming effect improvement is facilitated.

Description

拍摄指引方法、电子设备、系统及存储介质Photography guidance methods, electronic equipment, systems and storage media 技术领域Technical field
本申请涉及拍摄技术领域,具体而言,涉及一种拍摄指引方法、电子设备、系统及存储介质。This application relates to the field of photography technology, specifically, to a photography guidance method, electronic equipment, system and storage medium.
背景技术Background technique
随着当今社会中的拍摄装置的发展和普及,用户在旅行或者外出游玩时,越来越倾向于使用拍摄装置进行拍摄,保留沿途过程中的美好画面。然而,对于拍摄经验不足的非专业拍摄人员,在使用拍摄装置进行拍摄时,可能无法拍出质量较好的视频,比如,由于没有拍摄思路而随意取景拍摄,导致视频内容杂乱、视频缺乏流畅连贯性等。针对于该类视频,用户可能会将其删除并重新进行视频拍摄直到拍摄的视频达到期望要求,整个过程较为繁琐。With the development and popularization of shooting devices in today's society, users are increasingly inclined to use shooting devices to take pictures when traveling or outing to preserve the beautiful pictures along the way. However, non-professional photographers with insufficient shooting experience may not be able to shoot videos of good quality when using shooting devices. For example, they may shoot randomly due to no shooting ideas, resulting in messy video content and lack of smoothness and coherence. Sex etc. For this type of video, users may delete it and re-shoot the video until the captured video meets the desired requirements. The whole process is relatively cumbersome.
发明内容Contents of the invention
有鉴于此,本申请的目的之一是提供一种拍摄指引方法、电子设备、系统及存储介质。In view of this, one of the purposes of this application is to provide a shooting guidance method, electronic device, system and storage medium.
第一方面,本申请实施例提供了一种拍摄指引方法,包括:In the first aspect, embodiments of the present application provide a shooting guidance method, including:
获取目标视频;Get the target video;
根据所述目标视频的拍摄信息,确定所述目标视频对应的模板;所述模板用于引导视频拍摄过程;Determine a template corresponding to the target video according to the shooting information of the target video; the template is used to guide the video shooting process;
利用所述模板,生成所述目标视频中的一个或多个缺失镜头的拍摄指引。Using the template, shooting guidelines for one or more missing shots in the target video are generated.
在本申请实施例中,实现对用户已拍摄视频的充分利用,能够获取用户预先拍摄的目标视频,然后根据目标视频的拍摄信息确定该目标视频对应的模板,模板通常基于拍摄层次合理且连贯流畅的优秀成片获得,可以为用户提供拍摄思路,引导视频拍摄过程,进而基于生成所述目标视频中的一个或多个缺失镜头的拍摄指引,使得用户可以基于拍摄指引拍摄缺失镜头相关的图像和/或视频,有助于提高拍摄效果。而且, 用户可以基于缺失镜头的拍摄指引仅需拍摄缺失镜头相关的图像和/或视频,而无需从头开始整个视频拍摄过程,有利于减少用户的拍摄步骤和拍摄时长,提高拍摄效率。In the embodiments of this application, full utilization of the videos that have been captured by the user can be achieved, and the target video captured by the user in advance can be obtained, and then the template corresponding to the target video is determined based on the shooting information of the target video. The template is usually based on the shooting level, which is reasonable and coherent and smooth. Obtaining excellent films can provide users with shooting ideas, guide the video shooting process, and then generate shooting guidelines for one or more missing shots in the target video, so that users can shoot images related to the missing shots based on the shooting guidelines. /or video to help improve the shooting effect. Moreover, users can only shoot images and/or videos related to the missing lens based on the missing lens shooting guide, without having to start the entire video shooting process from scratch, which helps reduce the user's shooting steps and shooting time, and improves shooting efficiency.
第二方面,本申请实施例提供了一种拍摄指引方法,包括:In the second aspect, embodiments of the present application provide a shooting guidance method, including:
获取拍摄装置所处环境的环境信息;以及,获取目标视频并确定所述目标视频中的一个或多个缺失镜头;Obtain environmental information of the environment where the shooting device is located; and, obtain the target video and determine one or more missing shots in the target video;
根据所述环境信息,生成所述目标视频中的一个或多个缺失镜头的拍摄指引。According to the environmental information, shooting guidelines for one or more missing shots in the target video are generated.
在本申请实施例中,有助于根据拍摄指引从周围环境中拍摄得到与缺失镜头相关的图像或视频,进而目标视频能够与缺失镜头相关的图像或视频结合,获得连贯流畅的合成视频,实现对目标视频的充分利用。而且,用户可以基于缺失镜头的拍摄指引仅需拍摄缺失镜头相关的图像和/或视频,而无需从头开始整个视频拍摄过程,有利于减少用户的拍摄步骤和拍摄时长,提高拍摄效率。In the embodiment of the present application, it is helpful to capture images or videos related to the missing lens from the surrounding environment according to the shooting guidelines, and then the target video can be combined with the images or videos related to the missing lens to obtain a coherent and smooth synthetic video, achieving Make full use of targeted videos. Moreover, users can only shoot images and/or videos related to the missing lens based on the shooting guidelines of the missing lens, without having to start the entire video shooting process from scratch, which helps reduce the user's shooting steps and shooting time, and improves shooting efficiency.
第三方面,本申请实施例提供了一种电子设备,包括:In a third aspect, embodiments of the present application provide an electronic device, including:
一个或多个处理器;one or more processors;
用于存储所述处理器可执行指令的存储器;memory for storing instructions executable by the processor;
其中,所述一个或多个处理器单独或者共同执行所述可执行指令,以执行第一方面或第二方面所述的方法。Wherein, the one or more processors execute the executable instructions individually or jointly to perform the method described in the first aspect or the second aspect.
第四方面,本申请实施例提供了一种系统,包括第三方面所述的电子设备以及可移动平台;所述可移动平台设置有拍摄装置;In the fourth aspect, embodiments of the present application provide a system, including the electronic device described in the third aspect and a movable platform; the movable platform is provided with a shooting device;
所述电子设备用于根据所述拍摄指引控制所述可移动平台运动,以使所述拍摄装置拍摄与缺失镜头相关的图像和/或视频。The electronic device is used to control the movement of the movable platform according to the shooting guidance, so that the shooting device shoots images and/or videos related to the missing lens.
第五方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质存储有可执行指令,所述可执行指令被处理器执行时实现第一方面或第二方面所述的方法。In a fifth aspect, embodiments of the present application provide a computer-readable storage medium that stores executable instructions, and when executed by a processor, the executable instructions implement the first aspect or the second aspect. method described.
附图说明Description of the drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without exerting any creative effort.
图1是本申请实施例提供的一种飞行系统的示意图;Figure 1 is a schematic diagram of a flight system provided by an embodiment of the present application;
图2是本申请实施例提供的一种拍摄指引方法的流程示意图;Figure 2 is a schematic flowchart of a shooting guidance method provided by an embodiment of the present application;
图3是本申请实施例提供的一种包括拍摄内容的效果示意图;Figure 3 is a schematic diagram of an effect including shooting content provided by an embodiment of the present application;
图4是本申请实施例提供的另一种拍摄指引方法的流程示意图;Figure 4 is a schematic flowchart of another shooting guidance method provided by an embodiment of the present application;
图5是本申请实施例提供的一种电子设备的结构示意图。FIG. 5 is a schematic structural diagram of an electronic 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 only some of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of this application.
相关技术中,对于拍摄经验不足的非专业拍摄人员,在使用拍摄装置进行拍摄时,可能无法拍出质量较好的视频,比如,由于没有拍摄思路而随意取景拍摄,导致视频内容杂乱、视频缺乏流畅连贯性等。针对于该类视频,用户可能会将其删除并重新进行视频拍摄直到拍摄的视频达到期望,整个过程较为繁琐。In related technologies, non-professional photographers with insufficient shooting experience may not be able to shoot videos of good quality when using shooting devices. For example, they may shoot randomly due to no shooting ideas, resulting in messy video content and lack of video content. Fluency, continuity, etc. For this type of video, users may delete it and re-shoot the video until the captured video meets expectations. The whole process is relatively cumbersome.
针对于相关技术中的问题,本申请实施例提供了一种拍摄指引方法,实现对用户已拍摄视频的充分利用,能够获取用户预先拍摄的目标视频,然后根据目标视频的拍摄信息确定该目标视频对应的模板,模板通常基于拍摄层次合理且连贯流畅的优秀成片获得,可以为用户提供拍摄思路,引导视频拍摄过程,进而基于模板生成所述目标视频中的一个或多个缺失镜头的拍摄指引,使得用户可以基于拍摄指引拍摄缺失镜头相关的图像和/或视频,有助于提高拍摄效果。In response to the problems in related technologies, embodiments of the present application provide a shooting guidance method to fully utilize the videos that have been shot by the user, obtain the target video that has been shot by the user in advance, and then determine the target video based on the shooting information of the target video. The corresponding template is usually obtained based on excellent films with reasonable and coherent shooting levels. It can provide users with shooting ideas, guide the video shooting process, and then generate shooting guidelines for one or more missing shots in the target video based on the template. , allowing users to shoot images and/or videos related to missing lenses based on shooting guidelines, which helps improve shooting effects.
而且,用户可以基于缺失镜头的拍摄指引仅需拍摄缺失镜头相关的图像和/或视频,而无需从头开始整个视频拍摄过程,有利于减少用户的拍摄步骤和拍摄时长,提高拍摄效率;后续缺失镜头相关的图像和/或视频可以与目标视频合成(与视频拍摄模板和/或剪辑模板对应的)高质量视频,在充分利用用户已拍摄的目标视频的基础上实现对目标视频的“废片拯救”。Moreover, users can only shoot images and/or videos related to the missing lens based on the missing lens shooting guide, without having to start the entire video shooting process from scratch, which will help reduce the user’s shooting steps and shooting time, and improve shooting efficiency; subsequent missing lenses Relevant images and/or videos can be synthesized with the target video (corresponding to the video shooting template and/or editing template) into a high-quality video to achieve "waste rescue" of the target video on the basis of making full use of the target video that the user has shot. ".
在一些实施例中,本申请实施例提供的拍摄指引方法可以由电子设备来执行。示例性的,所述拍摄指引方法可以是一计算机程序产品,该计算机程序产品可以安装于电子设备中。示例性的,所述拍摄指引方法可以是可执行指令,该可执行指令可以存储在电子设备的存储器中,并可由电子设备中的处理器来执行。In some embodiments, the shooting guidance method provided by the embodiments of the present application can be executed by an electronic device. For example, the shooting guidance method may be a computer program product, and the computer program product may be installed in an electronic device. For example, the shooting guidance method may be an executable instruction, which may be stored in a memory of an electronic device and executed by a processor in the electronic device.
在一种可能的实施方式中,所述电子设备设置有拍摄装置,比如所述电子设备可以是设置有拍摄装置的手机、平板、电脑或者监控设备等,拍摄装置可以在电子设备 的控制下拍摄图像或者录制视频;可选地,所述电子设备还可以具有图像处理功能,能够对拍摄装置拍摄的图像或视频进行处理;可选地,电子设备还可以具有视觉显示功能(比如电子设备包括有显示器),能够显示拍摄装置拍摄的图像或视频。In a possible implementation, the electronic device is provided with a shooting device. For example, the electronic device can be a mobile phone, a tablet, a computer or a monitoring device equipped with a shooting device. The shooting device can take photos under the control of the electronic device. images or recorded videos; optionally, the electronic device can also have an image processing function, capable of processing images or videos captured by the shooting device; optionally, the electronic device can also have a visual display function (for example, the electronic device includes Display), capable of displaying images or videos captured by the shooting device.
在另一种可能的实施方式中,上述的图像处理功能和图像显示功能,甚至是拍摄控制功能也可以与拍摄装置解耦,如电子设备与拍摄装置相互独立且通信连接,比如所述电子设备可以是与拍摄装置通信连接的具有图像处理功能、图像显示功能和拍摄控制功能的设备。In another possible implementation, the above-mentioned image processing function, image display function, and even the shooting control function can also be decoupled from the shooting device. For example, the electronic device and the shooting device are independent of each other and connected through communication, such as the electronic device. It may be a device with image processing function, image display function and shooting control function that is communicatively connected with the shooting device.
所述电子设备在基于本申请实施例提供的拍摄指引方法获取拍摄指引之后,可以根据所述拍摄指引控制拍摄装置拍摄图像或者录制视频,进而获取与缺失镜头相关的图像和/或视频。After obtaining the shooting guidance based on the shooting guidance method provided by the embodiment of the present application, the electronic device can control the shooting device to capture images or record videos according to the shooting guidance, and thereby obtain images and/or videos related to the missing lens.
在一个示例性的应用场景中,所述电子设备可以是可移动平台的遥控设备,所述可移动平台安装有拍摄装置,所述遥控设备具有控制可移动平台运动、控制拍摄装置拍摄的功能以及图像处理功能,可选地,所述遥控设备还可以包括显示器(具有图像显示功能)。所述可移动平台包括但不限于无人飞行器、无人驾驶车辆、云台、无人驾驶船只或者移动机器人等。请参阅图1,以可移动平台为无人飞行器为例,图1示出了一种飞行系统的示意图,所述飞行系统包括无人飞行器20和遥控设备10,无人飞行器20可以是农业无人飞行器或行业应用无人飞行器,有循环作业的需求;无人飞行器20安装有拍摄装置21,拍摄装置21可以通过云台设置于无人飞行器20,也可以直接固定在无人飞行器20上。拍摄装置21至少包括感光元件,该感光元件例如为互补金属氧化物半导体(Complementary Metal Oxide Semiconductor,CMOS)传感器或电荷耦合元件(Charge-coupled Device,CCD)传感器。In an exemplary application scenario, the electronic device may be a remote control device of a movable platform, the movable platform is equipped with a shooting device, and the remote control device has the functions of controlling the movement of the movable platform and controlling the shooting of the shooting device; Image processing function, optionally, the remote control device may also include a display (with image display function). The movable platform includes but is not limited to unmanned aerial vehicles, unmanned vehicles, cloud platforms, unmanned ships or mobile robots. Please refer to Figure 1. Taking the movable platform as an unmanned aerial vehicle as an example, Figure 1 shows a schematic diagram of a flight system. The flight system includes an unmanned aerial vehicle 20 and a remote control device 10. The unmanned aerial vehicle 20 can be an agricultural unmanned aerial vehicle. Human aerial vehicles or unmanned aerial vehicles for industrial applications require cyclic operations; the unmanned aerial vehicle 20 is equipped with a shooting device 21 , and the shooting device 21 can be installed on the unmanned aerial vehicle 20 through a pan/tilt, or can be directly fixed on the unmanned aerial vehicle 20 . The photographing device 21 at least includes a photosensitive element, such as a complementary metal oxide semiconductor (Complementary Metal Oxide Semiconductor, CMOS) sensor or a charge-coupled device (Charge-coupled Device, CCD) sensor.
无人飞行器20和遥控设备10通信连接,遥控设备10在基于本申请实施例提供的拍摄指引方法获取拍摄指引之后,可以根据所述拍摄指引生成发送给无人飞行器20的控制指令,控制无人飞行器20飞行至期望位置,使得拍摄装置21可以在期望位置拍摄到与缺失镜头相关的图像或视频。可选地,拍摄装置21可以将拍摄到的与缺失镜头相关的图像或视频发送给遥控设备10,遥控设备10可以通过显示器来显示所述与缺失镜头相关的图像或视频。可选地,遥控设备10可以将所述与缺失镜头相关的图像或视频和所述缺失镜头对应的目标视频进行合成处理,获取高质量视频,实现对目标视频的充分利用。The unmanned aerial vehicle 20 and the remote control device 10 are connected through communication. After obtaining the shooting guidance based on the shooting guidance method provided in the embodiment of the present application, the remote control device 10 can generate a control instruction sent to the unmanned aerial vehicle 20 according to the shooting guidance to control the unmanned aerial vehicle. The aircraft 20 flies to a desired position, so that the shooting device 21 can capture images or videos related to the missing lens at the desired position. Optionally, the shooting device 21 can send the captured image or video related to the missing lens to the remote control device 10, and the remote control device 10 can display the image or video related to the missing lens through the display. Optionally, the remote control device 10 can synthesize the image or video related to the missing lens and the target video corresponding to the missing lens to obtain a high-quality video and realize full utilization of the target video.
接下来对本申请实施例提供的拍摄指引方法进行示例性说明:请参阅图2,图2为本申请实施例提供的一种拍摄指引方法的流程示意图。所述方法应用于电子设备, 所述方法包括:Next, an exemplary description of the shooting guidance method provided by the embodiment of the present application is provided: Please refer to Figure 2, which is a schematic flow chart of a shooting guidance method provided by the embodiment of the present application. The method is applied to electronic equipment, and the method includes:
在步骤S101中,获取目标视频。In step S101, the target video is obtained.
在步骤S102中,根据所述目标视频的拍摄信息,确定所述目标视频对应的模板;所述模板用于引导视频拍摄过程。In step S102, a template corresponding to the target video is determined based on the shooting information of the target video; the template is used to guide the video shooting process.
在步骤S103中,利用所述模板,生成所述目标视频中的一个或多个缺失镜头的拍摄指引。In step S103, the template is used to generate shooting guidelines for one or more missing shots in the target video.
在一些实施例中,所述电子设备在获取目标视频之后,可以对目标视频进行智能分析,获取目标视频的拍摄信息,进而根据目标视频的拍摄信息确定所述目标视频对应的模板。其中,所述模板可以包括视频拍摄模板和/或剪辑模板,视频拍摄模板和/或剪辑模板通常基于拍摄层次合理且连贯流畅的优秀成片获得,拍摄模板和剪辑模板可以为用户提供拍摄思路,引导视频拍摄过程;示例性的,所述模板指示具有连贯性的一系列镜头。电子设备可以根据所述模板与目标视频之间的镜头差异,确定目标视频中的一个或多个缺失镜头,进而生成所述目标视频中的一个或多个缺失镜头的拍摄指引,使得用户可以基于拍摄指引拍摄与缺失镜头相关的图像和/或视频,有助于提高拍摄效果。而且仅需拍摄与缺失镜头相关的图像和/或视频也有利于减少拍摄步骤,提高拍摄效率;进而与缺失镜头相关的图像和/或视频可以与目标视频结合,在充分利用用户已拍摄的目标视频的基础上实现对目标视频的“废片拯救”。In some embodiments, after acquiring the target video, the electronic device can intelligently analyze the target video, obtain the shooting information of the target video, and then determine the template corresponding to the target video based on the shooting information of the target video. The templates may include video shooting templates and/or editing templates. Video shooting templates and/or editing templates are usually obtained based on excellent films with reasonable and coherent shooting levels. The shooting templates and editing templates can provide users with shooting ideas. Guide the video shooting process; for example, the template indicates a series of shots with continuity. The electronic device can determine one or more missing shots in the target video based on the shot difference between the template and the target video, and then generate shooting guidelines for one or more missing shots in the target video, so that the user can based on Shooting Guidelines Capture images and/or videos related to the missing footage to help improve the results. Moreover, only shooting images and/or videos related to the missing lens can also help reduce shooting steps and improve shooting efficiency; then the images and/or videos related to the missing lens can be combined with the target video to make full use of the target that the user has shot. Based on the video, the "waste film rescue" of the target video is realized.
在一些实施例中,所述目标视频可以是用户在历史时间已拍摄的视频。示例性的,所述目标视频可以由用户基于实际拍摄需要从视频集合中手动选择得到,进而电子设备可以基于用户的选择操作获取目标视频。示例性的,所述目标视频也可以由所述电子设备根据相关信息自动选择得到。In some embodiments, the target video may be a video taken by the user at a historical time. For example, the target video can be manually selected by the user from the video collection based on actual shooting needs, and then the electronic device can obtain the target video based on the user's selection operation. For example, the target video may also be automatically selected by the electronic device based on relevant information.
在一种可能的实施方式中,考虑到用户到一个地方后,有可能是想对周围环境进行拍摄。则所述电子设备可以控制拍摄装置从周围环境获取场景信息,比如以图1所示的飞行系统为例,遥控设备可以控制无人飞行器在周围飞行,并获取拍摄装置在无人机飞行过程中拍摄的图像或视频,进而电子设备可以对该图像或视频进行场景识别以获取周围环境的场景信息。示例性的,所述场景信息包括但不限于沙滩海边场景、草原场景、美食场景、建筑场景、沙漠场景或者山坡场景等等。所述电子设备可以根据拍摄装置从周围环境获取的场景信息从视频集合中选择所述目标视频;所述视频集合包括在历史时间拍摄的至少一个视频。本实施例中,实现获取与周围环境相关的目标视频,有助于在周围环境中拍摄得到的与缺失镜头相关的图像(或视频)与目标视频的自然结合。In a possible implementation, it is considered that after the user reaches a place, he may want to take pictures of the surrounding environment. Then the electronic device can control the shooting device to obtain scene information from the surrounding environment. For example, taking the flight system shown in Figure 1 as an example, the remote control device can control the unmanned aerial vehicle to fly around and obtain the information of the shooting device during the flight of the unmanned aerial vehicle. The electronic device can then perform scene recognition on the captured image or video to obtain scene information of the surrounding environment. For example, the scene information includes but is not limited to beach and seaside scenes, grassland scenes, food scenes, architectural scenes, desert scenes or hillside scenes, etc. The electronic device may select the target video from a video collection based on scene information obtained by the shooting device from the surrounding environment; the video collection includes at least one video shot at a historical time. In this embodiment, the acquisition of the target video related to the surrounding environment is achieved, which facilitates the natural combination of the image (or video) related to the missing lens and the target video captured in the surrounding environment.
示例性的,所述视频集合中的视频均对应有拍摄场景信息,电子设备可以将周围环境的场景信息和视频集合中的各个视频的拍摄场景信息分别进行比对,根据周围环境的场景信息和视频集合中的各个视频的拍摄场景信息的相似度来选择目标视频;比如,可以选择相似度高于预设阈值的视频为所述目标视频;又比如,选择的目标视频满足以下条件:所述目标视频对应的拍摄场景信息与所述周围环境的场景信息之间的相似度,高于,所述视频集合中的其他视频对应的拍摄场景信息与所述周围环境的场景信息之间的相似度。本实施例中,获取与周围环境具有类似场景的目标视频,有助于后续在周围环境中拍摄得到的与缺失镜头相关的图像(或视频)与目标视频的自然结合。For example, the videos in the video collection all correspond to shooting scene information. The electronic device can compare the scene information of the surrounding environment with the shooting scene information of each video in the video collection. According to the scene information of the surrounding environment and the shooting scene information, The target video is selected based on the similarity of the shooting scene information of each video in the video collection; for example, a video with a similarity higher than a preset threshold can be selected as the target video; for another example, the selected target video satisfies the following conditions: The similarity between the shooting scene information corresponding to the target video and the scene information of the surrounding environment is higher than the similarity between the shooting scene information corresponding to other videos in the video collection and the scene information of the surrounding environment. . In this embodiment, obtaining a target video with a similar scene to the surrounding environment facilitates the natural combination of subsequent images (or videos) related to the missing lens captured in the surrounding environment and the target video.
在另一种可能的实现方式中,所述电子设备也可以根据所述拍摄装置所在的地理位置,从视频集合中选择所述目标视频;所述视频集合包括有在历史时间拍摄的至少一个视频。示例性的,所述视频集合中的视频均对应有拍摄地点信息,电子设备可以根据拍摄装置所在的地理位置与所述视频集合中的各个视频的拍摄地点之间的距离差异,选择目标视频。比如,选择距离差异小于预设距离值的视频为所述目标视频;又比如,选择的目标视频满足以下条件:所述目标视频对应的拍摄地点与所述拍摄装置所在的地理位置之间的距离,小于,所述视频集合中的其他视频对应的拍摄地点与所述拍摄装置所在的地理位置之间的距离。本实施例中,目标视频的拍摄地点与拍摄装置当前拍摄地点相同或相近,有助于后续在当前拍摄地点中拍摄得到的与缺失镜头相关的图像(或视频)与目标视频的自然结合。In another possible implementation, the electronic device can also select the target video from a video collection based on the geographical location of the shooting device; the video collection includes at least one video shot at a historical time. . For example, the videos in the video collection all correspond to shooting location information, and the electronic device can select a target video based on the distance difference between the geographical location of the shooting device and the shooting location of each video in the video collection. For example, a video whose distance difference is less than a preset distance value is selected as the target video; for another example, the selected target video satisfies the following conditions: the distance between the shooting location corresponding to the target video and the geographical location where the shooting device is located , is less than the distance between the shooting locations corresponding to other videos in the video collection and the geographical location where the shooting device is located. In this embodiment, the shooting location of the target video is the same as or close to the current shooting location of the shooting device, which facilitates the natural combination of subsequent images (or videos) related to the missing lens and the target video that are captured at the current shooting location.
可选地,也可以结合拍摄装置从周围环境获取的场景信息和所述拍摄装置所在的地理位置两者,从视频集合中选择所述目标视频,从而进一步提高后续拍摄得到的与缺失镜头对应的图像(或视频)与目标视频的相关度,提高两者结合的连贯性和流畅性。Optionally, the target video can also be selected from the video collection by combining the scene information obtained by the shooting device from the surrounding environment and the geographical location of the shooting device, thereby further improving the accuracy of the subsequent shooting corresponding to the missing lens. The correlation between the image (or video) and the target video improves the coherence and fluency of the combination of the two.
当然,也可以由用户预先指定拍摄场景和/或该拍摄场景所在地理位置,以便电子设备基于指定的拍摄场景的场景信息选择具有类似场景的目标视频,和/或基于指定的拍摄场景所在地理位置选择拍摄地点相同或相近的目标视频,从而可以生成与目标视频的缺失镜头和所述拍摄场景均相关的拍摄指引,有助于后续在拍摄场景中拍摄得到的与缺失镜头相关的图像(或视频)与目标视频的自然结合。Of course, the user can also pre-specify the shooting scene and/or the geographical location of the shooting scene, so that the electronic device selects a target video with a similar scene based on the scene information of the specified shooting scene, and/or based on the specified geographical location of the shooting scene. Select a target video with the same or similar shooting location, so that a shooting guide related to the missing lens of the target video and the shooting scene can be generated, which is helpful for subsequent images (or videos) related to the missing lens that are shot in the shooting scene. ) is a natural combination with the target video.
在一些实施例中,在获取目标视频之后,电子设备可以对目标视频进行分析,从而获取目标视频的拍摄信息。示例性的,所述拍摄信息包括以下至少一项:拍摄场景信息、拍摄地点信息、被摄物体、被摄主体的姿势、被摄主体的景别、被摄主体的构 图方式、运镜手法或者美学质量评价信息。In some embodiments, after acquiring the target video, the electronic device may analyze the target video to obtain shooting information of the target video. Exemplarily, the photographing information includes at least one of the following: photographing scene information, photographing location information, photographed object, posture of the photographed subject, scene type of the photographed subject, composition of the photographed subject, lens movement technique, or Aesthetic quality evaluation information.
在一个例子中,电子设备可以对目标视频进行场景识别,获取目标视频的拍摄场景信息,所述拍摄场景信息包括但不限于沙滩海边场景、草原场景、美食场景、人物场景、动物场景、建筑场景、沙漠场景或者山坡场景等等。In one example, the electronic device can perform scene recognition on the target video and obtain the shooting scene information of the target video. The shooting scene information includes but is not limited to beach and seaside scenes, grassland scenes, food scenes, people scenes, animal scenes, and architectural scenes. , desert scenes or hillside scenes, etc.
在一个例子中,电子设备可以对目标视频进行物体识别,获取目标视频中的被摄物体,比如被摄物体可能是人物、车、动物、静态物体(如雕塑)等。In one example, the electronic device can perform object recognition on the target video and obtain the subject in the target video. For example, the subject may be a person, a car, an animal, a static object (such as a sculpture), etc.
在一个例子中,电子设备可以确定目标视频中的被摄主体,比如将在目标视频中出现次数最多的对象确定为被摄主体;然后可以对被摄主体的景别进行判断,比如可以根据被摄主体在各个视频帧中的占据比例之间的差异来确定被摄主体的景别;或者,可以对被摄主体进行构图分析,比如可以根据被摄主体在视频帧中的位置来确定被摄主体的构图方式;或者,还可以对被摄主体进行姿势识别,获取被摄主体的姿势。In one example, the electronic device can determine the subject in the target video, for example, determine the object that appears most often in the target video as the subject; and then determine the scene of the subject, for example, based on the subject. The difference between the proportion of the subject in each video frame is used to determine the scene of the subject; alternatively, the composition of the subject can be analyzed, for example, the subject can be determined based on the position of the subject in the video frame. The composition of the subject; or, you can also perform posture recognition on the subject to obtain the posture of the subject.
在一个例子中,电子设备可以对目标视频进行运镜分析,比如通过对目标视频中的被摄主体在不同视频帧中的位置变化情况来确定目标视频的运镜手法。In one example, the electronic device can perform lens movement analysis on the target video, such as determining the lens movement technique of the target video by analyzing the position changes of the subject in the target video in different video frames.
在一个例子中,电子设备可以将目标视频输入预先训练好的美学质量评价模型中,获取美学质量评价模型输出的所述目标视频的美学质量评价信息。示例性的,所述美学质量评价模型可以基于携带有标签的视频样本,通过有监督学习得到。In one example, the electronic device can input the target video into a pre-trained aesthetic quality evaluation model, and obtain the aesthetic quality evaluation information of the target video output by the aesthetic quality evaluation model. For example, the aesthetic quality evaluation model can be obtained through supervised learning based on labeled video samples.
在一些实施例中,在获取目标视频的拍摄信息之后,电子设备可以根据所述目标视频的拍摄信息,确定所述目标视频对应的模板;其中,所述模板用于引导视频拍摄过程;所述模板可以基于拍摄层次合理且连贯流畅的优秀成片获得,可以为用户提供拍摄思路,用户可以参考所述模板拍摄出类似的高质量视频。In some embodiments, after obtaining the shooting information of the target video, the electronic device can determine a template corresponding to the target video according to the shooting information of the target video; wherein the template is used to guide the video shooting process; Templates can be obtained based on excellent videos with reasonable and coherent shooting levels, and can provide users with shooting ideas. Users can refer to the templates to shoot similar high-quality videos.
其中,所述模板包括视频拍摄模板和/或所述剪辑模板。所述视频拍摄模板指示有需要拍摄的视频内容,所述剪辑模板指示需要剪辑的视频内容。示例性的,所述视频拍摄模板和/或所述剪辑模板包括有从优秀成片中抽象得到的一系列镜头信息。所述镜头信息包括但不限于:指示不同场景的镜头信息、指示不同运镜手法的镜头信息、指示被摄主体不同景别的镜头信息、指示被摄主体不同姿势的镜头信息、指示被摄主体不同构图方式的镜头信息或者指示不同物体的镜头信息。即是说,所述视频拍摄模板或所述剪辑模板可以包括有至少两个不同的镜头信息;所述镜头信息可以以文字、图像或者视频方式呈现。Wherein, the template includes a video shooting template and/or the editing template. The video shooting template indicates the video content that needs to be shot, and the editing template indicates the video content that needs to be edited. For example, the video shooting template and/or the editing template include a series of shot information abstracted from excellent finished films. The lens information includes but is not limited to: lens information indicating different scenes, lens information indicating different camera movements, lens information indicating different scenes of the subject, lens information indicating different postures of the subject, lens information indicating different postures of the subject, Lens information for different compositions or lens information indicating different objects. That is to say, the video shooting template or the editing template may include at least two different lens information; the lens information may be presented in the form of text, image or video.
在一个例子中,比如视频拍摄模板是从美食制作的优秀成片中获得的,该视频拍摄模板包括有厨房环境、美食介绍、洗菜、切菜、炒菜以及美食特写等具有连贯性的一系列镜头信息,比如上述镜头信息可以以图像呈现。在另一个例子中,比如剪辑模 板是从运镜类的优秀成片中获得的,该剪辑模板包括有镜头推进→向左360°环绕运镜→镜头拉远等具有连贯性的一系列镜头信息,比如这三个镜头信息可以以视频方式呈现。In one example, the video shooting template is obtained from excellent films of food production. The video shooting template includes a coherent series of kitchen environment, food introduction, washing vegetables, cutting vegetables, stir-frying, and close-ups of food. Lens information, such as the above-mentioned lens information, can be presented as an image. In another example, for example, the editing template is obtained from excellent films in the camera movement category. The editing template includes a coherent series of lens information such as camera advancement → 360° camera movement to the left → camera zoom out. , for example, these three lens information can be presented in video.
示例性的,所述电子设备预存有模板集合,所述模板集合中包括有若干参考视频拍摄模板和/或若干参考剪辑模板,且所述参考视频拍摄模板和所述参考剪辑模板均对应有参考拍摄信息。Exemplarily, the electronic device has a template set pre-stored, and the template set includes several reference video shooting templates and/or several reference editing templates, and the reference video shooting templates and the reference editing templates all correspond to reference Shooting information.
在确定所述目标视频对应的模板的过程中,电子设备可以将所述目标视频的拍摄信息与模板集合中的各个模板(参考视频拍摄模板和/或参考剪辑模板)的参考拍摄信息分别进行比对,根据所述目标视频的拍摄信息与各个参考拍摄信息之间的相似度,从预存的模板集合中选择所述目标视频对应的模板。比如可以选择相似度高于预设阈值的参考视频拍摄模板和/或参考剪辑模板作为所述目标视频对应的模板;比如选择的模板满足以下条件:所述目标视频对应的模板的参考拍摄信息与所述目标视频的拍摄信息之间的相似度,高于,所述模板集合中的其他参考拍摄信息与所述目标视频的拍摄信息之间的相似度。本实施例中,选择与目标视频的拍摄信息相似的参考拍摄模板和/或参考剪辑模板,能够引导用户拍摄出高质量的图像或视频,有利于后续拍摄得到的与缺失镜头对应的图像(或视频)与目标视频连贯流畅地结合。In the process of determining the template corresponding to the target video, the electronic device may compare the shooting information of the target video with the reference shooting information of each template (reference video shooting template and/or reference editing template) in the template set. Yes, according to the similarity between the shooting information of the target video and each reference shooting information, a template corresponding to the target video is selected from a pre-stored template set. For example, a reference video shooting template and/or a reference editing template whose similarity is higher than a preset threshold can be selected as the template corresponding to the target video; for example, the selected template satisfies the following conditions: the reference shooting information of the template corresponding to the target video and The similarity between the shooting information of the target video is higher than the similarity between other reference shooting information in the template set and the shooting information of the target video. In this embodiment, selecting a reference shooting template and/or a reference editing template that is similar to the shooting information of the target video can guide the user to shoot high-quality images or videos, which is beneficial to subsequent shooting of images corresponding to the missing shots (or video) is coherently and smoothly combined with the target video.
在一些实施例中,所述模板集合中包括的若干参考视频拍摄模板和/或若干参考剪辑模板可以基于拍摄层次合理且连贯流畅的优秀成片获得。示例性的,可以对预设视频库中的若干视频进行分析,选择具有连贯性和/或美学质量评价信息满足预设要求的视频,进而基于该类视频生成参考视频拍摄模板和/或参考剪辑模板。示例性的,参考视频拍摄模板和/或参考剪辑模板指示有从优秀成片中抽象得到的一系列镜头信息。In some embodiments, several reference video shooting templates and/or several reference editing templates included in the template set can be obtained based on excellent films with reasonable shooting levels and coherent and smooth shooting levels. For example, several videos in the preset video library can be analyzed, videos with coherence and/or aesthetic quality evaluation information that meet the preset requirements can be selected, and then reference video shooting templates and/or reference clips can be generated based on such videos. template. For example, the reference video shooting template and/or the reference editing template indicates a series of shot information abstracted from excellent finished films.
可以理解的是,本实施例对于预设视频库中的若干视频不做任何限制,可依据实际应用场景进行具体设置。在一个例子中,所述预设视频库中的视频可以是在公开的视频分享平台中点赞数量和/或评论数量较高的视频。It can be understood that this embodiment does not place any restrictions on the number of videos in the preset video library, and specific settings can be made according to actual application scenarios. In one example, the videos in the preset video library may be videos with a high number of likes and/or comments on a public video sharing platform.
在一个例子中,可以将预设视频库中的若干视频分别输入预先训练好的美学质量评价模型中,通过美学质量评价模型来获得各个视频的美学质量评价信息,进而根据美学质量评价信息满足预设要求(比如美学质量评价分数高于预设分数)的视频生成参考视频拍摄模板和/或参考剪辑模板。In one example, several videos in the preset video library can be input into a pre-trained aesthetic quality evaluation model, and the aesthetic quality evaluation information of each video can be obtained through the aesthetic quality evaluation model, and then the aesthetic quality evaluation information satisfies the predetermined requirements. Generate reference video shooting templates and/or reference editing templates for videos that meet certain requirements (for example, the aesthetic quality evaluation score is higher than a preset score).
示例性的,所述参考视频拍摄模板和/或所述参考剪辑模板基于用户选择指令所指定的视频确定。比如用户可以根据自身的审美和需求选择想要参考的视频,进而电子设备可以根据用户的选择指令所指定的视频来生成所述参考视频拍摄模板和/或所述 参考剪辑模板。Exemplarily, the reference video shooting template and/or the reference editing template are determined based on the video specified by the user selection instruction. For example, the user can select the video he wants to refer to according to his own aesthetics and needs, and then the electronic device can generate the reference video shooting template and/or the reference editing template according to the video specified by the user's selection instruction.
在一些实施例中,在确定所述目标视频对应的模板(所述模板包括视频拍摄模板和/或所述剪辑模板)之后,电子设备可以利用所述视频拍摄模板和/或所述剪辑模板,生成所述目标视频中的一个或多个缺失镜头的拍摄指引。本实施例中,生成的拍摄指引可以为用户提供拍摄思路,引导用户拍摄出高质量的图像或视频,且仅需拍摄与目标视频中的缺失镜头有关的图像或视频,无需从头开始进行视频拍摄,有利于减少用户的拍摄步骤,提高拍摄效率,而且拍摄得到的与缺失镜头有关的图像或视频可以与目标视频进行结合,实现对目标视频的有效利用。In some embodiments, after determining the template corresponding to the target video (the template includes the video shooting template and/or the editing template), the electronic device can use the video shooting template and/or the editing template, Generate shooting guidelines for one or more missing shots in the target video. In this embodiment, the generated shooting guide can provide the user with shooting ideas, guide the user to shoot high-quality images or videos, and only need to shoot images or videos related to the missing shots in the target video, without starting the video shooting from scratch. , which is conducive to reducing the user's shooting steps and improving shooting efficiency, and the captured images or videos related to the missing lens can be combined with the target video to achieve effective use of the target video.
在一些实施例中,针对于目标视频中的某些视频帧的拍摄效果可能不是很好的情况,也可以重新补拍。电子设备可以对目标视频进行分析,确定目标视频中的各个视频帧的美学质量评价信息,然后将将所述目标视频中美学质量评价信息不满足预设要求的视频帧剔除。进而在确定所述目标视频对应的模板之后,电子设备可以利用所述模板,生成剔除了视频帧后的目标视频中的一个或多个缺失镜头的拍摄指引。本实施例中,针对于目标视频中的某些拍摄效果不佳的视频帧,可以删除并重新进行补拍,从而有利于提高目标视频与缺失镜头对应的图像(或视频)结合后的效果。In some embodiments, when the shooting effect of certain video frames in the target video may not be very good, re-shooting may be performed. The electronic device can analyze the target video, determine the aesthetic quality evaluation information of each video frame in the target video, and then eliminate the video frames in the target video whose aesthetic quality evaluation information does not meet the preset requirements. Furthermore, after determining the template corresponding to the target video, the electronic device can use the template to generate shooting guidelines for one or more missing shots in the target video after removing video frames. In this embodiment, some video frames in the target video with poor shooting results can be deleted and re-shot, thereby improving the effect of combining the target video with the image (or video) corresponding to the missing shot.
在一些实施例中,电子设备可以利用所述模板,确定所述目标视频中的一个或多个缺失镜头,进而生成所述一个或多个缺失镜头的拍摄指引。其中,所述缺失镜头包括但不限于以下至少一种:缺失指定场景的镜头、缺失指定运镜手法的镜头、缺失被摄主体指定景别的镜头、缺失被摄主体指定姿势的镜头、缺失被摄主体指定构图的镜头或者缺失指定物体的镜头。可以理解的是,拍摄指引指示怎么得到该缺失镜头对应的图像或视频。In some embodiments, the electronic device can use the template to determine one or more missing shots in the target video, and then generate shooting guidelines for the one or more missing shots. Wherein, the missing shots include but are not limited to at least one of the following: shots missing a specified scene, shots missing a specified camera technique, shots missing a specified scene of the subject, shots missing a specified pose of the subject, shots missing the subject. A shot in which the subject has a specified composition or a shot in which a specified object is missing. It can be understood that the shooting guide indicates how to obtain the image or video corresponding to the missing lens.
在第一个例子中,比如目标视频对应的模板为美食制作场景的视频拍摄模板,该视频拍摄模板包括有厨房环境、美食介绍、洗菜、切菜、炒菜以及美食特写等具有连贯性的一系列镜头信息,根据该视频拍摄模板确定了所述目标视频中包括有厨房环境、美食介绍、洗菜和炒菜的镜头,则可以确定所述目标视频中的缺失镜头包括切菜镜头和美食特写镜头,可以生成切菜镜头和美食特写镜头的拍摄指引,比如美食特写镜头的拍摄指引指示前推的美食特写拍摄手法、或者对食物做一个从左到右(或者从右到左)的旋转。In the first example, for example, the template corresponding to the target video is a video shooting template of a food production scene. The video shooting template includes a coherent sequence of kitchen environment, food introduction, washing vegetables, cutting vegetables, stir-frying, and close-ups of food. According to the series of lens information, it is determined that the target video includes shots of the kitchen environment, food introduction, washing vegetables, and cooking according to the video shooting template. Then it can be determined that the missing shots in the target video include vegetable cutting shots and food close-ups. , can generate shooting guidelines for vegetable cutting shots and close-up shots of food. For example, the shooting guide for close-up shots of gourmet food instructs the forward-moving close-up shooting technique of food, or rotating the food from left to right (or from right to left).
在第二个例子中,比如目标视频对应的模板为景别类的剪辑模板,该剪辑模板指示有特写、近景、中景、远景和全景等具有连贯性的镜头,根据该剪辑模板确定了所述目标视频中包括有中景、特写和全景的镜头,则可以确定所述目标视频中的缺失镜 头包括近景镜头和远景镜头,电子设备可以生成近景镜头和远景镜头的拍摄指引。In the second example, for example, the template corresponding to the target video is a scene-type editing template. The editing template indicates that there are coherent shots such as close-ups, close-ups, medium shots, long shots, and panoramic shots. According to the editing template, all the shots are determined. If the target video includes mid-range, close-up and panoramic shots, it can be determined that the missing shots in the target video include close-up shots and long-range shots, and the electronic device can generate shooting guidelines for close-up shots and long-range shots.
在第三个例子中,比如目标视频对应的模板为人物姿势类的视频拍摄模板,该视频拍摄模板指示有人物舞动、跳跃、旋转以及侧腰等一些列镜头,根据该视频拍摄模板确定了所述目标视频中包括有人物舞动、旋转以及侧腰等镜头,则可以确定所述目标视频中缺失镜头包括人物跳跃镜头,电子设备可以生成人物跳跃镜头的拍摄指引。In the third example, for example, the template corresponding to the target video is a video shooting template of the character posture category. The video shooting template indicates a series of shots of characters dancing, jumping, rotating, and sideways. According to the video shooting template, all the shots are determined. If the target video includes shots of characters dancing, rotating, and side-stepping, it can be determined that the missing shots in the target video include shots of characters jumping, and the electronic device can generate shooting guidelines for the character jumping shots.
在一些实施例中,考虑到用户到某一个地方进行拍摄时,大概率是想从周围环境进行取材拍摄。因此,电子设备可以获取拍摄装置所处环境的环境信息,然后根据所述模板以及所述环境信息,生成所述目标视频中的一个或多个缺失镜头的拍摄指引;本实施例中,生成的拍摄指引既与目标视频的缺失镜头有关,也与拍摄装置所处环境有关,有助于根据拍摄指引从周围环境中拍摄得到与缺失镜头相关的图像或视频。In some embodiments, it is considered that when a user goes to a certain place to take pictures, he or she most likely wants to take pictures from the surrounding environment. Therefore, the electronic device can obtain the environmental information of the environment where the shooting device is located, and then generate shooting guidelines for one or more missing shots in the target video based on the template and the environmental information; in this embodiment, the generated The shooting guideline is related to both the missing lens of the target video and the environment where the shooting device is located, which helps to capture images or videos related to the missing lens from the surrounding environment according to the shooting guideline.
示例性的,电子设备可以根据所述模板确定所述目标视频中的一个或多个缺失镜头;以及,电子设备可以根据拍摄装置所处环境的环境信息,获取与所述拍摄装置所处环境相关的多个参考拍摄指引;进而电子设备可以从多个参考拍摄指引中,获取与所述一个或多个缺失镜头相关的拍摄指引,实现拍摄装置可以根据拍摄索引从周围环境中拍摄得到与缺失镜头相关的图像或视频。For example, the electronic device can determine one or more missing shots in the target video according to the template; and, the electronic device can obtain information related to the environment where the shooting device is located based on the environmental information of the environment where the shooting device is located. Multiple reference shooting guides; and then the electronic device can obtain the shooting guides related to the one or more missing lenses from the multiple reference shooting guides, so that the shooting device can capture the missing lenses from the surrounding environment according to the shooting indexes. Related images or videos.
在一个例子中,比如所述目标视频对应的模板为海边场景的视频拍摄模板,该视频拍摄模板包括有大海全景、沙滩中景、沙滩近景、海浪特写、海浪拍打礁石画面以及海浪退下沙滩画面等一系列镜头信息,根据该视频拍摄模板确定所述目标视频中的缺失镜头包括沙滩中景、海浪特写以及海浪拍打礁石画面。假设拍摄装置当前所处环境也是海边环境,与海边环境相关的多个参考拍摄指引包括以下多种画面分别对应的参考拍摄指引:大海全景、大海中景、大海近景、沙滩全景、沙滩中景、沙滩近景、从海边沙滩向上运镜拍摄到壮阔的大海、从左到右运镜拍摄海浪、海浪特写、海浪拍打礁石画面、海浪退下沙滩画面、涨潮画面、退潮画面、游泳画面、帆船驾驶画面、海边人物特写、海边人物中景、海边人物近景、海边建筑远景或者海边建筑中景等等。电子设备可以从与海边环境相关的多个参考拍摄指引中获取沙滩中景的拍摄指引、海浪特写的拍摄指引以及海浪拍打礁石画面的拍摄指引,实现拍摄装置可以根据拍摄索引从海边环境中拍摄得到与缺失镜头相关的图像或视频。In one example, the template corresponding to the target video is a video shooting template of a seaside scene. The video shooting template includes a panoramic view of the sea, a medium shot of the beach, a close shot of the beach, a close-up of the waves, a picture of the waves hitting the rocks, and a picture of the waves receding from the beach. and a series of shot information, and based on the video shooting template, it is determined that the missing shots in the target video include mid-range shots of the beach, close-ups of waves, and scenes of waves hitting the rocks. Assuming that the current environment of the shooting device is also a seaside environment, multiple reference shooting guidelines related to the seaside environment include the following reference shooting guidelines corresponding to various images: sea panorama, sea mid-range, sea close-up, beach panorama, beach mid-range, Close-up of the beach, moving the camera upward from the beach to the magnificent sea, moving the camera from left to right to capture the waves, close-ups of the waves, waves hitting the rocks, waves receding from the beach, high tide, low tide, swimming, and sailboat driving. , close-up of people on the seaside, mid-shot of people on the seaside, close-up of people on the seaside, long-shot of seaside buildings or mid-shot of seaside buildings, etc. The electronic device can obtain the shooting guide for the mid-range shot of the beach, the shooting guide for the close-up of the waves, and the shooting guide for the scene of the waves hitting the rocks from multiple reference shooting guides related to the seaside environment. The shooting device can obtain the shooting guide from the seaside environment according to the shooting index. Images or videos related to the missing footage.
这里对与所述拍摄装置所处环境相关的多个参考拍摄指引的获取过程进行示例性说明:Here is an exemplary description of the acquisition process of multiple reference shooting guidelines related to the environment where the shooting device is located:
在一种可能的实现方式中,所述拍摄装置所处环境的环境信息包括视觉语义信息;电子设备可以控制所述拍摄装置拍摄周围环境的图像和/或视频,比如以图1所示的飞 行系统为例,遥控设备可以控制无人飞行器在周围飞行,并获取拍摄装置在无人机飞行过程中拍摄的图像或视频。电子设备可以对所述周围环境的图像或视频进行语义分割处理或者实例分割处理,实现从所述周围环境的图像或视频中识别到视觉语义信息。In a possible implementation, the environmental information of the environment where the shooting device is located includes visual semantic information; the electronic device can control the shooting device to shoot images and/or videos of the surrounding environment, such as flying as shown in Figure 1 Taking the system as an example, the remote control device can control the unmanned aerial vehicle to fly around and obtain the images or videos captured by the shooting device during the flight of the unmanned aerial vehicle. The electronic device can perform semantic segmentation processing or instance segmentation processing on the image or video of the surrounding environment to recognize visual semantic information from the image or video of the surrounding environment.
在一个例子中,比如在海边场景中,电子设备识别到的视觉语义信息可能包括:沙滩、海岸、海水、礁石以及海边建筑等等。在另一个例子中,比如在厨房场景中,电子设备识别到的视觉语义信息可能包含各类厨房用品(如砧板、电饭锅或者炒锅等)、厨房建筑(洗菜台、餐桌)、调料和/或食物等。In an example, such as in a seaside scene, the visual semantic information recognized by the electronic device may include: beaches, coasts, seawater, reefs, seaside buildings, etc. In another example, in a kitchen scene, the visual semantic information recognized by the electronic device may include various kitchen supplies (such as cutting boards, rice cookers or woks, etc.), kitchen buildings (sinking tables, dining tables), spices and/or food etc.
电子设备可以预存不同参考视觉语义信息与参考拍摄指引的映射关系,进而电子设备在获取周围环境的视觉语义信息之后,可根据所述视觉语义信息,从预存的不同参考视觉语义信息与参考拍摄指引的映射关系中确定与所述拍摄装置所处环境相关的多个参考拍摄指引。示例性的,比如可以将视觉语义信息与映射关系中的参考视觉语义信息进行比对,将相似度高于预设阈值的参考视觉语义信息对应的参考拍摄指引确定为与所述拍摄装置所处环境相关的参考拍摄指引。The electronic device can pre-store the mapping relationships between different reference visual semantic information and reference shooting guidelines. Then, after acquiring the visual semantic information of the surrounding environment, the electronic device can, based on the visual semantic information, use the different pre-stored reference visual semantic information and reference shooting guidelines. A plurality of reference shooting guidelines related to the environment where the shooting device is located are determined from the mapping relationship. For example, the visual semantic information can be compared with the reference visual semantic information in the mapping relationship, and the reference shooting guideline corresponding to the reference visual semantic information with a similarity higher than a preset threshold is determined to be the same as the location where the shooting device is located. Environmentally relevant reference shooting guidelines.
在一个例子中,比如视觉语义信息包括山,则匹配有关于山的参考拍摄指引,比如以山的石碑介绍为开头,或者以壮阔的大山景色为开头交代环境信息。在另一个例子中,比如视觉语义信息包括雕塑,可以匹配与雕塑相关的参考拍摄指引,比如参考拍摄指引包括环绕雕塑的拍摄手法、或者镜头逐渐推近雕塑的拍摄手法。In one example, if the visual semantic information includes mountains, then reference shooting guidelines about the mountains are matched, such as starting with an introduction to the mountain's stone tablet, or starting with the magnificent mountain scenery to explain the environmental information. In another example, for example, the visual semantic information includes a sculpture, which can be matched with a reference shooting guideline related to the sculpture. For example, the reference shooting guideline includes a shooting method that surrounds the sculpture, or a shooting method that gradually zooms in on the sculpture.
在另一种可能的实现方式中,所述环境信息包括拍摄装置所处环境的地理位置。电子设备在获取与所述拍摄装置所处环境相关的多个参考拍摄指引的过程中,可以根据所述拍摄装置所处环境的地理位置,确定处于所述地理位置周围的景区,并获取与所述景区相关的多个参考拍摄指引。比如确定所述地理位置周围的景区为“杭州西湖”,可以获取与“杭州西湖”景区相关的多个参考拍摄指引。In another possible implementation, the environmental information includes the geographical location of the environment where the shooting device is located. In the process of obtaining multiple reference shooting guidelines related to the environment where the shooting device is located, the electronic device can determine the scenic spots around the geographical location based on the geographical location of the environment where the shooting device is located, and obtain the information related to the location. Describes multiple reference shooting guidelines related to scenic spots. For example, if the scenic spot around the geographical location is determined to be "Hangzhou West Lake", multiple reference shooting guidelines related to the "Hangzhou West Lake" scenic spot can be obtained.
比如电子设备可以预存不同参考景区与参考拍摄指引的映射关系,进而电子设备在确定处于所述地理位置周围的景区之后,可以根据所述拍摄装置附近的景区,从预存的上述映射关系中确定该景区相关的多个参考拍摄指引。For example, the electronic device can pre-store the mapping relationships between different reference scenic spots and reference shooting guidelines. Then, after determining the scenic spots around the geographical location, the electronic device can determine the scenic spots from the pre-stored mapping relations based on the scenic spots near the shooting device. Multiple reference shooting guidelines related to scenic spots.
在一些实施例中,在生成所述目标视频中的一个或多个缺失镜头的拍摄指引之后,用户可以根据所述拍摄指引拍摄与缺失镜头相关的图像或视频;或者,电子设备可以根据所述拍摄指引自动控制拍摄装置拍摄与缺失镜头相关的图像或视频。仅需拍摄与缺失镜头相关的图像或视频也有利于减少拍摄步骤,提高拍摄效率。In some embodiments, after generating shooting guidelines for one or more missing shots in the target video, the user can shoot images or videos related to the missing shots according to the shooting guidelines; or, the electronic device can shoot images or videos related to the missing shots according to the shooting guidelines. The shooting guide automatically controls the shooting device to shoot images or videos related to the missing lens. Only shooting images or videos related to the missing lens can also help reduce shooting steps and improve shooting efficiency.
在一些实施例中,在用户根据所述拍摄指引拍摄与缺失镜头相关的图像或视频的场景中,所述拍摄指引包括:拍摄内容和/或所述拍摄内容对应的拍摄手法。即是说, 所述拍摄指引可以告知用户拍什么以及怎么拍,从而使得用户可以拍摄高质量的图像或视频。所述拍摄指引可以包括文字指引、听觉信息指引、图像指引和视频指引中的一种或多种。示例性的,为了让用户直观感受出片效果,所述拍摄内容可以以包含有拍摄内容的效果示意图或者示例视频片段呈现;比如请参阅图3,示出了在海边场景中有关于海边人物近景的效果示意图。示例性的,为了让用户直观学习拍摄手法,所述拍摄手法也可以通过图像或者视频呈现,通过图像或者视频方式直观讲解相关的拍摄手法的实现方式,有利于提高用户的学习效率,其中,所述拍摄手法可以指示有以下至少一种拍摄指导信息:所述拍摄装置的拍摄参数、所述拍摄装置的视场方向、所述拍摄装置与被摄主体之间的参考距离或者所述拍摄装置的运动轨迹等等。In some embodiments, in a scenario where the user captures images or videos related to the missing lens according to the shooting guide, the shooting guide includes: shooting content and/or shooting techniques corresponding to the shooting content. That is to say, the shooting guide can tell the user what to shoot and how to shoot, so that the user can shoot high-quality images or videos. The shooting guidance may include one or more of text guidance, auditory information guidance, image guidance and video guidance. For example, in order to allow the user to intuitively experience the effect of the film, the shooting content can be presented in a schematic diagram or an example video clip containing the shooting content; for example, please refer to Figure 3, which shows a close-up view of a person on the beach in a seaside scene. Effect diagram. For example, in order to allow users to intuitively learn shooting techniques, the shooting techniques can also be presented through images or videos, and the implementation of relevant shooting techniques can be intuitively explained through images or videos, which is conducive to improving the user's learning efficiency, wherein, so The shooting method may indicate at least one of the following shooting guidance information: shooting parameters of the shooting device, a field of view direction of the shooting device, a reference distance between the shooting device and the subject, or a distance of the shooting device. Movement trajectories, etc.
示例性地,以人物景别从特写到近景变化的示例视频片段为例,相关的拍摄手法可以是以文字方式指导用户通过改变拍摄装置焦距的方式来实现,也可以是以图像或视频方式直观指导用户通过改变自身与被摄人物之间的距离的方式来实现。For example, taking an example video clip in which the scene of a character changes from a close-up to a close-up, the relevant shooting technique can be to instruct the user in text by changing the focal length of the shooting device, or it can be intuitive in the form of images or videos. Instruct users to achieve this by changing the distance between themselves and the person being photographed.
在另一些实施例中,在电子设备根据所述拍摄指引自动控制拍摄装置拍摄与缺失镜头相关的图像或视频的场景中,所述拍摄指引可以包括一个或多个缺失镜头的拍摄控制指令,以使得拍摄装置可以基于所述拍摄控制指令拍摄与缺失镜头相关的图像或视频。In other embodiments, in a scenario where the electronic device automatically controls the shooting device to capture images or videos related to the missing lens according to the shooting guide, the shooting guide may include one or more shooting control instructions for the missing lens, so as to This allows the shooting device to capture images or videos related to the missing lens based on the shooting control instruction.
在一些示例性的实施例中,以所述电子设备为可移动平台的遥控设备为例,可移动平台与遥控设备通信连接,可移动平台设置有拍摄装置。遥控设备可以根据所述拍摄指引控制所述可移动平台运动,以使所述拍摄装置拍摄与所述一个或多个缺失镜头相关的图像和/或视频。本实施例实现基于拍摄指引自动控制拍摄装置拍摄与缺失镜头相关的图像或视频,有利于减少用户的操作步骤,提高用户体验。In some exemplary embodiments, taking the electronic device as a remote control device of a movable platform as an example, the movable platform is communicatively connected to the remote control device, and the movable platform is provided with a shooting device. The remote control device may control the movement of the movable platform according to the shooting guidance, so that the shooting device shoots images and/or videos related to the one or more missing shots. This embodiment realizes automatic control of the shooting device to shoot images or videos related to the missing lens based on the shooting guidance, which is beneficial to reducing the user's operating steps and improving the user experience.
示例性的,所述拍摄指引指示有所述拍摄装置的拍摄参数、所述可移动平台所在的期望位置、所述可移动平台的朝向、所述可移动平台的运动轨迹、和/或所述可移动平台与被摄主体之间的参考距离等等。所述遥控设备可以根据所述拍摄指引生成所述一个或多个缺失镜头的拍摄控制指令,并发送给所述可移动平台,以控制所述可移动平台进行移动(比如控制可移动平台改变朝向、改变自身所处位置、改变自身与被摄主体之间的距离或者按照指示的运动轨迹进行移动等)并利用拍摄装置拍摄与所述缺失镜头相关的图像或视频。示例性的,在所述拍摄控制指令携带有所述拍摄装置的拍摄参数的情况下,还可以根据所述拍摄控制指令改变所述拍摄装置的拍摄参数。Exemplarily, the shooting guide indicates the shooting parameters of the shooting device, the desired position of the movable platform, the orientation of the movable platform, the motion trajectory of the movable platform, and/or the Reference distance between the movable platform and the subject, etc. The remote control device can generate shooting control instructions for the one or more missing lenses according to the shooting guidance, and send them to the movable platform to control the movable platform to move (such as controlling the movable platform to change its orientation). , change one's own position, change the distance between oneself and the subject, or move according to the indicated movement trajectory, etc.) and use the shooting device to shoot images or videos related to the missing lens. For example, when the shooting control instruction carries the shooting parameters of the shooting device, the shooting parameters of the shooting device can also be changed according to the shooting control instruction.
在一个例子中,所述拍摄指引包括有效果示意图;所述遥控设备可以根据效果示意图和遥控设备当前拍摄的图像之间的差异,控制所述可移动平台运动,直到遥控设 备当前拍摄的图像与所述效果示意图的差异小于预设差异。In one example, the shooting guide includes an effect diagram; the remote control device can control the movement of the movable platform according to the difference between the effect diagram and the image currently captured by the remote control device until the image currently captured by the remote control device is consistent with the difference between the effect diagram and the image currently captured by the remote control device. The difference between the effect diagrams is less than the preset difference.
在另一个例子中,所述拍摄指引指示有所述可移动平台所在的期望位置;所述遥控设备可以根据所述拍摄指引控制所述可移动平台移动至所述期望位置,以使所述拍摄装置在所述期望位置拍摄与所述一个或多个缺失镜头相关的图像和/或视频。In another example, the shooting guide indicates a desired position where the movable platform is located; the remote control device can control the movable platform to move to the desired position according to the shooting guide, so that the shooting The device captures images and/or videos associated with the one or more missing shots at the desired location.
在又一个例子中,所述拍摄指引指示有所述可移动平台的运动轨迹;所述遥控设备可以根据所述运动轨迹控制所述可移动平台运动,以使得所述拍摄装置在可移动平台运动过程中拍摄与所述一个或多个缺失镜头相关的图像和/或视频。以图1所示的飞行系统为例,比如所述缺失镜头为环绕拍摄镜头,所述拍摄指引指示有无人飞行器环绕被摄主体飞行的飞行轨迹,所述遥控设备可以根据所述飞行轨迹控制无人飞行器环绕被摄主体飞行,以使得拍摄装置拍摄得到环绕拍摄镜头对应的视频。In another example, the shooting guide indicates the movement trajectory of the movable platform; the remote control device can control the movement of the movable platform according to the movement trajectory, so that the shooting device moves on the movable platform Images and/or videos related to the one or more missing shots are captured during the process. Taking the flight system shown in Figure 1 as an example, for example, the missing lens is a surround shooting lens, the shooting guide indicates the flight path of the unmanned aircraft flying around the subject, and the remote control device can be controlled according to the flight path. The unmanned aerial vehicle flies around the subject, so that the shooting device captures video corresponding to the surrounding shooting lens.
在一些实施例中,所述模板包括有剪辑模板;在拍摄装置基于所述拍摄指引拍摄得到的与所述缺失镜头相关的图像和/视频之后,电子设备可以获取与所述缺失镜头相关的图像和/视频,进而利用所述剪辑模板对所述图像和/或视频、以及所述目标视频进行合成处理,考虑到基于拍摄指引拍摄得到的图像和/或视频与目标视频存在关联关系,从而保证了合成后的视频的自然连贯性,也实现了对目标视频的充分利用。In some embodiments, the template includes a editing template; after the shooting device captures the images and/or videos related to the missing lens based on the shooting guide, the electronic device can obtain the image related to the missing lens. and/or video, and then use the editing template to synthesize the image and/or video and the target video, taking into account that the image and/or video shot based on the shooting guide is associated with the target video, thereby ensuring It ensures the natural coherence of the synthesized video and makes full use of the target video.
相应地,请参阅图4,本申请实施例还提供了另一种拍摄指引方法的流程示意图。所述方法应用于电子设备,所述方法包括:Correspondingly, please refer to Figure 4. This embodiment of the present application also provides a schematic flow chart of another shooting guidance method. The method is applied to electronic equipment, and the method includes:
在步骤S201中,获取拍摄装置所处环境的环境信息;以及,获取目标视频并确定所述目标视频中的一个或多个缺失镜头。In step S201, environmental information of the environment where the shooting device is located is obtained; and, a target video is obtained and one or more missing shots in the target video are determined.
在步骤S202中,根据所述环境信息,生成所述目标视频中的一个或多个缺失镜头的拍摄指引。In step S202, based on the environment information, a shooting guide for one or more missing shots in the target video is generated.
本实施例实现对目标视频的充分利用,在确定目标视频中的一个或多个缺失镜头之后,能够根据拍摄装置所处环境的环境信息生成所述目标视频中的一个或多个缺失镜头的拍摄指引,有助于根据拍摄指引从周围环境中拍摄得到与缺失镜头相关的图像或视频,进而目标视频能够与缺失镜头相关的图像或视频结合,获得连贯流畅的合成视频,实现对目标视频的充分利用。而且,用户可以基于缺失镜头的拍摄指引仅需拍摄缺失镜头相关的图像和/或视频,而无需从头开始整个视频拍摄过程,有利于减少用户的拍摄步骤和拍摄时长,提高拍摄效率。This embodiment realizes full utilization of the target video. After determining one or more missing shots in the target video, the shooting of one or more missing shots in the target video can be generated based on the environmental information of the environment where the shooting device is located. Guide, which helps to capture images or videos related to the missing lens from the surrounding environment according to the shooting guidelines, and then the target video can be combined with the images or videos related to the missing lens to obtain a coherent and smooth synthetic video, achieving full understanding of the target video. use. Moreover, users can only shoot images and/or videos related to the missing lens based on the shooting guidelines of the missing lens, without having to start the entire video shooting process from scratch, which helps reduce the user's shooting steps and shooting time, and improves shooting efficiency.
在一些实施例中,所述确定所述目标视频中的一个或多个缺失镜头,包括:根据所述目标视频的拍摄信息,确定所述目标视频对应的模板;所述模板用于引导视频拍 摄过程;利用所述模板,确定所述目标视频中的一个或多个缺失镜头。In some embodiments, determining one or more missing shots in the target video includes: determining a template corresponding to the target video based on the shooting information of the target video; the template is used to guide video shooting Process: using the template, determine one or more missing shots in the target video.
在一些实施例中,所述根据所述环境信息,生成所述目标视频中的一个或多个缺失镜头的拍摄指引,包括:根据所述环境信息,获取与所述拍摄装置所处环境相关的多个参考拍摄指引;从所述多个参考拍摄指引中,获取与所述一个或多个缺失镜头相关的拍摄指引。In some embodiments, generating shooting guidelines for one or more missing shots in the target video based on the environmental information includes: obtaining, based on the environmental information, information related to the environment where the shooting device is located. A plurality of reference shooting guidelines; and obtaining a shooting guide related to the one or more missing lenses from the plurality of reference shooting guidelines.
示例性的,所述拍摄装置用于采集拍摄周围环境的图像和/或视频;所述环境信息包括从所述周围环境的图像或视频中识别到的视觉语义信息;所述多个参考拍摄指引根据所述视觉语义信息,从预存的不同参考视觉语义信息与参考拍摄指引的映射关系中确定。Exemplarily, the shooting device is used to collect images and/or videos of the surrounding environment; the environmental information includes visual semantic information recognized from the images or videos of the surrounding environment; the multiple reference shooting guidelines According to the visual semantic information, it is determined from the mapping relationship between different pre-stored reference visual semantic information and reference shooting guidelines.
示例性的,所述环境信息包括拍摄装置所处环境的地理位置;所述根据所述环境信息,获取与所述拍摄装置所处环境相关的多个参考拍摄指引,包括:根据所述拍摄装置所处环境的地理位置,确定处于所述地理位置周围的景区,并获取与所述景区相关的多个参考拍摄指引。比如,所述与所述景区相关的多个参考拍摄指引根据所述地理位置周围的景区,从预存的不同景区与参考拍摄指引的映射关系中确定。Exemplarily, the environmental information includes the geographical location of the environment where the shooting device is located; and obtaining multiple reference shooting guidelines related to the environment where the shooting device is located based on the environmental information includes: according to the shooting device The geographical location of the environment is determined, the scenic spots around the geographical location are determined, and multiple reference shooting guidelines related to the scenic spots are obtained. For example, the plurality of reference shooting guidelines related to the scenic spot are determined from the pre-stored mapping relationships between different scenic spots and reference shooting guidelines based on the scenic spots around the geographical location.
在一些实施例中,所述拍摄信息包括以下至少一项:拍摄场景信息、拍摄地点信息、被摄物体、被摄主体的姿势、被摄主体的景别、被摄主体的构图方式、运镜手法或者美学质量评价信息。In some embodiments, the shooting information includes at least one of the following: shooting scene information, shooting location information, the subject, the posture of the subject, the scene of the subject, the composition of the subject, the movement of the camera Technique or aesthetic quality evaluation information.
在一些实施例中,所述目标视频对应的模板从预存的模板集合中得到;所述模板集合中包括有若干参考视频拍摄模板和/或若干参考剪辑模板,且所述参考视频拍摄模板和所述参考剪辑模板均对应有参考拍摄信息;所述目标视频对应的模板的参考拍摄信息与所述目标视频的拍摄信息之间的相似度,高于,所述模板集合中的其他参考拍摄信息与所述目标视频的拍摄信息之间的相似度。In some embodiments, the template corresponding to the target video is obtained from a pre-stored template set; the template set includes several reference video shooting templates and/or several reference editing templates, and the reference video shooting template and all The reference editing templates all correspond to reference shooting information; the similarity between the reference shooting information of the template corresponding to the target video and the shooting information of the target video is higher than that between other reference shooting information in the template set and The similarity between the shooting information of the target video.
在一些实施例中,所述缺失镜头包括以下至少一种:缺失指定场景的镜头、缺失指定运镜手法的镜头、缺失被摄主体指定景别的镜头、缺失被摄主体指定姿势的镜头、缺失被摄主体指定构图的镜头或者缺失指定物体的镜头。In some embodiments, the missing shots include at least one of the following: shots missing a specified scene, shots missing a specified camera technique, shots missing a specified scene of the subject, shots missing a specified pose of the subject, Shots with a specified composition of the subject or shots with a specified object missing.
在一些实施例中,所述获取目标视频,包括:根据拍摄装置从周围环境获取的场景信息和/或所述拍摄装置所在的地理位置,从视频集合中选择所述目标视频;所述视频集合包括有在历史时间拍摄的至少一个视频。示例性的,所述目标视频对应的拍摄场景信息与所述场景信息之间的相似度,高于,所述视频集合中的其他视频对应的拍摄场景信息与所述场景信息之间的相似度;和/或所述目标视频对应的拍摄地点与所述拍摄装置所在的地理位置之间的距离,小于,所述视频集合中的其他视频对应的拍摄 地点与所述拍摄装置所在的地理位置之间的距离。In some embodiments, obtaining the target video includes: selecting the target video from a video collection according to the scene information obtained by the shooting device from the surrounding environment and/or the geographical location of the shooting device; the video collection Include at least one video shot in historical time. Exemplarily, the similarity between the shooting scene information corresponding to the target video and the scene information is higher than the similarity between the shooting scene information corresponding to other videos in the video collection and the scene information. ; and/or the distance between the shooting location corresponding to the target video and the geographical location where the shooting device is located is less than the distance between the shooting locations corresponding to other videos in the video collection and the geographical location where the shooting device is located. distance between.
在一些实施例中,所述拍摄指引包括:拍摄内容和/或所述拍摄内容对应的拍摄手法。示例性的,所述拍摄内容以包含有拍摄内容的效果示意图或者示例视频片段呈现;所述拍摄手法通过图像或者视频呈现;所述拍摄手法指示有以下至少一种拍摄指导信息:所述拍摄装置的拍摄参数、所述拍摄装置的视场方向、所述拍摄装置与被摄主体之间的参考距离或者所述拍摄装置的运动轨迹。In some embodiments, the shooting guide includes: shooting content and/or shooting techniques corresponding to the shooting content. Exemplarily, the shooting content is presented in a schematic diagram or an example video clip containing the shooting content; the shooting method is presented in an image or video; the shooting method instruction includes at least one of the following shooting guidance information: the shooting device The shooting parameters, the field of view direction of the shooting device, the reference distance between the shooting device and the subject, or the motion trajectory of the shooting device.
在一些实施例中,所述方法应用于可移动平台的遥控设备中;所述可移动平台设置有拍摄装置;所述方法还包括:根据所述拍摄指引控制所述可移动平台运动,以使所述拍摄装置采集拍摄与所述一个或多个缺失镜头相关的图像和/或视频。其中,所述拍摄指引指示有所述可移动平台所在的期望位置、所述可移动平台的朝向、所述可移动平台的运动轨迹、和/或所述可移动平台与被摄主体之间的参考距离。In some embodiments, the method is applied to a remote control device of a movable platform; the movable platform is provided with a shooting device; the method further includes: controlling the movement of the movable platform according to the shooting guidance, so that The photographing device collects and captures images and/or videos related to the one or more missing lenses. Wherein, the shooting guide indicates the desired position of the movable platform, the orientation of the movable platform, the motion trajectory of the movable platform, and/or the distance between the movable platform and the subject. Reference distance.
在一些实施例中,所述方法还包括:获取基于所述拍摄指引拍摄得到的与所述缺失镜头相关的图像和/视频;利用所述剪辑模板对所述图像和/或视频、以及所述目标视频进行合成处理。以上实施方式中的各种技术特征可以任意进行组合,只要特征之间的组合不存在冲突或矛盾,因此上述实施方式中的各种技术特征的任意进行组合也属于本说明书公开的范围。In some embodiments, the method further includes: obtaining images and/or videos related to the missing lens shot based on the shooting guidelines; using the editing template to edit the images and/or videos, and the The target video is synthesized. The various technical features in the above embodiments can be combined arbitrarily, as long as there is no conflict or contradiction between the combinations of features. Therefore, any combination of the various technical features in the above embodiments also falls within the scope of the disclosure of this specification.
相应地,请参阅图5,本申请实施例还提供了一种电子设备10,包括:Correspondingly, please refer to Figure 5. This embodiment of the present application also provides an electronic device 10, including:
一个或多个处理器11;one or more processors 11;
用于存储所述处理器11可执行指令的存储器12;Memory 12 for storing instructions executable by the processor 11;
其中,所述一个或多个处理器11单独或者共同执行所述可执行指令,以执行上述任意一项所述的方法。The one or more processors 11 execute the executable instructions individually or jointly to perform any one of the above methods.
所述处理器11执行所述存储器12中包括的可执行指令,所述处理器11可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 11 executes executable instructions included in the memory 12. The processor 11 may be a central processing unit (Central Processing Unit, CPU), or other general-purpose processor, digital signal processor (Digital Signal Processor). Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
所述存储器12存储拍摄指引方法的可执行指令,所述存储器12可以包括至少一种类型的存储介质,存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器 (ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等等。而且,设备可以与通过网络连接执行存储器的存储功能的网络存储装置协作。存储器12可以是设备10的内部存储单元,例如设备10的硬盘或内存。存储器12也可以是设备10的外部存储设备,例如设备10上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,存储器12还可以既包括设备10的内部存储单元也包括外部存储设备。存储器12用于存储可执行指令以及设备所需的其他程序和数据。存储器12还可以用于暂时地存储已经输出或者将要输出的数据。The memory 12 stores executable instructions for the shooting guidance method. The memory 12 may include at least one type of storage medium. The storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.) , Random Access Memory (RAM), Static Random Access Memory (SRAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Programmable Read Only Memory (PROM), Magnetic Memory, Disk, CDs etc. Furthermore, the device may cooperate with a network storage device that performs the storage functions of the memory through a network connection. The memory 12 may be an internal storage unit of the device 10 , such as a hard disk or memory of the device 10 . The memory 12 may also be an external storage device of the device 10, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SD) card, or a flash card (Flash Card) equipped on the device 10. wait. Further, the memory 12 may also include both an internal storage unit of the device 10 and an external storage device. Memory 12 is used to store executable instructions and other programs and data required by the device. The memory 12 may also be used to temporarily store data that has been output or is to be output.
在一些实施例中,所述电子设备设置有拍摄装置;或者,所述电子设备与拍摄装置通信连接。In some embodiments, the electronic device is provided with a photographing device; or the electronic device is communicatively connected with the photographing device.
示例性的,所述电子设备包括可移动平台的遥控设备,所述可移动平台设置有拍摄装置,所述遥控设备与所述可移动平台通信连接。Exemplarily, the electronic device includes a remote control device of a movable platform, the movable platform is provided with a shooting device, and the remote control device is communicatively connected with the movable platform.
示例性的,所述可移动平台包括以下至少一种:无人飞行器、无人驾驶车辆、云台、无人驾驶船只或者移动机器人。Exemplarily, the movable platform includes at least one of the following: unmanned aerial vehicle, unmanned vehicle, cloud platform, unmanned vessel or mobile robot.
这里描述的各种实施方式可以使用例如计算机软件、硬件或其任何组合的计算机可读介质来实施。对于硬件实施,这里描述的实施方式可以通过使用特定用途集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理装置(DSPD)、可编程逻辑装置(PLD)、现场可编程门阵列(FPGA)、处理器、控制器、微控制器、微处理器、被设计为执行这里描述的功能的电子单元中的至少一种来实施。对于软件实施,诸如过程或功能的实施方式可以与允许执行至少一种功能或操作的单独的软件模块来实施。软件代码可以由以任何适当的编程语言编写的软件应用程序(或程序)来实施,软件代码可以存储在存储器中并且由控制器执行。Various implementations described herein may be implemented using computer-readable media, such as computer software, hardware, or any combination thereof. For hardware implementation, the embodiments described herein may be implemented using an application specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array ( FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein. For software implementations, embodiments such as procedures or functions may be implemented with separate software modules that allow at least one function or operation to be performed. The software code may be implemented by a software application (or program) written in any suitable programming language, which may be stored in memory and executed by the controller.
电子设备10可包括,但不仅限于,处理器11、存储器12。本领域技术人员可以理解,图5仅仅是电子设备10的示例,并不构成对电子设备10的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如设备还可以包括输入输出设备、网络接入设备、总线等。The electronic device 10 may include, but is not limited to, a processor 11 and a memory 12 . Those skilled in the art can understand that FIG. 5 is only an example of the electronic device 10 and does not constitute a limitation of the electronic device 10. It may include more or fewer components than shown, or some components may be combined, or different components may be used. , for example, devices may also include input and output devices, network access devices, buses, etc.
上述设备中各个单元的功能和作用的实现过程具体详见上述方法中对应步骤的实现过程,在此不再赘述。The specific implementation process of the functions and roles of each unit in the above equipment can be found in the implementation process of the corresponding steps in the above method, and will not be described again here.
相应地,请参阅图1,本申请实施例还提供了一种系统,包括上述的电子设备以及可移动平台;所述可移动平台设置有拍摄装置。所述电子设备用于根据所述拍摄指引控制所述可移动平台运动,以使所述拍摄装置拍摄与缺失镜头相关的图像和/或视频。Correspondingly, please refer to Figure 1. An embodiment of the present application also provides a system, including the above-mentioned electronic device and a movable platform; the movable platform is provided with a shooting device. The electronic device is used to control the movement of the movable platform according to the shooting guidance, so that the shooting device shoots images and/or videos related to the missing lens.
在一些实施例中,所述可移动平台包括以下至少一种:无人飞行器、无人驾驶车辆、云台、无人驾驶船只或者移动机器人。In some embodiments, the movable platform includes at least one of the following: an unmanned aerial vehicle, an unmanned vehicle, a gimbal, an unmanned vessel, or a mobile robot.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器,上述指令可由装置的处理器执行以完成上述方法。例如,非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions, such as a memory including instructions, which can be executed by a processor of the device to complete the above method is also provided. For example, non-transitory computer-readable storage media may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
一种非临时性计算机可读存储介质,当存储介质中的指令由终端的处理器执行时,使得终端能够执行上述方法。A non-transitory computer-readable storage medium enables the terminal to perform the above method when instructions in the storage medium are executed by a processor of the terminal.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that these entities or operations are mutually exclusive. any such actual relationship or sequence exists between them. The terms "comprises," "comprises," or any other variation thereof are intended to cover a non-exclusive inclusion such that a process, method, article or apparatus including a list of elements includes not only those elements but also others not expressly listed elements, or elements inherent to such process, method, article or equipment. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article, or apparatus that includes the stated element.
以上对本申请实施例所提供的方法和装置进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The methods and devices provided by the embodiments of the present application have been introduced in detail above. Specific examples are used in this article to illustrate the principles and implementations of the present application. The description of the above embodiments is only used to help understand the methods and methods of the present application. The core idea; at the same time, for those of ordinary skill in the field, there will be changes in the specific implementation and application scope based on the ideas of this application. In summary, the content of this description should not be understood as a limitation of this application. .

Claims (27)

  1. 一种拍摄指引方法,其特征在于,包括:A shooting guidance method, which is characterized by including:
    获取目标视频;Get the target video;
    根据所述目标视频的拍摄信息,确定所述目标视频对应的模板;所述模板用于引导视频拍摄过程;Determine a template corresponding to the target video according to the shooting information of the target video; the template is used to guide the video shooting process;
    利用所述模板,生成所述目标视频中的一个或多个缺失镜头的拍摄指引。Using the template, shooting guidelines for one or more missing shots in the target video are generated.
  2. 根据权利要求1所述的方法,其特征在于,所述拍摄信息包括以下至少一项:拍摄场景信息、拍摄地点信息、被摄物体、被摄主体的姿势、被摄主体的景别、被摄主体的构图方式、运镜手法或者美学质量评价信息。The method according to claim 1, characterized in that the shooting information includes at least one of the following: shooting scene information, shooting location information, subject, posture of the subject, scene of the subject, subject The subject’s composition method, camera movement, or aesthetic quality evaluation information.
  3. 根据权利要求1所述的方法,其特征在于,所述目标视频对应的模板从预存的模板集合中得到;The method according to claim 1, characterized in that the template corresponding to the target video is obtained from a pre-stored template set;
    所述模板集合中包括有若干参考视频拍摄模板和/或若干参考剪辑模板,且所述参考视频拍摄模板和所述参考剪辑模板均对应有参考拍摄信息;The template set includes several reference video shooting templates and/or several reference editing templates, and the reference video shooting templates and the reference editing templates each correspond to reference shooting information;
    所述目标视频对应的模板的参考拍摄信息与所述目标视频的拍摄信息之间的相似度,高于,所述模板集合中的其他参考拍摄信息与所述目标视频的拍摄信息之间的相似度。The similarity between the reference shooting information of the template corresponding to the target video and the shooting information of the target video is higher than the similarity between other reference shooting information in the template set and the shooting information of the target video. Spend.
  4. 根据权利要求3所述的方法,其特征在于,所述参考视频拍摄模板和/或所述参考剪辑模板基于具有连贯性和/或美学质量评价信息满足预设要求的视频确定;或者所述参考视频拍摄模板和/或所述参考剪辑模板基于用户选择指令所指定的视频确定。The method according to claim 3, characterized in that the reference video shooting template and/or the reference editing template are determined based on videos with coherence and/or aesthetic quality evaluation information that meet preset requirements; or the reference The video shooting template and/or the reference editing template are determined based on the video specified by the user selection instruction.
  5. 根据权利要求1所述的方法,其特征在于,所述缺失镜头包括以下至少一种:缺失指定场景的镜头、缺失指定运镜手法的镜头、缺失被摄主体指定景别的镜头、缺失被摄主体指定姿势的镜头、缺失被摄主体指定构图的镜头或者缺失指定物体的镜头。The method according to claim 1, characterized in that the missing shots include at least one of the following: shots missing a specified scene, shots missing a specified camera technique, shots missing a specified scene of the subject, shots missing the subject. Shots in which the subject poses in a specified manner, in which the specified composition of the subject is missing, or in which a specified object is missing.
  6. 根据权利要求1所述的方法,其特征在于,所述获取目标视频,包括:The method according to claim 1, characterized in that said obtaining the target video includes:
    根据拍摄装置从周围环境获取的场景信息和/或所述拍摄装置所在的地理位置,从视频集合中选择所述目标视频;所述视频集合包括有在历史时间拍摄的至少一个视频。The target video is selected from a video collection according to the scene information obtained by the shooting device from the surrounding environment and/or the geographical location of the shooting device; the video collection includes at least one video shot at a historical time.
  7. 根据权利要求6所述的方法,其特征在于,所述目标视频对应的拍摄场景信息与所述场景信息之间的相似度,高于,所述视频集合中的其他视频对应的拍摄场景信息与所述场景信息之间的相似度;和/或The method according to claim 6, characterized in that the similarity between the shooting scene information corresponding to the target video and the scene information is higher than the shooting scene information corresponding to other videos in the video collection and the similarity between the shooting scene information corresponding to the target video and the scene information. The similarity between the scene information; and/or
    所述目标视频对应的拍摄地点与所述拍摄装置所在的地理位置之间的距离,小于,所述视频集合中的其他视频对应的拍摄地点与所述拍摄装置所在的地理位置之间的距 离。The distance between the shooting location corresponding to the target video and the geographical location where the shooting device is located is smaller than the distance between the shooting location corresponding to other videos in the video collection and the geographical location where the shooting device is located.
  8. 根据权利要求1至7任意一项所述的方法,其特征在于,所述利用所述模板,生成所述目标视频中的一个或多个缺失镜头的拍摄指引,包括:The method according to any one of claims 1 to 7, characterized in that using the template to generate shooting guidelines for one or more missing shots in the target video includes:
    获取拍摄装置所处环境的环境信息;Obtain environmental information of the environment where the shooting device is located;
    根据所述模板以及所述环境信息,生成所述目标视频中的一个或多个缺失镜头的拍摄指引。According to the template and the environment information, shooting guidelines for one or more missing shots in the target video are generated.
  9. 根据权利要求8所述的方法,其特征在于,所述根据所述模板以及所述环境信息,生成所述目标视频中的一个或多个缺失镜头的拍摄指引,包括:The method of claim 8, wherein generating shooting guidelines for one or more missing shots in the target video based on the template and the environment information includes:
    根据所述模板,确定所述目标视频中的一个或多个缺失镜头;以及Determine one or more missing shots in the target video according to the template; and
    根据所述环境信息,获取与所述拍摄装置所处环境相关的多个参考拍摄指引;According to the environmental information, obtain multiple reference shooting guidelines related to the environment where the shooting device is located;
    从所述多个参考拍摄指引中,获取与所述一个或多个缺失镜头相关的拍摄指引。A shooting guide related to the one or more missing shots is obtained from the plurality of reference shooting guides.
  10. 根据权利要求9所述的方法,其特征在于,所述拍摄装置用于拍摄周围环境的图像和/或视频;所述环境信息包括从所述周围环境的图像或视频中识别到的视觉语义信息;The method according to claim 9, characterized in that the shooting device is used to shoot images and/or videos of the surrounding environment; the environmental information includes visual semantic information recognized from the images or videos of the surrounding environment. ;
    所述多个参考拍摄指引根据所述视觉语义信息,从预存的不同参考视觉语义信息与参考拍摄指引的映射关系中确定。The plurality of reference shooting guidelines are determined from the mapping relationships between different pre-stored reference visual semantic information and reference shooting guidelines based on the visual semantic information.
  11. 根据权利要求9所述的方法,其特征在于,所述环境信息包括拍摄装置所处环境的地理位置;The method according to claim 9, characterized in that the environmental information includes the geographical location of the environment where the shooting device is located;
    所述根据所述环境信息,获取与所述拍摄装置所处环境相关的多个参考拍摄指引,包括:Obtaining multiple reference shooting guidelines related to the environment where the shooting device is located based on the environmental information, including:
    根据所述拍摄装置所处环境的地理位置,确定处于所述地理位置周围的景区,并获取与所述景区相关的多个参考拍摄指引。According to the geographical location of the environment where the shooting device is located, a scenic area around the geographical location is determined, and a plurality of reference shooting guidelines related to the scenic area are obtained.
  12. 根据权利要求11所述的方法,其特征在于,所述与所述景区相关的多个参考拍摄指引根据所述地理位置周围的景区,从预存的不同景区与参考拍摄指引的映射关系中确定。The method according to claim 11, characterized in that the plurality of reference shooting guides related to the scenic spots are determined from the pre-stored mapping relationships between different scenic spots and the reference shooting guides based on the scenic spots around the geographical location.
  13. 根据权利要求1至12任意一项所述的方法,其特征在于,所述拍摄指引包括:拍摄内容和/或所述拍摄内容对应的拍摄手法。The method according to any one of claims 1 to 12, wherein the shooting guide includes: shooting content and/or shooting techniques corresponding to the shooting content.
  14. 根据权利要求13所述的方法,其特征在于,所述拍摄内容以包含有拍摄内容的效果示意图或者示例视频片段呈现;The method according to claim 13, characterized in that the photographed content is presented in the form of a schematic diagram or an example video clip containing the photographed content;
    所述拍摄手法通过图像或者视频呈现;The shooting techniques are presented through images or videos;
    所述拍摄手法指示有以下至少一种拍摄指导信息:所述拍摄装置的拍摄参数、所 述拍摄装置的视场方向、所述拍摄装置与被摄主体之间的参考距离或者所述拍摄装置的运动轨迹。The shooting technique instruction includes at least one of the following shooting guidance information: the shooting parameters of the shooting device, the field of view direction of the shooting device, the reference distance between the shooting device and the subject, or the shooting distance of the shooting device. Movement trajectory.
  15. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1, further comprising:
    将所述目标视频中美学质量评价信息不满足预设要求的视频帧剔除;Eliminate video frames whose aesthetic quality evaluation information does not meet preset requirements in the target video;
    所述生成所述目标视频中的一个或多个缺失镜头的拍摄指引,包括:The generation of shooting guidelines for one or more missing shots in the target video includes:
    生成剔除了视频帧后的目标视频中的一个或多个缺失镜头的拍摄指引。Generate shooting guidelines for one or more missing shots in the target video after removing the video frames.
  16. 根据权利要求1所述的方法,其特征在于,所述方法应用于可移动平台的遥控设备中;所述可移动平台设置有拍摄装置;The method according to claim 1, characterized in that the method is applied to a remote control device of a movable platform; the movable platform is provided with a shooting device;
    所述方法还包括:The method also includes:
    根据所述拍摄指引控制所述可移动平台运动,以使所述拍摄装置拍摄与所述一个或多个缺失镜头相关的图像和/或视频。The movement of the movable platform is controlled according to the shooting guide, so that the shooting device shoots images and/or videos related to the one or more missing shots.
  17. 根据权利要求16所述的方法,其特征在于,所述拍摄指引指示有所述拍摄装置的拍摄参数、所述可移动平台所在的期望位置、所述可移动平台的朝向、所述可移动平台的运动轨迹、和/或所述可移动平台与被摄主体之间的参考距离。The method according to claim 16, wherein the shooting guide indicates shooting parameters of the shooting device, a desired position of the movable platform, an orientation of the movable platform, movement trajectory, and/or the reference distance between the movable platform and the subject.
  18. 根据权利要求1或16所述的方法,其特征在于,所述模板包括剪辑模板,所述方法还包括:The method according to claim 1 or 16, characterized in that the template includes a clipping template, and the method further includes:
    获取基于所述拍摄指引拍摄得到的与所述缺失镜头相关的图像和/视频;Obtain images and/or videos related to the missing lens shot based on the shooting guidelines;
    利用所述剪辑模板对所述图像和/或视频、以及所述目标视频进行合成处理。The image and/or video and the target video are synthesized using the editing template.
  19. 一种拍摄指引方法,其特征在于,包括:A shooting guidance method, which is characterized by including:
    获取拍摄装置所处环境的环境信息;以及,获取目标视频并确定所述目标视频中的一个或多个缺失镜头;Obtain environmental information of the environment where the shooting device is located; and, obtain the target video and determine one or more missing shots in the target video;
    根据所述环境信息,生成所述目标视频中的一个或多个缺失镜头的拍摄指引。According to the environmental information, shooting guidelines for one or more missing shots in the target video are generated.
  20. 根据权利要求19所述的方法,其特征在于,所述确定所述目标视频中的一个或多个缺失镜头,包括:The method of claim 19, wherein determining one or more missing shots in the target video includes:
    根据所述目标视频的拍摄信息,确定所述目标视频对应的模板;所述模板用于引导视频拍摄过程;Determine a template corresponding to the target video according to the shooting information of the target video; the template is used to guide the video shooting process;
    利用所述模板,确定所述目标视频中的一个或多个缺失镜头。Using the template, one or more missing shots in the target video are determined.
  21. 根据权利要求19所述的方法,其特征在于,所述根据所述环境信息,生成所述目标视频中的一个或多个缺失镜头的拍摄指引,包括:The method of claim 19, wherein generating shooting guidelines for one or more missing shots in the target video based on the environmental information includes:
    根据所述环境信息,获取与所述拍摄装置所处环境相关的多个参考拍摄指引;According to the environmental information, obtain multiple reference shooting guidelines related to the environment where the shooting device is located;
    从所述多个参考拍摄指引中,获取与所述一个或多个缺失镜头相关的拍摄指引。A shooting guide related to the one or more missing shots is obtained from the plurality of reference shooting guides.
  22. 一种电子设备,其特征在于,包括:An electronic device, characterized by including:
    一个或多个处理器;one or more processors;
    用于存储所述处理器可执行指令的存储器;memory for storing instructions executable by the processor;
    其中,所述一个或多个处理器单独或者共同执行所述可执行指令,以执行如权利要求1至21任意一项所述的方法。Wherein, the one or more processors execute the executable instructions individually or jointly to perform the method according to any one of claims 1 to 21.
  23. 根据权利要求22所述的电子设备,其特征在于,所述电子设备设置有拍摄装置;或者,所述电子设备与拍摄装置通信连接。The electronic device according to claim 22, characterized in that the electronic device is provided with a photographing device; or the electronic device is communicatively connected with the photographing device.
  24. 根据权利要求22所述的电子设备,其特征在于,所述电子设备包括可移动平台的遥控设备,所述可移动平台设置有拍摄装置,所述遥控设备与所述可移动平台通信连接。The electronic equipment according to claim 22, characterized in that the electronic equipment includes a remote control device of a movable platform, the movable platform is provided with a shooting device, and the remote control device is communicatively connected with the movable platform.
  25. 一种系统,其特征在于,包括如权利要求22至24任意一项所述的电子设备以及可移动平台;所述可移动平台设置有拍摄装置;A system, characterized in that it includes the electronic device according to any one of claims 22 to 24 and a movable platform; the movable platform is provided with a shooting device;
    所述电子设备用于根据所述拍摄指引控制所述可移动平台运动,以使所述拍摄装置拍摄与缺失镜头相关的图像和/或视频。The electronic device is used to control the movement of the movable platform according to the shooting guidance, so that the shooting device shoots images and/or videos related to the missing lens.
  26. 根据权利要求25所述的系统,其特征在于,所述可移动平台包括以下至少一种:无人飞行器、无人驾驶车辆、云台、无人驾驶船只或者移动机器人。The system of claim 25, wherein the movable platform includes at least one of the following: an unmanned aerial vehicle, an unmanned vehicle, a cloud platform, an unmanned vessel or a mobile robot.
  27. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有可执行指令,所述可执行指令被处理器执行时实现如权利要求1至21任一项所述的方法。A computer-readable storage medium, characterized in that the computer-readable storage medium stores executable instructions, and when the executable instructions are executed by a processor, the method according to any one of claims 1 to 21 is implemented.
PCT/CN2022/082703 2022-03-24 2022-03-24 Filming guiding method, electronic device, system and storage medium WO2023178589A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/082703 WO2023178589A1 (en) 2022-03-24 2022-03-24 Filming guiding method, electronic device, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/082703 WO2023178589A1 (en) 2022-03-24 2022-03-24 Filming guiding method, electronic device, system and storage medium

Publications (1)

Publication Number Publication Date
WO2023178589A1 true WO2023178589A1 (en) 2023-09-28

Family

ID=88099464

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/082703 WO2023178589A1 (en) 2022-03-24 2022-03-24 Filming guiding method, electronic device, system and storage medium

Country Status (1)

Country Link
WO (1) WO2023178589A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105225212A (en) * 2014-06-27 2016-01-06 腾讯科技(深圳)有限公司 A kind of image processing method and device
US20170085786A1 (en) * 2013-12-10 2017-03-23 Hurray3 Inc. Video processing device, video processing method, and video processing program
CN112218154A (en) * 2019-07-12 2021-01-12 腾讯科技(深圳)有限公司 Video acquisition method and device, storage medium and electronic device
CN113038018A (en) * 2019-10-30 2021-06-25 支付宝(杭州)信息技术有限公司 Method and device for assisting user in shooting vehicle video

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170085786A1 (en) * 2013-12-10 2017-03-23 Hurray3 Inc. Video processing device, video processing method, and video processing program
CN105225212A (en) * 2014-06-27 2016-01-06 腾讯科技(深圳)有限公司 A kind of image processing method and device
CN112218154A (en) * 2019-07-12 2021-01-12 腾讯科技(深圳)有限公司 Video acquisition method and device, storage medium and electronic device
CN113038018A (en) * 2019-10-30 2021-06-25 支付宝(杭州)信息技术有限公司 Method and device for assisting user in shooting vehicle video

Similar Documents

Publication Publication Date Title
EP3457683B1 (en) Dynamic generation of image of a scene based on removal of undesired object present in the scene
TWI450111B (en) Method, computer useable medium, and device for guided photography based on image capturing device rendered user recommendations
JP5402409B2 (en) Shooting condition setting device, shooting condition setting method, and shooting condition setting program
US20150365600A1 (en) Composing real-time processed video content with a mobile device
CN111294488B (en) Image pickup apparatus, control method thereof, and storage medium
CN104378547B (en) Imaging device, image processing equipment, image processing method and program
CN108702464B (en) Video processing method, control terminal and mobile device
CN103491331A (en) Display control apparatus, display control method, and program
TW202203085A (en) Automatic camera guidance and settings adjustment
JP2020198556A (en) Image processing device, control method of the same, program, and storage medium
CN112887610A (en) Shooting method, shooting device, electronic equipment and storage medium
KR102271853B1 (en) Electronic apparatus, image processing method, and computer-readable recording medium
JP2019212967A (en) Imaging apparatus and control method therefor
WO2023178589A1 (en) Filming guiding method, electronic device, system and storage medium
CN105467741A (en) Panoramic shooting method and terminal
JP2008103850A (en) Camera, image retrieval system, and image retrieving method
Rawat Real-time assistance in multimedia capture using social media
CN111522990A (en) Group sharing type photographing method, photographing device, electronic device and storage medium
CN112887588B (en) Method and apparatus for generating video
CN112601025B (en) Image acquisition method and device, and computer readable storage medium of equipment
WO2022030275A1 (en) Imaging device, information processing device, information processing method, and program
WO2020162320A1 (en) Imaging device, imaging method, and program
JP2019121855A (en) Imaging device and control method thereof
WO2023021759A1 (en) Information processing device and information processing method
WO2021237627A1 (en) Image processing method and terminal device