CN112738402B - Shooting method, shooting device, electronic equipment and medium - Google Patents

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

Info

Publication number
CN112738402B
CN112738402B CN202011603688.4A CN202011603688A CN112738402B CN 112738402 B CN112738402 B CN 112738402B CN 202011603688 A CN202011603688 A CN 202011603688A CN 112738402 B CN112738402 B CN 112738402B
Authority
CN
China
Prior art keywords
camera
preview window
shooting preview
control
input
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
CN202011603688.4A
Other languages
Chinese (zh)
Other versions
CN112738402A (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 Hangzhou Co Ltd
Original Assignee
Vivo Mobile Communication Hangzhou 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 Hangzhou Co Ltd filed Critical Vivo Mobile Communication Hangzhou Co Ltd
Priority to CN202011603688.4A priority Critical patent/CN112738402B/en
Publication of CN112738402A publication Critical patent/CN112738402A/en
Application granted granted Critical
Publication of CN112738402B publication Critical patent/CN112738402B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • 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
    • 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/633Control of cameras or camera modules by using electronic viewfinders for displaying additional information relating to control or operation of the camera

Abstract

The application discloses a shooting method, a shooting device, electronic equipment and a shooting medium, and belongs to the technical field of photography. The method comprises the following steps: displaying a main shooting preview window and an auxiliary shooting preview window on a shooting preview interface, wherein the main shooting preview window is used for displaying a preview image acquired by a first camera, and the auxiliary shooting window is used for displaying a preview image acquired by a second camera; in the process of shooting the target image, controlling the auxiliary shooting preview window to move according to the target track; outputting a target image when the target image shooting is finished; and in the target image, the target object in the auxiliary shooting preview window moves according to the target track. This allows a flexible adjustment of the dynamic effect of the target image.

Description

Shooting method, shooting device, electronic equipment and medium
Technical Field
The application belongs to the technical field of camera shooting, and particularly relates to a shooting method, a shooting device, electronic equipment and a shooting medium.
Background
At present, in the process of shooting a dynamic image, if the dynamic effect of the dynamic image obtained by shooting cannot meet the requirements of a user, post-processing is required so as to obtain the dynamic image meeting the requirements of the user; however, the post-processing of the moving picture is complicated and generally requires a professional image processing worker to complete the post-processing of the moving picture.
Therefore, in the related art, the dynamic effect adjustment of the dynamic image has the problems of great operation difficulty and complexity.
Content of application
An object of the embodiments of the present application is to provide a shooting method, an apparatus, an electronic device, and a medium, which can solve the problem in the related art that the operation difficulty is large and cumbersome in the dynamic effect adjustment of a dynamic image.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a shooting method, including:
displaying a main shooting preview window and an auxiliary shooting preview window on a shooting preview interface, wherein the main shooting preview window is used for displaying a preview image acquired by a first camera, and the auxiliary shooting window is used for displaying a preview image acquired by a second camera;
in the process of shooting the target image, controlling the auxiliary shooting preview window to move according to the target track;
outputting the target image when the target image shooting is finished;
and in the target image, the target object in the auxiliary shooting preview window moves according to the target track.
In a second aspect, an embodiment of the present application provides a shooting apparatus, including:
the display module is used for displaying a main shooting preview window and an auxiliary shooting preview window on a shooting preview interface, wherein the main shooting preview window is used for displaying a preview image acquired by a first camera, and the auxiliary shooting window is used for displaying a preview image acquired by a second camera;
the control module is used for controlling the auxiliary shooting preview window to move according to a target track in the process of shooting a target image;
the output module is used for outputting the target image under the condition that the target image shooting is finished;
and in the target image, the target object in the auxiliary shooting preview window moves according to the target track.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, in the process of shooting the target image, the auxiliary shooting preview window is controlled to move according to the target track, so that the target object in the output target image has a dynamic effect of moving according to the target track, and the target track can be customized by a user, so that the flexible adjustment of the dynamic effect of the target image is realized, the later dynamic effect processing is not needed, and the shooting process of the target image can be simplified.
Drawings
Fig. 1 is a flowchart of a shooting method provided in an embodiment of the present application;
FIG. 2 is one of schematic interface diagrams of a shooting preview interface provided in an embodiment of the present application;
fig. 3 is a second interface schematic diagram of a shooting preview interface provided in the embodiment of the present application;
FIG. 4a is one of the schematic operational diagrams provided by the embodiments of the present application;
FIG. 4b is a second schematic diagram of the operation provided by the embodiment of the present application;
fig. 5 is a third interface schematic diagram of a shooting preview interface provided in the embodiment of the present application;
FIG. 6a is a third exemplary diagram of the operation provided by the embodiment of the present application;
FIG. 6b is a fourth exemplary operational diagram provided in accordance with an embodiment of the present application;
FIG. 7 is a fourth schematic interface diagram of a preview interface provided in the embodiment of the present application;
fig. 8 is a structural diagram of a photographing device provided in an embodiment of the present application;
fig. 9 is one of the structural diagrams of an electronic device provided in the embodiment of the present application;
fig. 10 is a second structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application 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 is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The shooting method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings by specific embodiments and application scenarios thereof.
Referring to fig. 1, fig. 1 is a flowchart of a shooting method provided in an embodiment of the present application, where the shooting method can be applied to an electronic device including at least two cameras; as shown in fig. 1, the photographing method includes the steps of:
step 101, displaying a main shooting preview window and an auxiliary shooting preview window on a shooting preview interface.
In the step, the main shooting preview window is used for displaying the preview image collected by the first camera, and the auxiliary shooting preview window is used for displaying the preview image collected by the second camera.
The first camera and the second camera may be two cameras among at least two cameras of the electronic device. For example, the first camera may be a front camera of the electronic device, and the second camera may be a rear camera of the electronic device; alternatively, the first camera may be a rear camera of the electronic device, and the second camera may be a front camera of the electronic device.
Optionally, a camera switching control may be displayed on the shooting preview interface, where the camera switching control is used to select a first camera and a second camera from at least two cameras of the electronic device.
In addition, the main photographing preview window may be a preview window having a larger display area on the photographing preview interface, and the sub photographing preview window may be a preview window having a smaller display area on the photographing preview interface, that is, the display area of the main photographing preview window is larger than that of the sub photographing preview window.
And 102, controlling the auxiliary shooting preview window to move according to a target track in the process of shooting the target image.
In the step, the auxiliary shooting preview window can be controlled to move in a mode that a user drags the auxiliary shooting preview window through a touch device such as a finger or a touch pen in the process of shooting the target image; or a target track may be selected from pre-stored moving tracks, so that the auxiliary shooting preview window moves according to the selected target track, for example, a dancing track, a circular track, a linear track, or the like is pre-stored.
For example, in the process of capturing the target image, an input of a long press operation or a double-click operation of the user on the capture preview interface may be received, and the track list may be displayed in a first preset area of the capture preview interface by responding to the input of the user, so that the user may select the target track from the track list. The track list includes preset and stored movement tracks, such as a flying track, a circular track, a linear track, and the like.
And under the condition that the selection input of the user finger to the target track in the track list is received, displaying an animation of the target object in the auxiliary shooting preview window moving according to the target track on the shooting preview interface. And displaying the dynamic effect of the target object in the auxiliary shooting preview window moving according to the target track through the floating window. Therefore, the dynamic effect corresponding to the target track is visualized, so that a user can conveniently select the target track which can meet the user preference or requirement from the track list, and the shooting interest is improved.
The floating window can be other preview areas in the shooting preview interface except for the main shooting preview window and the auxiliary shooting preview window, and can also be a background area in the main shooting preview window except for a shooting object collected by the first camera.
And 103, outputting the target image when the target image shooting is finished.
In the step, in the target image, the target object in the auxiliary shooting preview window moves according to the target track, namely the target object in the target image has a dynamic effect of moving according to the target track, and the user can define the target track by himself, so that the flexible adjustment of the dynamic effect of the target image is realized, the later dynamic effect processing is not needed, and the shooting process of the target image can be simplified.
For example, a user wants to capture a dynamic image of a butterfly dancing around a kitten, but it is difficult to capture a dynamic image of a butterfly dancing around a kitten because it is difficult to control the flight trajectory of the butterfly. However, by adopting the shooting mode disclosed by the application, the preview image of the kitten can be collected through the first camera, and the collected preview image of the kitten is displayed on the main shooting preview window; acquiring a preview image of the butterfly through a second camera, and displaying the acquired preview image of the butterfly in an auxiliary shooting preview window; and then controlling the auxiliary shooting preview window to move according to the moving track of the butterfly flying around the kitten to generate a dynamic image of the butterfly flying around the kitten, namely, the moving track of the auxiliary shooting preview window is controlled to obtain target images with different dynamic effects, so that the flexible adjustment of the dynamic effect of the target images is realized.
Specifically, the camera application can be started first, and a shooting preview interface is entered; and then, receiving the selection operation of the user on the dynamic photo mode displayed on the shooting preview interface, responding to the selection operation, and entering the dynamic photo preview mode.
As shown in fig. 2, a main shooting preview window 21 and a sub shooting preview window 22 are displayed in a preview interface of the dynamic photo preview mode; the auxiliary shooting preview window 22 may preview a square frame or a round frame, and the user may also set the shape of the auxiliary shooting preview window 22 in a user-defined manner.
In one embodiment, the main photographing preview window 21 may be a preview area other than the sub photographing preview window 22 in the photographing preview interface.
As shown in fig. 2, a preview image of a "kitten" captured by a first camera may be displayed in the main shooting preview window 21, and a preview image of a "butterfly" captured by a second camera may be displayed in the sub shooting preview window 22.
Further, the auxiliary shooting preview window 22 can be controlled to move according to the moving track of the butterfly flying around the kitten, and finally a dynamic image of the butterfly flying around the kitten is obtained.
The following description will be made of a process of outputting a target image, taking a 3-second moving image as an example:
after the first camera, the second camera and the moving track are determined, by clicking the shooting control, the first camera captures all image frames (for example, image frames of a "kitten") in the front 1.5 seconds of the shutter and all image frames in the back 1.5 seconds; the second camera will also capture all image frames 1.5 seconds before the shutter (for example, image frames of "butterfly") and all image frames 1.5 seconds after the shutter; then, according to the position and the size of a target object (such as a butterfly) in an auxiliary shooting preview window with different time of a moving track, pictures of two cameras at the same time are respectively overlapped together until all frames within 3 seconds are overlapped, a specific dynamic image with a sliding effect combined by at least two camera pictures can be generated, and the dynamic image of the butterfly flying around the cat can be obtained.
Optionally, the target trajectory includes a preset trajectory or an input trajectory of a user;
when the target track includes an input track of a user, before controlling the auxiliary shooting preview window to move according to the target track, the method further includes:
receiving a first input of a user to the shooting preview interface;
the controlling the auxiliary shooting preview window to move according to the target track comprises the following steps:
and responding to the first input, and controlling the auxiliary shooting preview window to move according to the input track of the first input.
In this embodiment, the first input may be a sliding operation applied to the shooting preview interface, and is used to determine a movement trajectory of the auxiliary shooting preview window. Therefore, the received first input is received, and the moving track corresponding to the first input is determined as the moving track of the auxiliary shooting preview window, so that the user-defined setting of the moving track of the auxiliary shooting preview window can be realized, the flexibility of the moving track is effectively improved, and the flexibility of the dynamic effect adjustment of the target image is further improved.
As shown in fig. 3, when the main shooting preview window 21 and the sub shooting preview window 22 are displayed on the shooting preview interface, and the preview image of the "kitten" is displayed on the main shooting preview window 21 and the preview image of the "butterfly" is displayed on the sub shooting preview window 22, a single track 24 can be slid by a finger 23 on the shooting preview interface; so that the sub photographing preview window 22 is controlled to move according to the trajectory 24 during photographing of the target image, and the target object (i.e., "butterfly") in the sub photographing preview window 22 has a dynamic effect of moving according to the trajectory 24 in the finally output target image.
The track 24 may be matched with the duration of the target image based on the duration of the target image, that is, the duration of the motion effect of the target image, for example, when the duration of the motion effect of the dynamic image is 3 seconds, the moving time of the auxiliary shooting preview window 22 is set to 3 seconds, the moving distance is the length of the track 24, and then based on the distance and the time, the moving speed of the auxiliary shooting preview window 22 may be determined, that is, the moving speed of the target object in the auxiliary shooting preview window 22 in the target image may be determined.
Optionally, the shooting preview interface includes a camera switching control;
before capturing the target image, the method further comprises:
and determining a first camera associated with the main shooting preview window and a second camera associated with the auxiliary shooting preview window based on the camera switching control.
In the embodiment, after entering the preview mode of the dynamic picture, the camera switching control can be displayed on the shooting preview interface, so that the switching requirement of a user on the camera for shooting the dynamic picture is met, and the flexible selection of the camera is realized. Moreover, the change of the dynamic effect of the target image can be realized by switching the camera shooting, and the flexibility of the adjustment of the dynamic effect of the target image is further improved.
As shown in fig. 2, a camera switching control 25 may be further displayed on the shooting preview interface, and the camera switching control 25 may determine a first camera associated with the main shooting preview window and a second camera associated with the auxiliary shooting preview window.
For example, the preview image of the cat is acquired by a rear camera, and the preview image of the butterfly is acquired by a front camera; under the condition that the first camera is switched to be a rear camera and the second camera is switched to be a front camera, the finally output target image has the dynamic effect that a butterfly flies around a kitten; if the first camera is switched to the front camera and the second camera is switched to the rear camera by switching the control, the finally output target image has a dynamic effect that the kitten runs around the butterfly, so that the flexibility of adjusting the dynamic effect of the target image is further improved.
Optionally, the camera switching control includes a first sub-control and a second sub-control, the first sub-control includes a first indication identifier and at least one camera identifier, and the second sub-control includes a second indication identifier and at least one camera identifier;
the determining, based on the camera switching control, a first camera associated with the main shooting preview window and a second camera associated with the auxiliary shooting preview window includes:
determining a camera associated with the camera identifier pointed by the first indication identifier as a first camera associated with the main shooting preview window;
and determining the camera associated with the camera identifier pointed by the second indication identifier as the second camera associated with the auxiliary shooting preview window.
As shown in fig. 4a and 4b, the camera switching control is an annular camera switching control and includes an inner ring 41 and an outer ring 42, where a first sub-control may be the inner ring 41 of the annular camera switching control, and a second sub-control may be the outer ring 42 of the annular camera switching control; the first indicator and the second indicator may be pointers, specifically, the first indicator may be a pointer located at the inner ring 41, and the second indicator may be a pointer located at the outer ring 42. In addition, at least one camera mark can include a front camera, a rear camera 1, a rear camera 2 and a rear camera 3, and the first sub-control is used for selecting one camera from the front camera, the rear camera 1, the rear camera 2 and the rear camera 3 as the first camera, and the second sub-control is used for selecting one camera from the front camera, the rear camera 1, the rear camera 2 and the rear camera 3 as the second camera.
Further optionally, before determining, based on the camera switching control, that the first camera associated with the main shooting preview window and the second camera associated with the auxiliary shooting preview window are located, the method further includes:
under the condition that second input of the user to the first sub-control is received, responding to the second input, and updating the camera identification pointed by the first indication identification;
and under the condition that third input of the user to the second sub-control is received, responding to the third input, and updating the camera identification pointed by the second indication identification.
In this embodiment, flexible selection of the first camera may be achieved through the first sub-control, and flexible selection of the second camera may be achieved through the second sub-control.
As shown in fig. 4a and 4b, when the first pointer and the second pointer point to the front camera, it is determined that the first camera and the second camera are both front cameras, that is, the preview images displayed in the main shooting preview window and the auxiliary shooting preview window are both images acquired by the front cameras; as shown in fig. 4a, if the rear camera 1 needs to be set as a second camera, the outer ring 42 can be rotated clockwise by 90 °; if the rear camera 1 is to be set as the first camera, the inner ring 41 can be rotated 90 ° clockwise, as shown in fig. 4 b.
Optionally, the camera switching control includes a first control area and a second control area, the first control area includes a third indication identifier and at least one camera identifier, and the second control area includes a fourth indication identifier and at least one camera identifier;
the determining, based on the camera switching control, a first camera associated with the main shooting preview window and a second camera associated with the auxiliary shooting preview window includes:
determining the camera associated with the camera identifier pointed by the third indication identifier as the first camera associated with the main shooting preview window;
and determining the camera associated with the camera identifier pointed by the fourth indication identifier as the second camera associated with the auxiliary shooting preview window.
In this embodiment, the first camera can be flexibly selected through the first control area, and the second camera can be flexibly selected through the second control area.
Moreover, compared with the camera switching control in fig. 4a and 4b, the display mode of the camera switching control in this embodiment is simpler, and the display area occupied by the camera switching control on the shooting preview interface is also smaller.
As shown in fig. 5, the camera switching control is a circular switching control.
As shown in fig. 6a and 6b, the inner side of the circular switching control is a first control area 61, and the first control area 61 includes a third indicator and at least one camera mark, where the third indicator is a third pointer, and the at least one camera mark includes a front camera, a rear camera 1, a rear camera 2, and a rear camera 3; correspondingly, the outside of the circular switching control is a second control area 62, and the second control area 62 includes a fourth indicator and at least one camera mark, where the fourth indicator is a fourth pointer, and the at least one camera mark includes a front camera, a rear camera 1, a rear camera 2, and a rear camera 3.
Further optionally, before determining, based on the camera switching control, that the first camera associated with the main shooting preview window and the second camera associated with the auxiliary shooting preview window are located, the method further includes:
under the condition that a fourth input of the user to the first direction of the camera switching control is received, responding to the fourth input, and updating the camera identification pointed by the third indication identification;
and under the condition that a fifth input of the user to the second direction of the camera switching control is received, responding to the fifth input, and updating the camera identification pointed by the fourth indication identification.
As shown in fig. 6a, if the rear camera 1 needs to be set as a second camera, the circular switching control can be controlled to rotate clockwise by 90 °; if the rear camera 3 is set as the first camera, the circular switching control can be controlled to rotate 90 ° counterclockwise, as shown in fig. 6 b.
The display form and the switching mode of the camera switching control include but are not limited to the above modes, and the camera switching control and the shooting preview interface can be distinguished and displayed to highlight the camera switching control. For example, when the background color of the shooting preview interface is white, the display color of the camera switching control can be adjusted to be red or purple, so that the camera switching control is highlighted, a user can quickly locate the camera switching control, and the time for the user to find the camera switching control is saved.
Optionally, the camera switching control includes the auxiliary shooting preview window.
In the embodiment, the camera switching control is multiplexed with the auxiliary shooting preview window, so that the camera switching function can be realized even if the camera switching control is switched, the preview window for displaying the preview image acquired by the second camera can be provided, and the display content of the shooting preview interface can be effectively simplified.
As shown in fig. 7, the switching control 25 displayed on the shooting preview interface not only can implement the camera switching function, but also can provide a preview window for displaying the preview image of the butterfly captured by the second camera
In the process of switching the camera, the switching manner of the camera switching control in this embodiment is similar to that of fig. 6a and 6b, and is not described herein again.
According to the shooting method, a main shooting preview window and an auxiliary shooting preview window are displayed on a shooting preview interface, the main shooting preview window is used for displaying preview images acquired by a first camera, and the auxiliary shooting window is used for displaying preview images acquired by a second camera; in the process of shooting the target image, controlling the auxiliary shooting preview window to move according to the target track; outputting the target image when the target image shooting is finished; and in the target image, the target object in the auxiliary shooting preview window moves according to the target track. This allows a flexible adjustment of the dynamic effect of the target image.
It should be noted that, in the shooting method provided in the embodiment of the present application, the execution subject may be a shooting device, or alternatively, a control module in the shooting device for executing the loading shooting method. In the embodiment of the present application, a shooting device executes a loading shooting method as an example, and the shooting method provided in the embodiment of the present application is described.
Referring to fig. 8, fig. 8 is a structural diagram of a photographing apparatus according to an embodiment of the present application; as shown in fig. 8, the photographing apparatus 800 includes: a display module 801, a control module 802, and an output module 803, wherein:
a display module 801, configured to display a main shooting preview window and an auxiliary shooting preview window on a shooting preview interface, where the main shooting preview window is used to display a preview image acquired by a first camera, and the auxiliary shooting window is used to display a preview image acquired by a second camera;
the control module 802 is configured to control the auxiliary shooting preview window to move according to a target track in a process of shooting a target image;
an output module 803, configured to output the target image when the target image capturing is finished;
and in the target image, the target object in the auxiliary shooting preview window moves according to the target track.
Optionally, the target trajectory includes a preset trajectory or an input trajectory of a user;
the photographing device 800 further includes:
the receiving module is used for receiving first input of a user to the shooting preview interface;
the control module 802 is specifically configured to control the auxiliary shooting preview window to move according to the input track of the first input in response to the first input.
Optionally, the shooting preview interface includes a camera switching control;
the photographing apparatus 800 further includes:
and the determining module is used for determining a first camera related to the main shooting preview window and a second camera related to the auxiliary shooting preview window based on the camera switching control.
Optionally, the camera switching control includes a first sub-control and a second sub-control, the first sub-control includes a first indication identifier and at least one camera identifier, and the second sub-control includes a second indication identifier and at least one camera identifier;
the determining module comprises:
a first determining unit, configured to determine a camera associated with the camera identifier pointed by the first indication identifier as a first camera associated with the main shooting preview window;
and the second determining unit is used for determining the camera associated with the camera identifier pointed by the second indication identifier as the second camera associated with the auxiliary shooting preview window.
Optionally, the photographing apparatus 800 further includes:
the first updating module is used for responding to a second input of the user to the first sub-control under the condition that the second input is received, and updating the camera identification pointed by the first indication identification;
and the second updating module is used for responding to a third input by a user under the condition of receiving the third input of the second sub-control, and updating the camera identification pointed by the second indication identification.
Optionally, the camera switching control includes a first control area and a second control area, the first control area includes a third indication identifier and at least one camera identifier, and the second control area includes a fourth indication identifier and at least one camera identifier;
the determining module comprises:
a third determining unit, configured to determine a camera associated with the camera identifier pointed by the third indication identifier as a first camera associated with the main shooting preview window;
and the fourth determining unit is used for determining the camera associated with the camera identifier pointed by the fourth indication identifier as the second camera associated with the auxiliary shooting preview window.
Optionally, the photographing apparatus 800 further includes:
the third updating module is used for responding to a fourth input when the fourth input of the user to the first direction of the camera switching control is received, and updating the camera identification pointed by the third indication identification;
and the fourth updating module is used for responding to a fifth input when the fifth input of the user to the second direction of the camera switching control is received, and updating the camera identification pointed by the fourth indication identification.
Wherein the first direction and the second direction are different.
Optionally, the camera switching control includes the auxiliary shooting preview window.
The shooting device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The photographing apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The shooting device provided in the embodiment of the present application can implement each process implemented by the electronic device in the method embodiment of fig. 1, and is not described here again to avoid repetition.
Optionally, as shown in fig. 9, an electronic device 900 is further provided in this embodiment of the present application, and includes a processor 901, a memory 902, and a program or an instruction stored in the memory 902 and executable on the processor 901, where the program or the instruction is executed by the processor 901 to implement each process of the foregoing shooting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Referring to fig. 10, fig. 10 is a block diagram of an electronic device according to an embodiment of the present application, and as shown in fig. 10, the electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 10 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The display unit 1006 is configured to display a main shooting preview window and an auxiliary shooting preview window on a shooting preview interface, where the main shooting preview window is used to display a preview image acquired by a first camera, and the auxiliary shooting window is used to display a preview image acquired by a second camera;
the processor 1010 is configured to control the auxiliary shooting preview window to move according to a target track in a process of shooting a target image;
a processor 1010 configured to output the target image when the target image capturing is finished;
and in the target image, the target object in the auxiliary shooting preview window moves according to the target track.
Optionally, the target trajectory includes a preset trajectory or an input trajectory of a user;
a user input unit 1007, configured to receive a first input to the shooting preview interface by a user;
and a processor 1010, configured to control, in response to the first input, the auxiliary shooting preview window to move according to an input trajectory of the first input.
Optionally, the shooting preview interface includes a camera switching control;
and the processor 1010 is configured to determine, based on the camera switching control, a first camera associated with the main shooting preview window and a second camera associated with the auxiliary shooting preview window.
Optionally, the camera switching control includes a first sub-control and a second sub-control, the first sub-control includes a first indication identifier and at least one camera identifier, and the second sub-control includes a second indication identifier and at least one camera identifier;
a processor 1010, configured to determine a camera associated with the camera identifier pointed by the first indication identifier as a first camera associated with the main shooting preview window;
and the processor 1010 is configured to determine a camera associated with the camera identifier pointed by the second indication identifier as a second camera associated with the auxiliary shooting preview window.
Optionally, the user input unit 1007 is configured to, in a case that a second input to the first sub-control by the user is received, update the camera identifier pointed by the first indication identifier in response to the second input;
a user input unit 1007, configured to, when a third input to the second sub-control by the user is received, update the camera identifier pointed by the second indication identifier in response to the third input.
Optionally, the camera switching control includes a first control area and a second control area, the first control area includes a third indication identifier and at least one camera identifier, and the second control area includes a fourth indication identifier and at least one camera identifier;
a processor 1010, configured to determine a camera associated with the camera identifier pointed by the third indication identifier as a first camera associated with the main shooting preview window;
and the processor 1010 is configured to determine the camera associated with the camera identifier pointed by the fourth indication identifier as the second camera associated with the auxiliary shooting preview window.
Optionally, the user input unit 1007 is configured to, when a fourth input of the first direction of the camera switching control by the user is received, respond to the fourth input, and update the camera identifier pointed by the third indication identifier;
a user input unit 1007, configured to, when a fifth input in the second direction to the camera switching control by the user is received, update the camera identifier pointed by the fourth indication identifier in response to the fifth input.
Wherein the first direction and the second direction are different.
Optionally, the camera switching control includes the auxiliary shooting preview window.
It should be understood that in the embodiment of the present application, the input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, and the Graphics Processing Unit 10041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 may include two parts, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 1009 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. Processor 1010 may integrate an application processor that handles primarily operating systems, user interfaces, applications, etc. and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above shooting method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above shooting method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (18)

1. A photographing method, characterized by comprising:
displaying a main shooting preview window and an auxiliary shooting preview window on a shooting preview interface, wherein the main shooting preview window is used for displaying a preview image acquired by a first camera, and the auxiliary shooting window is used for displaying a preview image acquired by a second camera;
in the process of shooting the target image, controlling the auxiliary shooting preview window to move according to the target track;
outputting the target image when the target image shooting is finished;
and in the target image, the target object in the auxiliary shooting preview window moves according to the target track.
2. The method of claim 1, wherein the target trajectory comprises a preset trajectory or an input trajectory of a user;
when the target track includes an input track of a user, before controlling the auxiliary shooting preview window to move according to the target track, the method further includes:
receiving a first input of a user to the shooting preview interface;
the controlling the auxiliary shooting preview window to move according to the target track comprises the following steps:
and responding to the first input, and controlling the auxiliary shooting preview window to move according to the input track of the first input.
3. The method of claim 1, wherein the capture preview interface comprises a camera toggle control;
before capturing the target image, the method further comprises:
and determining a first camera associated with the main shooting preview window and a second camera associated with the auxiliary shooting preview window based on the camera switching control.
4. The method of claim 3, wherein the camera toggle control comprises a first sub-control and a second sub-control, wherein the first sub-control comprises a first indicator and at least one camera indicator, and wherein the second sub-control comprises a second indicator and at least one camera indicator;
the determining, based on the camera switching control, a first camera associated with the main shooting preview window and a second camera associated with the auxiliary shooting preview window includes:
determining a camera associated with the camera identifier pointed by the first indication identifier as a first camera associated with the main shooting preview window;
and determining the camera associated with the camera identifier pointed by the second indication identifier as the second camera associated with the auxiliary shooting preview window.
5. The method of claim 4, wherein determining that the first camera associated with the primary capture preview window and the second camera associated with the secondary capture preview window are prior to determining based on the camera toggle control further comprises:
under the condition that second input of the user to the first sub-control is received, responding to the second input, and updating the camera identification pointed by the first indication identification;
and under the condition that third input of the user to the second sub-control is received, responding to the third input, and updating the camera identification pointed by the second indication identification.
6. The method of claim 3, wherein the camera toggle control comprises a first control region and a second control region, wherein the first control region comprises a third indicator and at least one camera indicator, and wherein the second control region comprises a fourth indicator and at least one camera indicator;
the determining, based on the camera switching control, a first camera associated with the main shooting preview window and a second camera associated with the auxiliary shooting preview window includes:
determining the camera associated with the camera identifier pointed by the third indication identifier as the first camera associated with the main shooting preview window;
and determining the camera associated with the camera identifier pointed by the fourth indication identifier as the second camera associated with the auxiliary shooting preview window.
7. The method of claim 6, wherein determining that a first camera associated with the primary capture preview window and a second camera associated with the secondary capture preview window are prior to determining based on the camera toggle control further comprises:
under the condition that a fourth input of the user to the first direction of the camera switching control is received, responding to the fourth input, and updating the camera identification pointed by the third indication identification;
under the condition that a fifth input of a user to the second direction of the camera switching control is received, responding to the fifth input, and updating the camera identification pointed by the fourth indication identification;
wherein the first direction and the second direction are different.
8. The method of claim 6, wherein the camera toggle control comprises the secondary capture preview window.
9. A camera, comprising:
the display module is used for displaying a main shooting preview window and an auxiliary shooting preview window on a shooting preview interface, wherein the main shooting preview window is used for displaying a preview image acquired by a first camera, and the auxiliary shooting window is used for displaying a preview image acquired by a second camera;
the control module is used for controlling the auxiliary shooting preview window to move according to a target track in the process of shooting a target image;
the output module is used for outputting the target image under the condition that the target image shooting is finished;
and in the target image, the target object in the auxiliary shooting preview window moves according to the target track.
10. The photographing apparatus according to claim 9, wherein the target trajectory includes a preset trajectory or an input trajectory of a user;
the photographing apparatus further includes:
the receiving module is used for receiving first input of a user to the shooting preview interface;
the control module is specifically configured to control the auxiliary shooting preview window to move according to the input track of the first input in response to the first input.
11. The camera of claim 9, wherein the capture preview interface comprises a camera toggle control;
the photographing apparatus further includes:
and the determining module is used for determining a first camera related to the main shooting preview window and a second camera related to the auxiliary shooting preview window based on the camera switching control.
12. The shooting device of claim 11, wherein the camera switching control comprises a first sub-control and a second sub-control, the first sub-control comprises a first indication identifier and at least one camera identifier, and the second sub-control comprises a second indication identifier two and at least one camera identifier;
the determining module comprises:
a first determining unit, configured to determine a camera associated with the camera identifier pointed by the first indication identifier as a first camera associated with the main shooting preview window;
and the second determining unit is used for determining the camera associated with the camera identifier pointed by the second indication identifier as the second camera associated with the auxiliary shooting preview window.
13. The camera of claim 12, further comprising:
the first updating module is used for responding to a second input of the user to the first sub-control under the condition that the second input is received, and updating the camera identification pointed by the first indication identification;
and the second updating module is used for responding to a third input by a user under the condition of receiving the third input of the second sub-control, and updating the camera identification pointed by the second indication identification.
14. The camera of claim 11, wherein the camera toggle control comprises a first control area and a second control area, wherein the first control area comprises a third indicator and at least one camera indicator, and wherein the second control area comprises a fourth indicator and at least one camera indicator;
the determining module comprises:
a third determining unit, configured to determine a camera associated with the camera identifier pointed by the third indication identifier as a first camera associated with the main shooting preview window;
and the fourth determining unit is used for determining the camera associated with the camera identifier pointed by the fourth indication identifier as the second camera associated with the auxiliary shooting preview window.
15. The camera of claim 14, further comprising:
the third updating module is used for responding to a fourth input when the fourth input of the user to the first direction of the camera switching control is received, and updating the camera identification pointed by the third indication identification;
the fourth updating module is used for responding to a fifth input when the fifth input of the user to the second direction of the camera switching control is received, and updating the camera identification pointed by the fourth indication identification;
wherein the first direction and the second direction are different.
16. The camera of claim 14, wherein the camera toggle control comprises the secondary capture preview window.
17. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the photographing method according to any one of claims 1 to 8.
18. A readable storage medium, characterized in that the readable storage medium stores thereon a program or instructions which, when executed by a processor, implement the steps of the photographing method according to any one of claims 1 to 8.
CN202011603688.4A 2020-12-30 2020-12-30 Shooting method, shooting device, electronic equipment and medium Active CN112738402B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011603688.4A CN112738402B (en) 2020-12-30 2020-12-30 Shooting method, shooting device, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011603688.4A CN112738402B (en) 2020-12-30 2020-12-30 Shooting method, shooting device, electronic equipment and medium

Publications (2)

Publication Number Publication Date
CN112738402A CN112738402A (en) 2021-04-30
CN112738402B true CN112738402B (en) 2022-03-15

Family

ID=75611695

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011603688.4A Active CN112738402B (en) 2020-12-30 2020-12-30 Shooting method, shooting device, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN112738402B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113286085B (en) * 2021-05-24 2023-05-26 维沃移动通信有限公司 Display control method and device and electronic equipment
CN113873151A (en) * 2021-09-18 2021-12-31 维沃移动通信有限公司 Video recording method and device and electronic equipment
CN113824886A (en) * 2021-10-29 2021-12-21 维沃移动通信有限公司 Shooting method, shooting device, electronic equipment and readable storage medium
CN114339029B (en) * 2021-11-23 2024-04-23 维沃移动通信有限公司 Shooting method and device and electronic equipment
CN114594883A (en) * 2022-02-25 2022-06-07 北京达佳互联信息技术有限公司 Shooting method, shooting device, shooting equipment and storage medium

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108416825B (en) * 2017-07-25 2021-09-28 平安科技(深圳)有限公司 Dynamic graph generation device, method and computer readable storage medium
CN107395969B (en) * 2017-07-26 2019-12-03 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN108234891B (en) * 2018-04-04 2019-11-05 维沃移动通信有限公司 A kind of photographic method and mobile terminal
CN108965611B (en) * 2018-10-19 2021-06-25 北京小米移动软件有限公司 Shooting interface switching method, device, equipment and storage medium
CN109547697B (en) * 2018-12-18 2020-10-09 维沃移动通信有限公司 Dynamic image shooting method and terminal equipment
CN112954219A (en) * 2019-03-18 2021-06-11 荣耀终端有限公司 Multi-channel video recording method and equipment
CN110505400B (en) * 2019-08-16 2021-09-07 维沃移动通信有限公司 Preview image display adjustment method and terminal
CN111083371A (en) * 2019-12-27 2020-04-28 维沃移动通信有限公司 Shooting method and electronic equipment
CN111107271B (en) * 2019-12-31 2022-02-08 维沃移动通信有限公司 Shooting method and electronic equipment
CN112153283B (en) * 2020-09-22 2022-08-12 维沃移动通信有限公司 Shooting method and device and electronic equipment

Also Published As

Publication number Publication date
CN112738402A (en) 2021-04-30

Similar Documents

Publication Publication Date Title
CN112738402B (en) Shooting method, shooting device, electronic equipment and medium
CN112135046B (en) Video shooting method, video shooting device and electronic equipment
US11770497B2 (en) Method and device for processing video, and storage medium
CN113093968A (en) Shooting interface display method and device, electronic equipment and medium
CN112954214B (en) Shooting method, shooting device, electronic equipment and storage medium
CN113794829B (en) Shooting method and device and electronic equipment
CN112954210A (en) Photographing method and device, electronic equipment and medium
CN112911147B (en) Display control method, display control device and electronic equipment
CN112492201B (en) Photographing method and device and electronic equipment
CN112492212A (en) Photographing method and device, electronic equipment and storage medium
WO2023083089A1 (en) Photographing control display method and apparatus, and electronic device and medium
CN113794834A (en) Image processing method and device and electronic equipment
WO2022156673A1 (en) Display control method and apparatus, electronic device, and medium
CN113596555B (en) Video playing method and device and electronic equipment
CN112492215B (en) Shooting control method and device and electronic equipment
CN112672051B (en) Shooting method and device and electronic equipment
CN112437232A (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN112437231A (en) Image shooting method and device, electronic equipment and storage medium
CN112698775A (en) Image display method and device and electronic equipment
CN113794831B (en) Video shooting method, device, electronic equipment and medium
CN113286085B (en) Display control method and device and electronic equipment
CN112333389B (en) Image display control method and device and electronic equipment
CN114173029B (en) Shooting method and device and electronic equipment
CN114025100A (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN113542599A (en) Image shooting method and 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