CN114500852B - Shooting method, shooting device, electronic equipment and readable storage medium - Google Patents

Shooting method, shooting device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN114500852B
CN114500852B CN202210180022.5A CN202210180022A CN114500852B CN 114500852 B CN114500852 B CN 114500852B CN 202210180022 A CN202210180022 A CN 202210180022A CN 114500852 B CN114500852 B CN 114500852B
Authority
CN
China
Prior art keywords
shooting
input
shooting object
video
video clip
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202210180022.5A
Other languages
Chinese (zh)
Other versions
CN114500852A (en
Inventor
李磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202210180022.5A priority Critical patent/CN114500852B/en
Publication of CN114500852A publication Critical patent/CN114500852A/en
Application granted granted Critical
Publication of CN114500852B publication Critical patent/CN114500852B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Abstract

The application discloses a shooting method, a shooting device, electronic equipment and a readable storage medium, and belongs to the field of shooting. The shooting method comprises the following steps: receiving a first input of a user to a shooting preview interface; determining a first photographic subject and a second photographic subject in response to the first input; shooting a first shooting object and a second shooting object in sequence according to a preset track to obtain a first video clip and a second video clip; generating a target video based on the first video segment and the second video segment; the ratio of the image area where the first shooting object is located in the first video clip is gradually increased, and the target shooting object of the second video clip is the second shooting object.

Description

Shooting method, shooting device, electronic equipment and readable storage medium
Technical Field
The application belongs to the technical field of image pickup, and particularly relates to a shooting method, a shooting device, electronic equipment and a readable storage medium.
Background
With the rise of short videos, more and more users share their lives and daily lives through the short videos.
The current method of shooting short videos by the electronic equipment is single, and users need to perform further optimization processing after shooting the videos.
Most users do not have the function of optimizing the video because of the use capability of the users on the electronic equipment, and the users are difficult to obtain the video with the creation, so that the effect of the video after shooting is poor.
Disclosure of Invention
An object of an embodiment of the present application is to provide a photographing method, a photographing apparatus, an electronic device, and a readable storage medium, which can quickly obtain an authored video.
In a first aspect, an embodiment of the present application provides a photographing method, including:
receiving a first input of a user to a shooting preview interface;
determining a first photographic subject and a second photographic subject in response to the first input;
Shooting a first shooting object and a second shooting object in sequence according to a preset track to obtain a first video clip and a second video clip;
generating a target video based on the first video segment and the second video segment;
The ratio of the image area where the first shooting object is located in the first video clip is gradually increased, and the target shooting object of the second video clip is the second shooting object.
In a second aspect, an embodiment of the present application provides a photographing apparatus, including:
the receiving module is used for receiving a first input of a user to the shooting preview interface;
A determination module that determines a first photographic subject and a second photographic subject in response to a first input;
The shooting module is used for shooting the first shooting object and the second shooting object in sequence according to a preset track to obtain a first video clip and a second video clip;
The generation module is used for generating a target video based on the first video segment and the second video segment;
The ratio of the image area where the first shooting object is located in the first video clip is gradually increased, and the target shooting object of the second video clip is the second shooting object.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method as in the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the method as in the first aspect.
In a fifth aspect, embodiments of the present application provide a chip comprising a processor and a communication interface, the communication interface being coupled to the processor, the processor being configured to execute programs or instructions to implement a method as in the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executable by at least one processor to implement a method as in the first aspect.
In the embodiment of the application, the duty ratio of the image area where the first shooting object is located is increased when the first video clip is shot, so that the first shooting object can be observed to be in detail, a sense that the first shooting object is more and more close to the first shooting object is given to a user, then the shooting object is gradually changed into the second shooting object from the first shooting object, and as different shooting objects sequentially enter the preview interface, the user can feel the sense of surrounding objects, thereby surrounding a plurality of shooting objects like being in the scene, and the target video is automatically generated. The target video generated by the method greatly enhances the visual impact of the user. For users without authoring capability, the user can shoot videos with better effects, so that the operation of the user is simplified, and the use experience of the user on the electronic equipment is improved.
Drawings
FIG. 1 is a schematic flow chart of a shooting method in an embodiment of the application;
FIG. 2 is a schematic diagram of a preview interface in accordance with an embodiment of the present application;
FIG. 3 is a schematic diagram of identifying a plurality of shooting objects in a preview interface according to an embodiment of the present application;
FIG. 4 is a second schematic diagram of identifying a plurality of shooting objects in a preview interface according to an embodiment of the present application;
FIG. 5 is a schematic view of an enlarged photographic subject displayed on a preview interface according to an embodiment of the present application;
FIG. 6 is a second schematic view of an enlarged object displayed on the preview interface according to an embodiment of the present application;
FIG. 7 is a third schematic view of an enlarged object displayed on the preview interface in accordance with an embodiment of the present application;
FIG. 8 is a second schematic diagram of a preview interface according to an embodiment of the present application;
FIG. 9 is a third diagram illustrating a preview interface in accordance with an embodiment of the present application;
FIG. 10 is a schematic diagram of a preview interface after zooming out a plurality of objects in accordance with an embodiment of the present application;
FIG. 11 is a schematic block diagram of a photographing apparatus in an embodiment of the present application;
FIG. 12 is a schematic block diagram of an electronic device in an embodiment of the application;
Fig. 13 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions of the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which are obtained by a person skilled in the art based on the embodiments of the present application, fall within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The shooting method, the shooting device, the electronic equipment and the readable storage medium provided by the embodiment of the application are described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
As shown in fig. 1, in an embodiment of the present application, a photographing method is provided, including:
step 102, a first input of a user to a shooting preview interface is received.
In step 104, a first photographic subject and a second photographic subject are determined in response to the first input.
When a user needs to take an image using an electronic device, the image capturing function is generally required to be turned on. After the shooting function is started, the shooting preview interface of the electronic equipment can display the object to be shot, and at the moment, the display interface of the electronic equipment is the shooting preview interface.
When the electronic device receives the first input, the electronic device may identify a photographic object within the photographic preview interface.
As shown in fig. 2, the photographing object may be a main object within the photographing preview interface, and in fig. 2, a first photographing object 100, a second photographing object 200, and a third photographing object 300 are shown, illustratively, a mountain, a building, etc. in a far scene, fruits, trees, pedestrians, vehicles, etc. in a near scene. The main object may be embodied as an object different from a surrounding scene, for example, sky around a mountain in a distant scene of a photographing preview interface, so the mountain is highlighted as the main object so that the mountain may be recognized as a photographing object.
As shown in fig. 3, three identified photographic objects are displayed on the preview interface, and reference numerals are respectively 100, 200, 300, and as shown in fig. 4, four identified photographic objects are displayed on the preview interface, and reference numerals are respectively 100, 200, 300, 400.
The first input may be: the clicking input of the user on the shooting preview interface, or the voice instruction input by the user, or the specific gesture input by the user, may be specifically determined according to the actual use requirement, which is not limited by the embodiment of the present application.
The specific gesture in the embodiment of the application can be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure recognition gesture, a long-press gesture, an area change gesture, a double-press gesture and a double-click gesture; the click input in the embodiment of the application can be single click input, double click input or any time click input, and the like, and can also be long-press input or short-press input.
When the electronic device receives the first input, the electronic device indicates that the user wants to enter a specific shooting mode, and the electronic device identifies a first shooting object and a second shooting object in a shooting preview interface.
And 106, shooting the first shooting object and the second shooting object in sequence according to a preset track to obtain a first video clip and a second video clip.
Step 108, generating a target video based on the first video segment and the second video segment; the ratio of the image area where the first shooting object is located in the first video clip is gradually increased, and the target shooting object of the second video clip is the second shooting object.
The preset track is preset, and the first shooting object and the second shooting object are shot in sequence according to the preset track. After the first shooting object and the second shooting object are determined, the first shooting object is shot to obtain a first video clip, and the first video clip is used for shooting to obtain a clear first shooting object. And then shooting a second video clip according to the preset track, wherein the second video clip is used for shooting to obtain a clear second shooting object. Specifically, when the first photographic subject is photographed, the duty ratio of the image area where the first photographic subject is located is gradually increased, so that the image area where the first photographic subject is located is gradually enlarged and displayed. Since the display size of the image area where the first subject is located is large, the first subject can be clearly displayed. In photographing the first photographing object, the first video clip may be gradually changed from a large field of view to a close-up of the first photographing object for the purpose of making the photographing of the first photographing object clear. In this embodiment, the duty ratio of the image area where the first shooting object is located refers to the duty ratio of the image area where the first shooting object is located compared to the shooting preview interface.
After the image area where the first shooting object is located is displayed in an enlarged mode, the camera is controlled to rotate according to a preset track, the first shooting object gradually disappears in the shooting preview interface, and the second shooting object gradually enters the shooting preview interface. In this embodiment, the second video clip may be a process of changing from the first shooting object to the second shooting object, and in this process, the focal length of the camera may be unchanged, or may be gradually increased, or may be gradually decreased, until the second shooting object is clearly shot.
The shooting mode of the second shooting object can be selected in various ways, for example, the focal length of the camera is adjusted, so that the ratio of the image area where the first shooting object is located is reduced when the first video clip is shot, and the user is felt to be farther and farther from the first shooting object.
If the details of the first photographic subject can be clearly observed, it is necessary to adjust the focal length of the camera, while the first video clip is photographed, the duty ratio of the image area where the first photographic subject is located is kept unchanged.
The ratio of the image area where the first shooting object is located can be increased when the first video clip is shot, so that the first shooting object can be observed to be in detail, a sense that the first shooting object is more and more close to the first shooting object is given to a user, then the shooting object is gradually changed into the second shooting object from the first shooting object, and the different shooting objects sequentially enter the preview interface, so that the user can feel the sense of surrounding objects, and thus the user can surround a plurality of shooting objects like the scene, and the target video is automatically generated. The target video generated by the method greatly enhances the visual impact of the user. For users without authoring capability, the user can shoot videos with better effects, so that the operation of the user is simplified, and the use experience of the user on the electronic equipment is improved.
The target video provides the user with the experience of shooting around a plurality of objects, so that the electronic equipment can enter a stereoscopic surrounding shooting mode after receiving the first input, and the target video with a better effect can be automatically generated at the moment.
Under the shooting mode of three-dimensional surrounding, the target video can be automatically generated, and even if a user does not have the skill of shooting the effect of three-dimensional surrounding, the target video of three-dimensional surrounding can be obtained through the shooting mode of three-dimensional surrounding, so that the difficulty of manufacturing the special effect video is reduced.
In one possible application, in the moving shooting process, the camera lens of the electronic device can realize shooting functions in modes of locking focus, optical zooming, data zooming and the like, so that the shooting effect of the video is ensured. The electronic equipment is provided with a plurality of cameras, and the magnification of different cameras to the image is different, so that in order to further improve the video shooting effect, seamless switching of a plurality of magnifying lenses is required to be ensured.
In one possible embodiment, after receiving the first input of the user to the shooting preview interface, the method further includes: determining a third photographic subject in response to the first input; shooting a first shooting object and a second shooting object in sequence according to a preset track to obtain a first video clip and a second video clip, wherein the method comprises the following steps: shooting a first shooting object, a second shooting object and a third shooting object in sequence according to a preset track to obtain a first video clip, a second video clip and a third video clip; generating a target video based on the first video segment and the second video segment, comprising: generating a target video based on the first video clip, the second video clip, and the third video clip; the target shooting object of the third video clip is a third shooting object.
In this embodiment, after receiving the first input of the user, the third photographic subject is also determined, so the inside of the photographic preview interface may not be limited to two photographic subjects, and the number of photographic subjects may be plural.
As the number of shot objects increases, the number of video clips also increases, and the shot object of the third video clip is the third shot object.
And when the third shooting object is shot, the third shooting object can be selected in a plurality of ways, and the focal length of the camera is adjusted according to whether the third shooting object is clear in a shooting preview interface or not until the third shooting object can be clearly displayed.
In one possible embodiment, after determining the first photographic subject and the second photographic subject, the method further includes: a second input of the user is received, and a preset track is determined in response to the second input.
In this embodiment, after a plurality of shooting objects are acquired, there may be a default track, and the user may adjust the default track through the second input to obtain the preset track.
For example, the default display order may be from near to far, left to right, up to down. As shown in fig. 3, three subjects are included in the preview interface, the subject at reference numeral 100 should be regarded as a first subject according to the top and bottom pre-display order, and then the subject at reference numeral 200 may be regarded as a second subject according to the right and left pre-display order. Finally, the shooting object at the reference numeral 300 is determined to be the third shooting object, the user can adjust the default display sequence, and the preset track is determined, so that the three shooting objects can be shot in sequence.
As shown in fig. 5, 6 and 7, the photographic subject at reference numeral 100 is photographed first, the photographic subject at reference numeral 200 is displayed in the preview interface as the camera rotates, and the photographic subject at reference numeral 300 is displayed in the preview interface finally.
If the user is not satisfied with the shooting track, the shooting track can be actively adjusted, so that the shooting sequence of a plurality of shooting objects can be adjusted according to the preference of the user.
Illustratively, the second input may be: the click input of the user on the preview interface, or the voice command input by the user, or the specific gesture input by the user, may be specifically determined according to the actual use requirement, which is not limited by the embodiment of the present application.
The specific gesture in the embodiment of the application can be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure recognition gesture, a long-press gesture, an area change gesture, a double-press gesture and a double-click gesture; the click input in the embodiment of the application can be single click input, double click input or any time click input, and the like, and can also be long-press input or short-press input.
In one possible application, as shown in fig. 8, five shot objects in the shooting preview interface are respectively denoted by reference numeral 100, reference numeral 200, reference numeral 300, reference numeral 400 and reference numeral 500, an option of "custom track" is provided on the shooting preview interface, the second input may be a single click input of the user on the "custom track", and when the user clicks the "custom track", the preset display sequence may be set autonomously.
The user can actively adjust the preset track, so that the flexibility of the user in the process of making the target video is improved. Moreover, the method for adjusting the preset track can be used for selecting the sequence of the shooting objects for the user, and is simple and convenient for the user to operate.
In one possible application, if the second input is not received, a preset trajectory needs to be determined according to the first input, that is, a plurality of photographing objects are photographed in sequence according to the determined order of the photographing objects.
In one possible embodiment, after determining the first photographic subject and the second photographic subject, the method further includes: receiving a third input from the user; responsive to the third input, image content update rates of the first video clip and the second video clip are determined.
In this embodiment, a preset update rate is determined based on the third input, and then the image content is updated at the preset update rate. Specifically, the speed of the lens transition when capturing the video clip is determined based on the third input, for example, the first subject is clearly captured (the zoom speed is fast) at a faster lens transition speed, or the first subject is transitioned to the second subject at a faster speed.
Before the first shooting object is displayed in an enlarged mode, the user can actively adjust the updating speed according to the selection of the user.
For example, the specific input manner of the third input may refer to the second input, which is not described herein.
In one possible application, as shown in fig. 9, five shooting objects in the shooting preview interface are respectively denoted by reference numeral 100, reference numeral 200, reference numeral 300, reference numeral 400 and reference numeral 500, the preview interface has an option of "custom flying speed", and the third input may be a click input of the user on the "custom flying speed", and after the user clicks on the "custom flying speed", the update speed may be set autonomously.
Illustratively, after clicking on the "custom flight speed" option, the user may autonomously select the slow, default, fast, and extremely fast options displayed on the preview interface.
The user can actively adjust the update speed, so that the flexibility of the user in the video making process is improved. In addition, the mode of adjusting the update speed can select options corresponding to different speeds for the user, and the mode of adjusting the update speed is simple and convenient for the user to operate.
In case no third input is received, the update speed is determined with the first input, i.e. the image content is updated with the default update speed.
In one possible embodiment, a fourth video clip is captured, the ratio of the image area of the second capturing object in the fourth video clip is gradually reduced, and the difference between the final field of view of the fourth video clip and the initial field of view of the first video clip is smaller than a preset threshold.
In this embodiment, after the first video clip and the second video clip are captured, the duty ratio of the image area where the second subject is located is reduced, as shown in fig. 10, so that the first subject and the second subject can be simultaneously displayed in the capturing preview interface. Three photographic subjects are shown simultaneously, respectively designated by reference numeral 100, reference numeral 200 and reference numeral 300.
The occupancy ratio of the image area where the shooting object is located is increased, so that the user can be brought to the sense of being close to the shooting object. The duty ratio of the image area where the shooting object is located is reduced, and the user can be brought with the look and feel of being far away from the shooting object again.
By the method, the target video is generated, the visual impact of a user is further enhanced, and the manufacturing effect of the target video is improved.
It should be noted that when the third subject is present, the duty ratio of the image area where the third subject is present in the fourth video clip needs to be gradually reduced.
In one possible embodiment, after generating the target video, the method further includes: in response to the fourth input, the target video is saved.
In an embodiment, after generating the target video, the user may view the target video and then decide whether to guarantee the target video, and save the target video to the local (album) when the electronic device receives the fourth input.
In one possible application, the fourth input is a single click input, a double click input, a sliding input, or the like, and the second input may be referred to specifically, which is not described herein. For example, with a "save" option on the preview interface, the user may click on the "save" option to save the target video. Or the shooting preview interface is provided with an option of ending recording, and when the user clicks the option of ending recording, the electronic equipment stores the target video.
The fourth input can also be an interaction mode such as voice input or gesture input, and the user can save the target video in a voice interaction or gesture interaction mode, so that the convenience of the user in using the electronic equipment is improved.
The user can select whether to save the target video, the process of generating the video is more flexible, and the user experience is improved.
Of course, in other embodiments, after the target video is generated, the target video may be automatically saved, so as to avoid the situation that the target video is deleted due to misoperation of the user, and ensure that the user can obtain the target video.
In one possible embodiment, after generating the target video, the method further includes: displaying a thumbnail icon; wherein the thumbnail icon is associated with the target video.
In this embodiment, after the target video is saved, the target video is displayed in the form of thumbnail icons within the shooting preview interface.
Illustratively, as shown in fig. 10, the thumbnails of reference numeral 100, reference numeral 200, and reference numeral 300 are displayed in the lower left corner within the photographic preview interface.
The occupation area of the thumbnail icons on the shooting preview interface is small, so that the thumbnail icons are not easy to influence other operations of a user. Since the thumbnail icon is associated with the target video, the thumbnail icon may be clicked when the user wants to view the target video, which is displayed in the shooting preview interface. By displaying the thumbnail icons on the shooting preview interface, a user can conveniently and rapidly browse the target video, the convenience of viewing the target video by the user is improved, and the operation difficulty of the user is simplified.
In one possible embodiment, after generating the target video, the method further includes: any shooting object is separated from a preset track, shooting is stopped, and a target video is stored.
In this embodiment, in the process of generating the target video, if there is a shooting object out of a preset track among the plurality of identified shooting objects, the continuous shooting of the video clip may be stopped at this time to automatically save the currently generated target video.
When a user faces a camera of the electronic device to a scene to be shot, when any shooting object is separated from a preset track, the fact that the identified shooting object is changed is indicated, and the user is likely to move the electronic device in a large range, at the moment, the target video needs to be automatically stored, and the situation that the target video is lost is avoided.
In one possible embodiment, after determining the first photographic subject and the second photographic subject, the method further includes: determining a shooting algorithm according to the first shooting object and the second shooting object; wherein, shooting algorithm includes: high dynamic range algorithms or super-division algorithms.
In this embodiment, the photographing algorithm is selected according to the first photographing object and the second photographing object, so that the corresponding photographing algorithm can be selected according to different photographing scenes.
For example, under the irradiation of the strong light source, the high brightness area and the shadow area exist simultaneously, and the shooting process can be finished by using a high dynamic range algorithm.
When resolution is required to be improved or denoising is required, a super-resolution algorithm can be selected.
Of course, the high dynamic range algorithm and the super-division algorithm may be combined during the photographing process.
According to the first shooting object and the second shooting object, the current shooting scene can be determined, and a shooting algorithm corresponding to the current shooting scene is selected, so that the shooting effect of the video is improved, and the shooting quality of the video is improved.
According to the shooting method provided by the embodiment of the application, the execution subject can be a shooting device. In the embodiment of the present application, a method for performing shooting by a shooting device is taken as an example, and the shooting device provided by the embodiment of the present application is described.
As shown in fig. 11, some of the present application provides a photographing apparatus 1100, including:
a receiving module 1110, configured to receive a first input of a user to a shooting preview interface;
A determining module 1120 that determines a first photographic subject and a second photographic subject in response to a first input;
The shooting module 1130 is configured to sequentially shoot the first shooting object and the second shooting object according to a preset track, so as to obtain a first video clip and a second video clip;
a generation module 1140 that generates a target video based on the first video clip and the second video clip;
The ratio of the image area where the first shooting object is located in the first video clip is gradually increased, and the target shooting object of the second video clip is the second shooting object.
In the embodiment of the application, the duty ratio of the image area where the first shooting object is located is increased when the first video clip is shot, so that the first shooting object can be observed to be in detail, a sense that the first shooting object is more and more close to the first shooting object is given to a user, then the shooting object is gradually changed into the second shooting object from the first shooting object, and as different shooting objects sequentially enter the preview interface, the user can feel the sense of surrounding objects, thereby surrounding a plurality of shooting objects like being in the scene, and the target video is automatically generated. The target video generated by the method greatly enhances the visual impact of the user. For users without authoring capability, the user can shoot videos with better effects, so that the operation of the user is simplified, and the use experience of the user on the electronic equipment is improved.
In one possible embodiment, after receiving the first input of the user to the shooting preview interface, the determining module is further configured to: determining a third photographic subject in response to the first input; the shooting module is specifically used for: shooting a first shooting object, a second shooting object and a third shooting object in sequence according to a preset track to obtain a first video clip, a second video clip and a third video clip; the generating module is specifically used for: generating a target video based on the first video clip, the second video clip, and the third video clip; the target shooting object of the third video clip is a third shooting object.
In one possible embodiment, the first input comprises: a first sub-input and a second sub-input; the first determining module is specifically configured to: determining a first photographic subject in response to the first sub-input; in response to the second sub-input, a second photographic subject is determined.
In one possible embodiment, before shooting the first shooting object and the second shooting object sequentially according to the preset track, the determining module is further configured to: in the case where the first object and the second object in the photographing preview interface satisfy the preset condition, the first object is determined as the first photographing object, and the second object is determined as the second photographing object.
In one possible embodiment, after determining the first photographing object and the second photographing object, the photographing apparatus further includes: and an adjustment module: a second input for receiving a user; in response to the second input, a preset trajectory is determined.
In one possible embodiment, after determining the first photographing object and the second photographing object, the photographing apparatus further includes: and an updating module: for receiving a third input from the user; responsive to the third input, image content update rates of the first video clip and the second video clip are determined.
In a possible embodiment, after obtaining the first video clip and the second video clip, the capturing module is further configured to: and shooting to obtain a fourth video segment, wherein the duty ratio of an image area where the second shooting object is located in the fourth video segment is gradually reduced, and the difference value between the final visual field range of the fourth video segment and the initial visual field range of the first video segment is smaller than a preset threshold value.
In one possible embodiment, the photographing apparatus 1100 further includes: and the storage module is used for responding to the fourth input and storing the target video after the target video is generated.
In one possible embodiment, the photographing apparatus 1100 further includes: the display module is used for displaying the thumbnail marks after the target video is generated; wherein the thumbnail icon is associated with the target video.
In a possible embodiment, the saving module is further configured to: any shooting object is separated from a preset track, and a target video is stored.
In one possible embodiment, the photographing apparatus 1100 further includes: the shooting algorithm module is used for determining a shooting algorithm according to the first shooting object and the second shooting object after determining the first shooting object and the second shooting object; wherein, shooting algorithm includes: high dynamic range algorithms or super-division algorithms.
The photographing device in the embodiment of the application can be an electronic device, or can be a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. The electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a mobile internet appliance (mobile INTERNET DEVICE, MID), an augmented reality (augmented reality, AR)/Virtual Reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), etc., and may also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a Television (TV), a teller machine, a self-service machine, etc., which are not particularly limited in the embodiments of the present application.
The photographing device in the embodiment of the application may be a device having an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, and the embodiment of the present application is not limited specifically.
The photographing provided by the embodiment of the present application can implement each process implemented by the embodiments of the methods of fig. 1 to 10, and achieve the same technical effects, and in order to avoid repetition, a detailed description is omitted here.
Optionally, as shown in fig. 12, the embodiment of the present application further provides an electronic device 1200, including a processor 1201 and a memory 1202, where the memory 1202 stores a program or an instruction that can be executed on the processor 1201, and the program or the instruction when executed by the processor 1201 implements the steps of the foregoing shooting method embodiment, and can achieve the same technical effects, so that repetition is avoided, and no further description is given here.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
Fig. 13 is a schematic diagram of a hardware structure of an electronic device 1300 implementing an embodiment of the present application.
The electronic device 1300 includes, but is not limited to: radio frequency unit 1301, network module 1302, audio output unit 1303, input unit 1304, sensor 1305, display unit 1306, user input unit 1307, interface unit 1308, memory 1309, and processor 1310.
Those skilled in the art will appreciate that the electronic device 1300 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 1310 by a power management system, such as to perform functions such as managing charging, discharging, and power consumption by the power management system. The electronic device structure shown in fig. 13 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
Wherein, the user input unit 1307 is configured to receive a first input of a shooting preview interface from a user; the processor 1310 is configured to determine a first photographic subject and a second photographic subject in response to a first input; shooting a first shooting object and a second shooting object in sequence according to a preset track to obtain a first video clip and a second video clip; a target video is generated based on the first video clip and the second video clip.
In the embodiment of the application, the duty ratio of the image area where the first shooting object is located is increased when the first video clip is shot, so that the first shooting object can be observed to be in detail, a sense that the first shooting object is more and more close to the first shooting object is given to a user, then the shooting object is gradually changed into the second shooting object from the first shooting object, and as different shooting objects sequentially enter the preview interface, the user can feel the sense of surrounding objects, thereby surrounding a plurality of shooting objects like being in the scene, and the target video is automatically generated. The target video generated by the method greatly enhances the visual impact of the user. For users without authoring capability, the user can shoot videos with better effects, so that the operation of the user is simplified, and the use experience of the user on the electronic equipment is improved.
Optionally, after receiving the first input of the user to the shooting preview interface, the processor 1310 is further configured to determine, in response to the first input, a third shooting object; shooting a first shooting object, a second shooting object and a third shooting object in sequence according to a preset track to obtain a first video clip, a second video clip and a third video clip; a target video is generated based on the first video clip, the second video clip, and the third video clip.
Optionally, the first input comprises: a first sub-input and a second sub-input, the processor 1310 further configured to determine a first photographic subject in response to the first sub-input; in response to the second sub-input, a second photographic subject is determined.
Optionally, before the first shot object and the second shot object are shot sequentially according to the preset track, the processor 1310 is further configured to determine the first object as the first shot object and determine the second object as the second shot object if the first object and the second object in the shooting preview interface meet the preset condition.
Optionally, after determining the first photographic subject and the second photographic subject, the user input unit 1307 is configured to receive a second input from the user, and the processor 1310 is further configured to determine a preset track in response to the second input.
Optionally, after determining the first photographing object and the second photographing object, the user input unit 1307 is further configured to receive a third input by the user; the processor 1310 is further configured to determine, in response to a third input, an image content update rate for the first video clip and the second video clip.
Optionally, after the first video clip and the second video clip are obtained, the processor 1310 is further configured to photograph to obtain a fourth video clip, where the duty ratio of the image area where the second photographic object is located in the fourth video clip is gradually reduced, and the difference between the final field of view of the fourth video clip and the initial field of view of the first video clip is smaller than a preset threshold.
It should be appreciated that in embodiments of the present application, the input unit 1304 may include a graphics processor (Graphics Processing Unit, GPU) 13041 and a microphone 13042, the graphics processor 13041 processing image data of still pictures or video obtained by an image capture device (e.g., a camera) in a video capture mode or an image capture mode. The display unit 1306 may include a display panel 13061, and the display panel 13061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1307 includes at least one of a touch panel 13071 and other input devices 13072. Touch panel 13071, also referred to as a touch screen. The touch panel 13071 may include two parts, a touch detection device and a touch controller. Other input devices 13072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
Memory 1309 may be used to store software programs as well as various data. The memory 1309 may mainly include a first memory area storing programs or instructions and a second memory area storing data, wherein the first memory area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 1309 may include volatile memory or nonvolatile memory, or the memory 1309 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static random access memory (STATIC RAM, SRAM), dynamic random access memory (DYNAMIC RAM, DRAM), synchronous Dynamic Random Access Memory (SDRAM), double data rate synchronous dynamic random access memory (double DATA RATE SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (ENHANCED SDRAM, ESDRAM), synchronous link dynamic random access memory (SYNCH LINK DRAM, SLDRAM), and direct random access memory (DRRAM). Memory 1309 in embodiments of the application include, but are not limited to, these and any other suitable types of memory.
The processor 1310 may include one or more processing units; optionally, processor 1310 integrates an application processor that primarily handles operations related to the operating system, user interface, and applications, and a modem processor that primarily handles wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 1310.
The embodiment of the application also provides a readable storage medium, and the readable storage medium stores a program or an instruction, which when executed by a processor, implements each process of the shooting method embodiment, and can achieve the same technical effect, so that repetition is avoided, and no further description is provided here.
The processor is a processor in the electronic device in the above embodiment. Readable storage media include computer readable storage media such as computer readable memory ROM, random access memory RAM, magnetic or optical disks, and the like.
The embodiment of the application further provides a chip, the chip comprises a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running programs or instructions, the shooting method can achieve the same technical effects, and the repetition is avoided, so that the description is omitted.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
An embodiment of the present application provides a computer program product, which is stored in a storage medium, and the program product is executed by at least one processor to implement the respective processes of the above-mentioned shooting method embodiment, and achieve the same technical effects, and is not repeated herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (10)

1. A photographing method, comprising:
receiving a first input of a user to a shooting preview interface;
determining a first photographic subject and a second photographic subject in response to the first input;
Shooting the first shooting object and the second shooting object in sequence according to a preset track to obtain a first video clip and a second video clip, wherein after the image area of the first shooting object is amplified and displayed, the camera is controlled to rotate, the first shooting object gradually disappears in the shooting preview interface, and the second shooting object gradually enters the shooting preview interface;
generating a target video based on the first video segment and the second video segment;
The first video segment is a process of converting the first shooting object into the second shooting object, and the target shooting object of the second video segment is the second shooting object.
2. The photographing method of claim 1, wherein,
After receiving the first input of the user to the shooting preview interface, the method further comprises:
determining a third photographic subject in response to the first input;
shooting the first shooting object and the second shooting object in sequence according to a preset track to obtain a first video clip and a second video clip, wherein the method comprises the following steps:
Shooting the first shooting object, the second shooting object and the third shooting object in sequence according to a preset track to obtain a first video clip, a second video clip and a third video clip;
The generating a target video based on the first video segment and the second video segment includes:
Generating a target video based on the first video clip, the second video clip, and the third video clip;
The target shooting object of the third video clip is the third shooting object.
3. The photographing method of claim 1, wherein,
The first input includes: a first sub-input and a second sub-input;
the determining, in response to the first input, a first photographic subject and a second photographic subject, comprising:
Determining the first shooting object in response to the first sub-input;
the second photographic subject is determined in response to the second sub-input.
4. The photographing method of claim 1, wherein before the first photographing object and the second photographing object are sequentially photographed according to a preset trajectory, further comprising:
In the case that a first object and a second object in a shooting preview interface meet preset conditions, the first object is determined to be a first shooting object, and the second object is determined to be a second shooting object.
5. The photographing method according to any one of claims 1 to 4, characterized in that,
After the first shooting object and the second shooting object are determined, the method further comprises the following steps:
receiving a second input from the user;
in response to the second input, the preset trajectory is determined.
6. The photographing method according to any one of claims 1 to 4, characterized in that,
After the first shooting object and the second shooting object are determined, the method further comprises the following steps:
receiving a third input from the user;
Responsive to the third input, image content update rates of the first video clip and the second video clip are determined.
7. The photographing method according to any one of claims 1 to 4, characterized in that,
After the first video clip and the second video clip are obtained, the method further comprises:
And shooting to obtain a fourth video segment, wherein the duty ratio of the image area where the second shooting object is located in the fourth video segment is gradually reduced, and the difference value between the final visual field range of the fourth video segment and the initial visual field range of the first video segment is smaller than a preset threshold value.
8. A photographing apparatus, comprising:
the receiving module is used for receiving a first input of a user to the shooting preview interface;
A determining module that determines a first photographic subject and a second photographic subject in response to the first input;
The shooting module is used for shooting the first shooting object and the second shooting object in sequence according to a preset track to obtain a first video clip and a second video clip, wherein after the image area where the first shooting object is located is amplified and displayed, the camera is controlled to rotate, the first shooting object gradually disappears in the shooting preview interface, and the second shooting object gradually enters the shooting preview interface;
The generation module is used for generating a target video based on the first video segment and the second video segment;
The first video segment is a process of converting the first shooting object into the second shooting object, and the target shooting object of the second video segment is the second shooting object.
9. An electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the shooting method of any one of claims 1 to 7.
10. A readable storage medium, wherein a program or instructions is stored on the readable storage medium, which when executed by a processor, implements the steps of the shooting method according to any one of claims 1 to 7.
CN202210180022.5A 2022-02-25 2022-02-25 Shooting method, shooting device, electronic equipment and readable storage medium Active CN114500852B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210180022.5A CN114500852B (en) 2022-02-25 2022-02-25 Shooting method, shooting device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210180022.5A CN114500852B (en) 2022-02-25 2022-02-25 Shooting method, shooting device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN114500852A CN114500852A (en) 2022-05-13
CN114500852B true CN114500852B (en) 2024-04-19

Family

ID=81483727

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210180022.5A Active CN114500852B (en) 2022-02-25 2022-02-25 Shooting method, shooting device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN114500852B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108616696A (en) * 2018-07-19 2018-10-02 北京微播视界科技有限公司 A kind of video capture method, apparatus, terminal device and storage medium
CN110072070A (en) * 2019-03-18 2019-07-30 华为技术有限公司 A kind of multichannel kinescope method and equipment
CN110771150A (en) * 2018-09-29 2020-02-07 深圳市大疆创新科技有限公司 Video processing method, video processing device, shooting system and computer readable storage medium
CN112135046A (en) * 2020-09-23 2020-12-25 维沃移动通信有限公司 Video shooting method, video shooting device and electronic equipment
CN112738401A (en) * 2020-12-30 2021-04-30 维沃移动通信(杭州)有限公司 Zooming method and device and electronic equipment
WO2021244295A1 (en) * 2020-05-30 2021-12-09 华为技术有限公司 Method and device for recording video
CN113923350A (en) * 2021-09-03 2022-01-11 维沃移动通信(杭州)有限公司 Video shooting method and device, electronic equipment and readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108616696A (en) * 2018-07-19 2018-10-02 北京微播视界科技有限公司 A kind of video capture method, apparatus, terminal device and storage medium
CN110771150A (en) * 2018-09-29 2020-02-07 深圳市大疆创新科技有限公司 Video processing method, video processing device, shooting system and computer readable storage medium
CN110072070A (en) * 2019-03-18 2019-07-30 华为技术有限公司 A kind of multichannel kinescope method and equipment
WO2021244295A1 (en) * 2020-05-30 2021-12-09 华为技术有限公司 Method and device for recording video
CN112135046A (en) * 2020-09-23 2020-12-25 维沃移动通信有限公司 Video shooting method, video shooting device and electronic equipment
CN112738401A (en) * 2020-12-30 2021-04-30 维沃移动通信(杭州)有限公司 Zooming method and device and electronic equipment
CN113923350A (en) * 2021-09-03 2022-01-11 维沃移动通信(杭州)有限公司 Video shooting method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN114500852A (en) 2022-05-13

Similar Documents

Publication Publication Date Title
CN112954210B (en) Photographing method and device, electronic equipment and medium
CN112714253B (en) Video recording method and device, electronic equipment and readable storage medium
KR20140086491A (en) photographing device for making a composion image and method thereof
CN111669507A (en) Photographing method and device and electronic equipment
KR20230160397A (en) Shooting interface display methods, devices, electronic devices and media
CN112637507B (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN112532808A (en) Image processing method and device and electronic equipment
CN111669495B (en) Photographing method, photographing device and electronic equipment
CN113873151A (en) Video recording method and device and electronic equipment
CN113905175A (en) Video generation method and device, electronic equipment and readable storage medium
CN113923350A (en) Video shooting method and device, electronic equipment and readable storage medium
CN114422692A (en) Video recording method and device and electronic equipment
JP2024504159A (en) Photography methods, equipment, electronic equipment and readable storage media
CN112784081A (en) Image display method and device and electronic equipment
CN112437232A (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN111866379A (en) Image processing method, image processing device, electronic equipment and storage medium
CN114125297B (en) Video shooting method, device, electronic equipment and storage medium
CN114500852B (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN112367467B (en) Display control method, display control device, electronic apparatus, and medium
CN114025100A (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN114245017A (en) Shooting method and device and electronic equipment
CN112954197A (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN114520874B (en) Video processing method and device and electronic equipment
CN114390205B (en) Shooting method and device and electronic equipment
CN112672059B (en) Shooting method and shooting device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant