CN114143462A - Shooting method and device - Google Patents

Shooting method and device Download PDF

Info

Publication number
CN114143462A
CN114143462A CN202111444571.0A CN202111444571A CN114143462A CN 114143462 A CN114143462 A CN 114143462A CN 202111444571 A CN202111444571 A CN 202111444571A CN 114143462 A CN114143462 A CN 114143462A
Authority
CN
China
Prior art keywords
camera
shooting
target
electronic equipment
motion state
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.)
Pending
Application number
CN202111444571.0A
Other languages
Chinese (zh)
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 CN202111444571.0A priority Critical patent/CN114143462A/en
Publication of CN114143462A publication Critical patent/CN114143462A/en
Pending legal-status Critical Current

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/45Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from two or more image sensors being of different type or operating in different modes, e.g. with a CMOS sensor for moving images in combination with a charge-coupled device [CCD] for still images
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/58Means for changing the camera field of view without moving the camera body, e.g. nutating or panning of optics or image sensors
    • 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
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/265Mixing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/52Details of telephonic subscriber devices including functional features of a camera

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)

Abstract

The application discloses a shooting method and a shooting device, and belongs to the technical field of camera shooting. The method comprises the following steps: receiving a first input of a user to a first shooting preview interface; responding to the first input, controlling a first camera of the electronic equipment to shoot a first picture by taking a horizon as a reference, wherein the first picture comprises a target shooting object; in the shooting process of the first camera, controlling a second camera of the electronic equipment to shoot the target shooting object in a preset motion state; and synthesizing the image collected by the first camera and the image collected by the second camera into a target video.

Description

Shooting method and device
Technical Field
The application belongs to the technical field of camera shooting, and particularly relates to a shooting method and device.
Background
With the rapid development of terminal technology, more and more terminals with shooting function are available, for example: digital cameras, cell phones, tablet computers, and the like. People begin to take pictures or record videos by using terminals such as mobile phones to share interesting or cool things.
Some interesting sports videos can be acquired only by corresponding actions of a sporter, such as turning over or upside down in the air, which is dangerous for non-professional people, or by performing some image processing in the later period, and the method of synthesizing the videos through the image processing in the later period is troublesome and is not operated by most common users. Therefore, it is difficult for the user to photograph some interesting video.
Disclosure of Invention
The embodiment of the application provides a shooting method and a shooting device, which can solve the problem that shooting some interesting videos is difficult for users in the prior art.
In a first aspect, an embodiment of the present application provides a shooting method, where the method includes:
receiving a first input of a user to a first shooting preview interface;
responding to the first input, controlling a first camera of the electronic equipment to shoot a first picture by taking a horizon as a reference, wherein the first picture comprises a target shooting object;
in the shooting process of the first camera, controlling a second camera of the electronic equipment to shoot the target shooting object in a preset motion state;
and synthesizing the image collected by the first camera and the image collected by the second camera into a target video.
In a second aspect, an embodiment of the present application provides a shooting apparatus, including:
the first receiving module is used for receiving first input of a user to the first shooting preview interface;
the first control module is used for responding to the first input and controlling a first camera of the electronic equipment to shoot a first picture by taking a horizon as a reference, wherein the first picture comprises a target shooting object;
the second control module is used for controlling a second camera of the electronic equipment to shoot the target shooting object in a preset motion state in the shooting process of the first camera;
and the synthesis module is used for synthesizing the image acquired by the first camera and the image acquired by the second camera into a target video.
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, a first input of a user to a first shooting preview interface is received, then, in response to the first input, a first camera of an electronic device is controlled to shoot a first picture by taking a horizon as a reference, the first picture includes a target shooting object, in the shooting process of the first camera, a second camera of the electronic device is controlled to shoot the target shooting object in a preset motion state, and then, an image collected by the first camera and an image collected by the second camera are synthesized into a target video. The embodiment of the application can utilize the second camera to shoot the target shooting object in a preset motion state when the first camera shoots the whole picture on the basis of the horizon, so that the first camera and the second camera respectively shoot the same target shooting object in different reference states, the aim of shooting interesting videos by a user is achieved, and the shooting is more diversified.
Drawings
Fig. 1 is a flowchart of a shooting method provided in an embodiment of the present application;
fig. 2 is a schematic diagram of an image acquired by a first camera provided in an embodiment of the present application;
fig. 3 is a schematic diagram of an image acquired by a second camera provided in the embodiment of the present application;
FIG. 4 is a diagram illustrating an image displayed in a preview window for shooting according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram of an electronic device provided in an embodiment of the present application;
fig. 6 is a schematic hardware structure 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 described clearly 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 that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
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.
A shooting method and a shooting device provided in the embodiments of the present application are described in detail below with reference to fig. 1 to 6 through specific embodiments and application scenarios thereof.
Fig. 1 is a flowchart of a shooting method according to an embodiment of the present disclosure. As shown in fig. 1, the photographing method may include: contents shown in S101 to S104.
In S101, a first input of the first photographing preview interface by the user is received.
In this example, when a user needs to record a certain scene, a camera of the electronic device may be turned on, a preview interface is entered, and then a first shooting preview interface is obtained by starting an extreme motion mode of the preview interface, where the first shooting preview interface includes a plurality of shooting objects, such as people, animals, plants, and scenery. Recording of the entire scene can then begin by actuating the control.
The first input may be a single-click input, a double-click input, a long-press input, or the like, and the first input may also be a first operation. The start control is used to control the start or pause of video recording during the video recording process.
In S102, in response to a first input, a first camera of the electronic device is controlled to photograph a first picture on the basis of a horizon.
The first picture comprises a target shooting object.
It should be noted that taking a picture with the horizon as a reference means that an initial horizon direction is set in (a camera of) the Electronic device, and the Electronic device can obtain a rotation angle of the Electronic device relative to the initial direction by acquiring the direction of the gravity sensor in real time in the rotation process, and then reversely rotate a picture cut by an Electronic Image Stabilization (EIS) by a corresponding angle, so that the picture recorded by the Electronic device in the rotation process can be always forward, that is, the picture is taken with the horizon as a reference.
The first camera can be a wide-angle camera, so that the camera has a larger shooting angle and a larger shooting range, can shoot more contents, and can show multiple people, landscapes, animals and the like in a picture.
In S103, in the process of shooting by the first camera, the second camera of the electronic device is controlled to shoot the target shooting object in a preset motion state.
The preset motion state can be a state such as inclination, rotation, overturning, handstand and the like, and is not limited in the application based on the actual situation.
It should be noted that the electronic device may include a plurality of cameras, and the plurality of cameras may include the first camera and the second camera, and of course, the number of the first camera and the second camera may also be multiple. The second camera can be a face recognition camera, that is, the purpose of shooting a human body can be achieved through the face recognition function of the second camera, and the face recognition function of the second camera does not need to be started in the process of shooting an object or other living bodies.
The shooting of the target shooting object by utilizing the first camera and the second camera can be specifically direct shooting, wherein the direct shooting is a shooting mode which is a shooting mode for shooting the whole body of a certain individual or a group consisting of a plurality of individuals without switching shots or performing local close-up.
In S104, the image captured by the first camera and the image captured by the second camera are synthesized into a target video. Specifically, after the first camera and the second camera both complete the shooting work of the target shooting object, the image collected by the first camera and the image collected by the second camera may be synthesized, and a target video may be formed, so that after the shooting work of the target shooting object is completed, the synthesized target video is displayed on a display interface of the electronic device for a user to preview, edit, output, or the like.
In this example, in response to the first input to the first shooting preview interface, the first camera of the electronic device is controlled to shoot a first picture containing a target shooting object with reference to the horizon, and the second camera of the electronic device is controlled to shoot the target shooting object in a preset motion state, so that one electronic device can shoot at least two images simultaneously, wherein one of the images is an image with a positive picture all the time, that is, the image takes the horizon as reference, and the other image moves along with the motion of the lens.
In the embodiment of the application, a first input of a user to a first shooting preview interface is received, then, in response to the first input, a first camera of an electronic device is controlled to shoot a first picture by taking a horizon as a reference, the first picture includes a target shooting object, in the shooting process of the first camera, a second camera of the electronic device is controlled to shoot the target shooting object in a preset motion state, and then, an image collected by the first camera and an image collected by the second camera are synthesized into a target video. The embodiment of the application can utilize the second camera to shoot the target shooting object in a preset motion state when the first camera shoots the whole picture on the basis of the horizon, so that the first camera and the second camera respectively shoot the same target shooting object in different reference states, the aim of shooting interesting videos by a user is achieved, and the shooting is more diversified.
In one possible embodiment of the present application, after the first camera of the control electronic device takes the horizon as a reference to capture the first picture, and before the second camera of the control electronic device takes the target shooting object in the preset motion state, the shooting method may further include: and receiving a second input of the target shooting object from the user.
Wherein, the target shooting objects are a plurality of objects. The number of the plurality of the lenses can be two, three or more, and the specific number is based on actual shooting.
That is, after the first camera is controlled to photograph the first picture with reference to the horizon and before the second camera is controlled to photograph the target photographic object in the preset motion state, the second input may be performed on the target photographic object in the first picture. For example, the target shooting object corresponding to the user requirement can be locked by double-clicking the target shooting object, long-pressing the target shooting object and other operations according to the shooting requirement of the user, and the purpose of accurately and clearly shooting the target shooting object is achieved.
Correspondingly, controlling the second camera of the electronic device to shoot the target shooting object in the preset motion state may include: and controlling a plurality of second cameras of the electronic equipment to shoot a plurality of objects in preset motion states respectively.
Wherein one second camera is used for shooting one object.
That is, in the case where a second input of the target photographic subject by the user is received, the second cameras, the number of which is the same as the number of the target photographic subjects, are controlled to photograph the target photographic subjects in a one-to-one manner in the preset motion state.
In this embodiment, a plurality of second cameras of one electronic device can respectively perform one-to-one shooting on different target shooting objects, so as to simultaneously realize images of the plurality of target shooting objects moving along with the lens, and then the images are mutually synthesized with the images collected by the first camera, so that the images of the plurality of target shooting objects moving along with the lens can be simultaneously obtained, and the shooting process and the shot target video are more interesting.
In one possible embodiment of the present application, synthesizing an image captured by a first camera and an image captured by a second camera into a target video may include:
the image collected by the first camera and the image collected by the second camera are synthesized frame by frame in real time according to the collection sequence of the images; and displaying the target video synthesized frame by frame in real time on a shooting preview window of the first shooting preview interface.
That is, in the present embodiment, the image synthesizing work is performed in real time during the shooting of the image.
In this embodiment, the image acquired by the first camera and the images acquired by the plurality of second cameras may be combined frame by frame in real time according to the acquisition sequence of the images, and displayed in a shooting preview window of the first shooting preview interface in real time. That is to say, in the shooting process, the user can see the synthesized target video in real time on the display interface of the electronic device, and can record and watch the target video at the same time, so that the user can adjust the action of the target shooting object in time, the shot target video is more real, and the requirements of the user are more satisfied.
In one embodiment of the present application, as shown in fig. 2 to 4, the images acquired by the first camera, the images acquired by the second camera, the images acquired by the first camera and the images acquired by the second camera are synthesized.
Specifically, taking recording of a video of a walking target shooting object as an example, a user only needs to invert the mobile phone for shooting in the shooting process, and since the shooting process of the first camera always takes the horizon as a reference, the direction of an image collected by the first camera is always positive. In the images collected by the second camera, the images of the person are inverted or inclined, the two frames of images are matched and fused in real time, so that the effects of walking or inclined walking of the person in the air by inverting the person can be obtained, and the more abundant interesting effect can be generated by matching some gesture actions according to personal preferences.
In one possible embodiment of the present application, after the first camera of the control electronic device takes the horizon as a reference to capture the first picture, the capture method may further include: the motion state of the electronic device is detected.
Wherein the motion state may include tilting, rotating, etc.
Correspondingly, in the process of shooting by the first camera, controlling the second camera of the electronic device to shoot the target shooting object in a preset motion state may include: and in the shooting process of the first camera, controlling a second camera of the electronic equipment to shoot the target shooting object along with the motion state of the electronic equipment.
In this embodiment, after the first camera is controlled to capture the first picture with reference to the horizon, the motion state of the electronic device may be detected, and then the second camera is controlled to capture the target capture object in the corresponding motion state according to the motion state of the electronic device.
That is to say, in the process of the movement of the electronic device relative to the horizon, a first camera can be used for shooting a picture which does not move along with the movement of the electronic device, a second camera is used for shooting a picture which moves along with the movement of the electronic device, and the two pictures are synthesized to obtain a target video of a target shooting object which moves along with the movement state of the electronic device in the picture, so that the target shooting object is not required to make a movement process corresponding to the movement state of the electronic device, and the requirement of shooting interesting videos by a user can be met.
In one possible implementation manner of the application, a target video synthesized in real time frame by frame is displayed in a shooting preview window of a first shooting preview interface, wherein the motion state of a target shooting object in the target video is the same as the motion state of the electronic device. That is, the motion state of the target photographic subject in the target video picture presented to the user is the same as the motion state of the electronic apparatus.
For example, taking skiing of the target photographic object as an example, the target photographic object skis on a straight line, and the user can obtain a target video of the target photographic object performing rotation action by rotating the electronic device, so that the target photographic object does not need to perform high-difficulty action, the target video of the target photographic object performing high-difficulty action can be shot, and the requirement of the user for shooting interesting video is met.
In a specific embodiment of the present application, the initial horizon angle of the first camera and the initial horizon angle of the second camera may be set to be the same, that is, the shooting angles of the first camera and the second camera are the same. In another embodiment of the present application, the initial horizon angle of the first camera and the initial horizon angle of the second camera may also be set to different values, as described below.
In the process of shooting by the first camera, before controlling the second camera of the electronic device to shoot the target shooting object in a preset motion state, the shooting method may further include: the initial angle of the horizon of the second camera of the electronic equipment and the initial angle of the horizon of the first camera of the electronic equipment are set to different angles. The initial angle of the horizon is the angle of a shooting datum line of the camera relative to the horizon.
That is to say, can set up first camera and second camera to different angles relative to the initial direction of horizon, this can promote the operational flexibility of shooting process betterly, and make the portability of shooting work higher.
For example, in the case where the imaging target object travels upside down, if the initial angles of the first camera and the second camera with respect to the horizon are the same, the electronic apparatus needs to be rotated by 180 degrees to capture a desired screen. If adopt the mode that above-mentioned angle is different, set up the initial angle difference of first camera and the relative horizon of second camera promptly, for example 180 degrees, at this moment, only need open first camera and second camera and shoot simultaneously, and need not rotatory electronic equipment, can obtain the target video of the object walking upside down of target shooting.
Correspondingly, when the target shooting object is a plurality of, can set the horizon initial degree of a plurality of second cameras to the mutually different angle to obtain the action of multiple difference, make the shooting effect better, the operation is succinct more convenient, and the flexibility is higher, and is more interesting sufficient.
In the shooting method provided by the embodiment of the present application, the execution subject may be a shooting device, or a control module in the shooting device that executes the shooting method. The embodiment of the present application takes an example in which a shooting device executes a shooting method, and the shooting device provided in the embodiment of the present application is described.
The embodiment of the present application further provides a shooting device, and the shooting device may include: the device comprises a first receiving module, a first control module, a second control module and a synthesis module.
Specifically, the first receiving module is configured to receive a first input of a user to a first shooting preview interface; the first control module is used for responding to a first input and controlling a first camera of the electronic equipment to shoot a first picture by taking a horizon as a reference, wherein the first picture comprises a target shooting object; the second control module is used for controlling a second camera of the electronic equipment to shoot a target shooting object in a preset motion state in the shooting process of the first camera; and the synthesis module is used for synthesizing the image acquired by the first camera and the image acquired by the second camera into the target video.
In the embodiment of the application, first, a first receiving module receives a first input of a user to a first shooting preview interface, then, in response to the first input, a first control module controls a first camera of an electronic device to shoot a first picture by taking a horizon as a reference, the first picture includes a target shooting object, in the shooting process of the first camera, a second control module controls a second camera of the electronic device to shoot the target shooting object in a preset motion state, and then, a synthesizing module is used for synthesizing an image collected by the first camera and an image collected by the second camera into a target video. The embodiment of the application can utilize the second camera to shoot the target shooting object in a preset motion state when the first camera shoots the whole picture by taking the horizon as a reference, so that the first camera and the second camera are used for shooting together, images collected by the first camera and the second camera are synthesized, the purpose of shooting interesting videos by a user is achieved, and the shooting is diversified.
In one possible embodiment of the present application, the photographing apparatus may further include: and a second receiving module.
Specifically, the second receiving module is configured to receive a second input of the target photographic object from the user, where the target photographic object is a plurality of objects.
Accordingly, a second control module to: controlling a plurality of second cameras of the electronic equipment to shoot a plurality of objects in a preset motion state respectively; wherein one second camera is used for shooting one object.
In one possible embodiment of the present application, the combining module is configured to combine the image acquired by the first camera and the image acquired by the second camera frame by frame in real time according to an acquisition sequence of the images; and the shooting preview window is used for displaying the target video which is obtained by real-time frame-by-frame synthesis in the first shooting preview interface.
In one possible embodiment of the present application, the photographing apparatus may further include: and a detection module.
Specifically, the detection module is used for detecting the motion state of the electronic equipment, wherein the motion state comprises inclination and rotation.
Accordingly, a second control module to: and in the shooting process of the first camera, controlling a second camera of the electronic equipment to shoot the target shooting object along with the motion state of the electronic equipment.
In one possible embodiment of the present application, the photographing apparatus may further include: and setting a module.
Specifically, the setting module is configured to set an initial angle of a horizon of a second camera of the electronic device and an initial angle of a horizon of a first camera of the electronic device to different angles.
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 Personal Computer (PC), a Television (TV), a teller machine, 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 by the embodiment of the application can realize each process realized by the method embodiments of fig. 1-6, and is not described herein again to avoid repetition.
Optionally, as shown in fig. 5, an electronic device 500 is further provided in an embodiment of the present application, and includes a processor 501, a memory 502, and a program or an instruction stored in the memory 502 and executable on the processor 501, where the program or the instruction is executed by the processor 501 to implement each process of the foregoing shooting method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and the like.
Those skilled in the art will appreciate that the electronic device 600 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 610 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. 6 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 omitted here.
Wherein the processor 610 is configured to: receiving a first input of a user to a first shooting preview interface; responding to the first input, controlling a first camera of the electronic equipment to shoot a first picture by taking a horizon as a reference, wherein the first picture comprises a target shooting object; in the shooting process of the first camera, controlling a second camera of the electronic equipment to shoot the target shooting object in a preset motion state; and synthesizing the image collected by the first camera and the image collected by the second camera into a target video.
In the embodiment of the application, a first input of a user to a first shooting preview interface is received, then, in response to the first input, a first camera of an electronic device is controlled to shoot a first picture by taking a horizon as a reference, the first picture includes a target shooting object, in the shooting process of the first camera, a second camera of the electronic device is controlled to shoot the target shooting object in a preset motion state, and then, an image collected by the first camera and an image collected by the second camera are synthesized into a target video. The embodiment of the application can use the ground plane as the benchmark to shoot whole picture when first camera, utilize the second camera to shoot the target shooting object with predetermined motion state to shoot the work with the help of first camera and second camera to shoot the target shooting object jointly, later through synthesizing the image that first camera gathered and the image that the second camera gathered, realize that the user shoots the purpose of taste video, make and shoot more diversified.
It is to be understood that, in the embodiment of the present application, the input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics Processing Unit 6041 processes image data of a still picture or a video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 607 includes a touch panel 6071 and other input devices 6072. A touch panel 6071, also referred to as a touch screen. The touch panel 6071 may include two parts of a touch detection device and a touch controller. Other input devices 6072 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 609 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 610 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The embodiment of the present application further provides a readable storage medium, on which a program or an instruction is stored, and when the program or the instruction is executed by a processor, the program or the instruction implements the processes of the embodiment of the shooting method provided in any one of the above embodiments. And the same technical effect can be achieved, and in order to avoid repetition, the description is omitted.
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 computer 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, 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 (10)

1. A photographing method, characterized in that the method comprises:
receiving a first input of a user to a first shooting preview interface;
responding to the first input, controlling a first camera of the electronic equipment to shoot a first picture by taking a horizon as a reference, wherein the first picture comprises a target shooting object;
in the shooting process of the first camera, controlling a second camera of the electronic equipment to shoot the target shooting object in a preset motion state;
and synthesizing the image collected by the first camera and the image collected by the second camera into a target video.
2. The shooting method according to claim 1, wherein after the first camera of the control electronic device shoots a first picture with reference to a horizon and before the second camera of the control electronic device shoots the target shooting object in a preset motion state, the method further comprises:
receiving a second input of the target photographic object from the user, wherein the target photographic object is a plurality of objects;
the controlling the second camera of the electronic device to shoot the target shooting object in a preset motion state includes:
controlling a plurality of second cameras of the electronic equipment to shoot the plurality of objects in a preset motion state respectively;
wherein one of the second cameras is used for shooting one of the objects.
3. The shooting method according to claim 1, wherein the synthesizing of the image captured by the first camera and the image captured by the second camera into the target video comprises:
the images collected by the first camera and the images collected by the second camera are synthesized frame by frame in real time according to the collection sequence of the images;
and displaying the target video obtained by frame-by-frame real-time synthesis in a shooting preview window of the first shooting preview interface.
4. The shooting method according to claim 1, wherein after the first camera of the control electronic device shoots the first picture with reference to the horizon, the method further comprises:
detecting the motion state of the electronic equipment, wherein the motion state comprises tilting and rotating;
in the process of shooting by the first camera, controlling a second camera of the electronic device to shoot the target shooting object in a preset motion state, including:
and in the shooting process of the first camera, controlling a second camera of the electronic equipment to shoot the target shooting object along with the motion state of the electronic equipment.
5. The shooting method according to claim 1, wherein before controlling a second camera of the electronic device to shoot the target shooting object in a preset motion state during shooting by the first camera, the method further comprises:
the initial angle of the horizon of the second camera of the electronic equipment and the initial angle of the horizon of the first camera of the electronic equipment are set to different angles.
6. A camera, characterized in that the camera comprises:
the first receiving module is used for receiving first input of a user to the first shooting preview interface;
the first control module is used for responding to the first input and controlling a first camera of the electronic equipment to shoot a first picture by taking a horizon as a reference, wherein the first picture comprises a target shooting object;
the second control module is used for controlling a second camera of the electronic equipment to shoot the target shooting object in a preset motion state in the shooting process of the first camera;
and the synthesis module is used for synthesizing the image acquired by the first camera and the image acquired by the second camera into a target video.
7. The camera of claim 6, wherein the device further comprises:
the second receiving module is used for receiving second input of the target shooting objects from the user, wherein the target shooting objects are a plurality of objects;
the second control module is configured to:
controlling a plurality of second cameras of the electronic equipment to respectively shoot the plurality of objects in a preset motion state,
wherein one of the second cameras is used for shooting one of the objects.
8. The camera of claim 6, wherein the synthesizing module is configured to:
the images collected by the first camera and the images collected by the second camera are synthesized frame by frame in real time according to the collection sequence of the images;
and displaying the target video obtained by frame-by-frame real-time synthesis in a shooting preview window of the first shooting preview interface.
9. The camera of claim 8, wherein the device further comprises:
the detection module is used for detecting the motion state of the electronic equipment, wherein the motion state comprises inclination and rotation;
the second control module is configured to:
and in the shooting process of the first camera, controlling a second camera of the electronic equipment to shoot the target shooting object along with the motion state of the electronic equipment.
10. The camera of claim 6, wherein the device further comprises:
the setting module is used for setting the initial angle of the horizon of the second camera of the electronic equipment and the initial angle of the horizon of the first camera of the electronic equipment into different angles.
CN202111444571.0A 2021-11-30 2021-11-30 Shooting method and device Pending CN114143462A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111444571.0A CN114143462A (en) 2021-11-30 2021-11-30 Shooting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111444571.0A CN114143462A (en) 2021-11-30 2021-11-30 Shooting method and device

Publications (1)

Publication Number Publication Date
CN114143462A true CN114143462A (en) 2022-03-04

Family

ID=80390067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111444571.0A Pending CN114143462A (en) 2021-11-30 2021-11-30 Shooting method and device

Country Status (1)

Country Link
CN (1) CN114143462A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103795892A (en) * 2012-11-01 2014-05-14 华为终端有限公司 Method and apparatus for processing collected image data
US20140211031A1 (en) * 2013-01-30 2014-07-31 Microsoft Corporation Auto picture alignment correction
CN105847658A (en) * 2015-05-22 2016-08-10 维沃移动通信有限公司 Multipoint focus method, device and intelligent terminal
CN106937039A (en) * 2017-04-26 2017-07-07 努比亚技术有限公司 A kind of imaging method based on dual camera, mobile terminal and storage medium
US20170289462A1 (en) * 2016-03-31 2017-10-05 Lg Electronics Inc. Mobile terminal and method for controlling the same
CN107809594A (en) * 2017-11-10 2018-03-16 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN108093171A (en) * 2017-11-30 2018-05-29 努比亚技术有限公司 A kind of photographic method, terminal and computer readable storage medium
CN109040597A (en) * 2018-08-28 2018-12-18 Oppo广东移动通信有限公司 A kind of image processing method based on multi-cam, mobile terminal and storage medium
CN112492214A (en) * 2020-12-07 2021-03-12 维沃移动通信有限公司 Image shooting method and device, electronic equipment and readable storage medium
CN112492209A (en) * 2020-11-30 2021-03-12 维沃移动通信有限公司 Shooting method, shooting device and electronic equipment
CN112637497A (en) * 2020-12-21 2021-04-09 维沃移动通信有限公司 Shooting control method and device and electronic equipment

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103795892A (en) * 2012-11-01 2014-05-14 华为终端有限公司 Method and apparatus for processing collected image data
US20140211031A1 (en) * 2013-01-30 2014-07-31 Microsoft Corporation Auto picture alignment correction
CN105847658A (en) * 2015-05-22 2016-08-10 维沃移动通信有限公司 Multipoint focus method, device and intelligent terminal
US20170289462A1 (en) * 2016-03-31 2017-10-05 Lg Electronics Inc. Mobile terminal and method for controlling the same
CN106937039A (en) * 2017-04-26 2017-07-07 努比亚技术有限公司 A kind of imaging method based on dual camera, mobile terminal and storage medium
CN107809594A (en) * 2017-11-10 2018-03-16 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN108093171A (en) * 2017-11-30 2018-05-29 努比亚技术有限公司 A kind of photographic method, terminal and computer readable storage medium
CN109040597A (en) * 2018-08-28 2018-12-18 Oppo广东移动通信有限公司 A kind of image processing method based on multi-cam, mobile terminal and storage medium
CN112492209A (en) * 2020-11-30 2021-03-12 维沃移动通信有限公司 Shooting method, shooting device and electronic equipment
CN112492214A (en) * 2020-12-07 2021-03-12 维沃移动通信有限公司 Image shooting method and device, electronic equipment and readable storage medium
CN112637497A (en) * 2020-12-21 2021-04-09 维沃移动通信有限公司 Shooting control method and device and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
江芸;周冰;: "智能手机摄像技法简谈(进阶篇)", 中国科技教育, no. 08, 15 August 2016 (2016-08-15) *

Similar Documents

Publication Publication Date Title
CN112887609B (en) Shooting method and device, electronic equipment and storage medium
CN113766129A (en) Video recording method, video recording device, electronic equipment and medium
CN114125179B (en) Shooting method and device
CN112637500B (en) Image processing method and device
CN114598819B (en) Video recording method and device and electronic equipment
CN113329172B (en) Shooting method and device and electronic equipment
CN113473004A (en) Shooting method and device
CN112738397A (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN112492214A (en) Image shooting method and device, electronic equipment and readable storage medium
CN112653843A (en) Shooting method and device based on holder and electronic equipment
CN112784081A (en) Image display method and device and electronic equipment
CN112511743A (en) Video shooting method and device
CN112261262A (en) Image calibration method and device, electronic equipment and readable storage medium
CN115499589B (en) Shooting method, shooting device, electronic equipment and medium
CN115134536B (en) Shooting method and device thereof
CN114466140B (en) Image shooting method and device
CN114245017B (en) Shooting method and device and electronic equipment
CN114245018A (en) Image shooting method and device
CN114143462A (en) Shooting method and device
CN112653841B (en) Shooting method and device and electronic equipment
CN114339051A (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN114125297A (en) Video shooting method and device, electronic equipment and storage medium
CN114339029A (en) Shooting method and device and electronic equipment
CN114143455A (en) Shooting method and device and electronic equipment
CN114025237A (en) Video generation method and device and electronic equipment

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