CN106713656B - Shooting method and mobile terminal - Google Patents

Shooting method and mobile terminal Download PDF

Info

Publication number
CN106713656B
CN106713656B CN201710025712.2A CN201710025712A CN106713656B CN 106713656 B CN106713656 B CN 106713656B CN 201710025712 A CN201710025712 A CN 201710025712A CN 106713656 B CN106713656 B CN 106713656B
Authority
CN
China
Prior art keywords
shooting
cameras
motion state
shot
mobile terminal
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
CN201710025712.2A
Other languages
Chinese (zh)
Other versions
CN106713656A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710025712.2A priority Critical patent/CN106713656B/en
Publication of CN106713656A publication Critical patent/CN106713656A/en
Application granted granted Critical
Publication of CN106713656B publication Critical patent/CN106713656B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • H04N23/681Motion detection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/14Picture signal circuitry for video frequency region
    • H04N5/144Movement detection

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Studio Devices (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a shooting method and a mobile terminal, wherein the mobile terminal comprises: the judging module is used for judging whether the shooting object is in a motion state or not; the shooting module is used for shooting by adopting at least two cameras when the shooting object is in a motion state; the time of the periodical shooting operation of each camera on the image frame is not overlapped; and the storage module is used for storing the image frames shot by the at least two cameras according to a time sequence to obtain a video file. The invention adjusts the working modes of at least two cameras in real time by judging the motion state of the shot object, thereby not only meeting the pursuit of high-quality images or videos in a non-motion state, but also improving the video definition of shooting high-speed moving objects. Application scenes of a terminal comprising at least two cameras are enriched, and user experience is improved.

Description

Shooting method and mobile terminal
Technical Field
The invention relates to the field of mobile terminal control, in particular to a shooting method and a mobile terminal.
Background
With the development of mobile equipment, shooting can be carried out anytime and anywhere to become a living habit, however, in the process of shooting videos, once a camera is determined, the shooting frame rate is not easy to adjust at any time, if a lower shooting frame rate is adopted, a shooting scene is added to move, phenomena such as smear blurring are easy to cause, and the shooting quality of the videos is reduced; if a higher shooting frame rate is adopted, the situation of a higher frame rate is not needed for some close-range shooting, and the adoption of the higher frame rate is a waste of resources. Therefore, the existing scheme is not flexible enough in the shooting process, and the experience effect of the user is reduced.
Disclosure of Invention
In view of this, the present invention provides a shooting method and a mobile terminal, and aims to solve the problem that the current video shooting frame rate is not flexible to adjust, and thus the video shooting quality is not high when a shooting scene moves.
In order to achieve the above object, the present invention provides a mobile terminal having at least two cameras, the mobile terminal comprising:
the judging module is used for judging whether the shooting object is in a motion state or not;
the shooting module is used for shooting by adopting the at least two cameras when the shooting object is in a motion state; the time of the periodical shooting operation of each camera on the image frame is not overlapped;
and the storage module is used for storing the image frames shot by the at least two cameras according to a time sequence to obtain a video file.
Optionally, the determining module includes:
the image judging unit is used for judging whether the shooting object is in a motion state or not based on the image change condition of the shooting object shot in the set time; alternatively, the first and second electrodes may be,
and the terminal judging unit is used for acquiring the acceleration of the mobile terminal by using an acceleration sensor and judging whether the shooting object is in a motion state or not based on the change condition of the acceleration of the mobile terminal in a set time.
Optionally, the image determining unit is configured to:
acquiring the position of a shot object in a shot picture by using an infrared sensor or any one of the at least two cameras, determining the motion speed of the shot object based on the acquired position change of the shot object, and judging whether the shot object is in a motion state based on the motion speed of the shot object;
or, acquiring the depth of field of a shooting object through any one of the at least two cameras, and judging whether the shooting object is in a motion state or not based on the change condition of the depth of field of the shooting object in a set time;
or, the gray scale and/or the brightness of the shooting object are/is acquired through any one of the at least two cameras, and whether the shooting object is in a motion state is judged based on the change condition of the gray scale and/or the brightness of the shooting object in a set time.
Optionally, the shooting object is a focused shooting object;
the shooting periods of the cameras for the image frames are equal.
Optionally, the shooting module is further configured to:
when the shooting object is not in a motion state, the at least two cameras are adopted to synchronously shoot, the image frames shot by the at least two cameras at the same moment are synthesized to obtain the image frame at the moment, and the synthesized image frame at the moment is stored into an image file or participates in the storage of the video file by the storage module according to a time sequence.
In addition, in order to achieve the above object, the present invention further provides a shooting method applied to a mobile terminal, where the mobile terminal has at least two cameras, and the method includes:
judging whether the shooting object is in a motion state or not;
when the shooting object is in a motion state, shooting by adopting the at least two cameras; the time of the periodical shooting operation of each camera on the image frame is not overlapped;
and storing the image frames shot by the at least two cameras according to a time sequence to obtain a video file.
Optionally, the determining whether the photographic subject is in a motion state includes:
judging whether the shooting object is in a motion state or not based on the change condition of the shot image of the shooting object in the set time; alternatively, the first and second electrodes may be,
and acquiring the acceleration of the mobile terminal by using an acceleration sensor, and judging whether the shooting object is in a motion state or not based on the change condition of the acceleration of the mobile terminal in a set time.
Optionally, the determining whether the photographic object is in a motion state based on the change of the image of the photographic object captured within the set time includes:
acquiring the position of a shot object in a shot picture by using an infrared sensor or any one of the at least two cameras, determining the motion speed of the shot object based on the acquired position change of the shot object, and judging whether the shot object is in a motion state based on the motion speed of the shot object;
or, acquiring the depth of field of a shooting object through any one of the at least two cameras, and judging whether the shooting object is in a motion state or not based on the change condition of the depth of field of the shooting object in a set time;
or, the gray scale and/or the brightness of the shooting object are/is acquired through any one of the at least two cameras, and whether the shooting object is in a motion state is judged based on the change condition of the gray scale and/or the brightness of the shooting object in a set time.
Optionally, the shooting object is a focused shooting object;
the shooting periods of the cameras for the image frames are equal.
Optionally, the method further includes:
when the shooting object is not in a motion state, at least two cameras are adopted to synchronously shoot, image frames shot by the at least two cameras at the same moment are synthesized to obtain image frames at the moment, and the synthesized image frames at the moment are stored into an image file or participate in the storage of the video file according to a time sequence.
According to the shooting method and the mobile terminal provided by the invention, the motion state of the shooting object is judged, the video quality is improved in a mode of improving the frame rate of the shot image when the shooting object is in the motion state, and the image quality can also be improved in a mode of synchronously synthesizing the image frames when the shooting object is not in the motion state. The invention not only meets the pursuit of high-quality images or videos in a non-motion state, but also improves the video definition for shooting high-speed moving objects by adjusting the working modes of at least two cameras in real time. Application scenes of a terminal comprising at least two cameras are enriched, and user experience is improved.
Drawings
Fig. 1 is a schematic hardware configuration diagram of an alternative mobile terminal implementing various embodiments of the present invention;
fig. 2 is a schematic diagram illustrating a situation in which a mobile terminal according to embodiments of the present invention is held by a user;
fig. 3 is a schematic diagram of a mobile terminal according to the first to third embodiments of the present invention;
fig. 4 is a schematic structural diagram of a mobile terminal according to a fourth embodiment and a fifth embodiment of the present invention;
FIG. 5 is a flowchart of a photographing method according to a sixth embodiment to a ninth embodiment of the present invention;
FIG. 6 is a flowchart of a photographing method according to a tenth embodiment of the present invention;
the implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
A mobile terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The mobile terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
Fig. 1 is a schematic hardware structure of an alternative mobile terminal implementing various embodiments of the present invention.
The mobile terminal 100 may include an a/V (audio/video) input unit 120, a user input unit 130, a sensing unit 140, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190, and the like. Fig. 1 illustrates a mobile terminal having various components, but it is to be understood that not all illustrated components are required to be implemented. More or fewer components may alternatively be implemented. Elements of the mobile terminal will be described in detail below.
The a/V input unit 120 is used to receive an audio or video signal. The a/V input unit 120 may include a camera 121 and a microphone 122, and the camera 121 processes image data of still pictures or video obtained by an image capturing apparatus in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 151. The image frames processed by the cameras 121 may be stored in the memory 160 (or other storage medium), and two or more cameras 121 may be provided according to the construction of the mobile terminal. The microphone 122 may receive sounds (audio data) via the microphone in a phone call mode, a recording mode, a voice recognition mode, or the like, and can process such sounds into audio data. The microphone 122 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The user input unit 130 may generate key input data according to a command input by a user to control various operations of the mobile terminal. The user input unit 130 allows a user to input various types of information, and may include a keyboard, dome sheet, touch pad (e.g., a touch-sensitive member that detects changes in resistance, pressure, capacitance, and the like due to being touched), scroll wheel, joystick, and the like. In particular, when the touch pad is superimposed on the display unit 151 in the form of a layer, a touch screen may be formed.
The sensing unit 140 detects a current state of the mobile terminal 100 (e.g., an open or closed state of the mobile terminal 100), a position of the mobile terminal 100, presence or absence of contact (i.e., touch input) by a user with the mobile terminal 100, an orientation of the mobile terminal 100, acceleration or deceleration movement and direction of the mobile terminal 100, and the like, and generates a command or signal for controlling an operation of the mobile terminal 100. For example, when the mobile terminal 100 is implemented as a slide-type mobile phone, the sensing unit 140 may sense whether the slide-type phone is opened or closed. In addition, the sensing unit 140 can detect whether the power supply unit 190 supplies power or whether the interface unit 170 is coupled with an external device. The sensing unit 140 may include a proximity sensor 141 and the like.
The interface unit 170 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The identification module may store various information for authenticating a user using the mobile terminal 100 and may include a User Identity Module (UIM), a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM), and the like. In addition, a device having an identification module (hereinafter, referred to as an "identification device") may take the form of a smart card, and thus, the identification device may be connected with the mobile terminal 100 via a port or other connection means. The interface unit 170 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal and the external device.
In addition, when the mobile terminal 100 is connected with an external cradle, the interface unit 170 may serve as a path through which power is supplied from the cradle to the mobile terminal 100 or may serve as a path through which various command signals input from the cradle are transmitted to the mobile terminal. Various command signals or power input from the cradle may be used as signals for recognizing whether the mobile terminal is accurately mounted on the cradle. The output unit 150 is configured to provide output signals (e.g., audio signals, video signals, alarm signals, vibration signals, etc.) in a visual, audio, and/or tactile manner.
The output unit 150 may include a display unit 151, an audio output module 152, and the like.
The display unit 151 may display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display unit 151 may display a User Interface (UI) or a Graphical User Interface (GUI) related to a call or other communication (e.g., text messaging, multimedia file downloading, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or an image and related functions, and the like.
Meanwhile, when the display unit 151 and the touch pad are overlapped with each other in the form of a layer to form a touch screen, the display unit 151 may serve as an input device and an output device. The display unit 151 may include at least one of a Liquid Crystal Display (LCD), a thin film transistor LCD (TFT-LCD), an Organic Light Emitting Diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like. Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as transparent displays, and a typical transparent display may be, for example, a TOLED (transparent organic light emitting diode) display or the like. Depending on the particular desired implementation, the mobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown). The touch screen may be used to detect a touch input pressure as well as a touch input position and a touch input area.
The audio output module 152 may convert audio data stored in the memory 160 into an audio signal and output as sound when the mobile terminal is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output module 152 may provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output module 152 may include a speaker, a buzzer, and the like.
The memory 160 may store software programs and the like for processing and controlling operations performed by the controller 180, or may temporarily store data (e.g., a phonebook, messages, still images, videos, and the like) that has been or will be output. Also, the memory 160 may store data regarding various ways of vibration and audio signals output when a touch is applied to the touch screen.
The memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. Also, the mobile terminal 100 may cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
The controller 180 generally controls the overall operation of the mobile terminal. For example, the controller 180 performs control and processing related to voice calls, data communications, video calls, and the like. In addition, the controller 180 may include a multimedia module 181 for reproducing (or playing back) multimedia data, and the multimedia module 181 may be constructed within the controller 180 or may be constructed separately from the controller 180. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
The power supply unit 190 receives external power or internal power and provides appropriate power required to operate various elements and components under the control of the controller 180.
The various embodiments described herein may be implemented in a computer-readable medium using, for example, computer software, hardware, or any combination thereof. For a hardware implementation, the embodiments described herein may be implemented using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein, and in some cases, such embodiments may be implemented in the controller 180. For a software implementation, the implementation such as a process or a function may be implemented with a separate software module that allows performing at least one function or operation. The software codes may be implemented by software applications (or programs) written in any suitable programming language, which may be stored in the memory 160 and executed by the controller 180.
Up to this point, mobile terminals have been described in terms of their functionality. Hereinafter, a slide-type mobile terminal among various types of mobile terminals, such as a folder-type, bar-type, swing-type, slide-type mobile terminal, and the like, will be described as an example for the sake of brevity. Accordingly, the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
Taking a mobile terminal of a mobile phone as an example, a situation that a user holds the mobile terminal is shown in fig. 2.
Based on the above-described mobile terminal hardware structure, various embodiments of the present invention are proposed.
As shown in fig. 3, a first embodiment of the present invention provides a mobile terminal having at least two cameras, which includes the following components:
1) a judging module 301, configured to judge whether the shooting object is in a moving state.
Optionally, the determining module 301 includes:
the image determination unit 31 is configured to determine whether or not a photographic subject is in a moving state based on a change in an image of the photographic subject captured within a set time.
Further, the image determining unit 31 is configured to:
the method comprises the steps of collecting the position of a shot object in a shot picture by using an infrared sensor or any one of the at least two cameras, determining the movement speed of the shot object based on the collected position change of the shot object, and judging whether the shot object is in a movement state based on the movement speed of the shot object.
The embodiment of the invention determines the motion state of the shooting object based on the image of the shooting object shot by the infrared sensor or the camera, and can accurately capture the motion state of the shooting object.
2) A shooting module 302, configured to perform shooting with the at least two cameras when the shooting object is in a moving state, where the periodic shooting operations of the image frames by the cameras do not overlap each other in time.
3) The storage module 303 is configured to store the image frames captured by the at least two cameras according to a time sequence to obtain a video file.
Optionally, the photographic object is a focused photographic object. The shooting object in the shooting picture can be clearer when the motion state of the focused shooting object is judged and the video is shot, so that the picture quality is improved.
Optionally, the shooting periods of the cameras for the image frames are all equal. Taking a mobile terminal including two cameras located on the same side as an example, a shooting control mode of the shooting module 302 for the two cameras is described as follows: the dual cameras are a first camera and a second camera, and a shooting time difference is set for the first camera and the second camera, for example, the shooting frame rate of each camera is 60 frames/second at present, the first camera starts to shoot an image frame every 1 millisecond from the 1 st millisecond, the second camera also keeps the frame rate of 60 frames/second, the second camera starts to shoot an image frame every 1 millisecond from 1.5 milliseconds, then the image frames shot by the two cameras are stored according to the time sequence to form a video file, and further compared with the prior art, the shooting video frame rate is doubled.
When the mobile terminal comprises a plurality of cameras, the video frame rate of one or two cameras in the plurality of cameras can be adjusted when the shooting time difference is set, so that the video frame rate of the high-speed moving object is further improved.
As shown in fig. 3, a second embodiment of the present invention provides a mobile terminal having at least two cameras, which includes the following components:
1) a judging module 301, configured to judge whether the shooting object is in a moving state.
Optionally, the determining module 301 includes:
the image determination unit 31 is configured to determine whether or not a photographic subject is in a moving state based on a change in an image of the photographic subject captured within a set time.
Further, the image determining unit 31 is configured to:
the method comprises the steps of obtaining the depth of field of a shot object through any one of at least two cameras, and judging whether the shot object is in a motion state or not based on the change condition of the depth of field of the shot object in a set time.
Because the depth of field of the shooting object in the shooting picture changes when the shooting object moves, the embodiment of the invention determines the motion state of the shooting object based on the change condition of the depth of field of the shooting object shot by one camera, and can accurately capture the motion state of the shooting object.
2) A shooting module 302, configured to perform shooting with the at least two cameras when the shooting object is in a moving state, where the periodic shooting operations of the image frames by the cameras do not overlap each other in time.
3) The storage module 303 is configured to store the image frames captured by the at least two cameras according to a time sequence to obtain a video file.
Optionally, the photographic object is a focused photographic object. The shooting object in the shooting picture can be clearer when the motion state of the focused shooting object is judged and the video is shot, so that the picture quality is improved.
Optionally, the shooting periods of the cameras for the image frames are all equal.
As shown in fig. 3, a third embodiment of the present invention provides a mobile terminal having at least two cameras, including the following components:
1) a judging module 301, configured to judge whether the shooting object is in a moving state.
Optionally, the determining module 301 includes:
the image determination unit 31 is configured to determine whether or not a photographic subject is in a moving state based on a change in an image of the photographic subject captured within a set time.
Further, the image determining unit 31 is configured to:
the method comprises the steps of obtaining the gray scale and/or the brightness of a shooting object through any one of at least two cameras, and judging whether the shooting object is in a motion state or not based on the change condition of the gray scale and/or the brightness of the shooting object in a set time.
Because the gray scale and the brightness of the shot object in the shot picture change when the shot object moves, the embodiment of the invention determines the motion state of the shot object based on the change condition of the gray scale and/or the brightness of the shot object shot by one camera, and can accurately capture the motion state of the shot object.
2) A shooting module 302, configured to perform shooting with the at least two cameras when the shooting object is in a moving state, where the periodic shooting operations of the image frames by the cameras do not overlap each other in time.
3) The storage module 303 is configured to store the image frames captured by the at least two cameras according to a time sequence to obtain a video file.
Optionally, the photographic object is a focused photographic object.
Optionally, the shooting periods of the cameras for the image frames are all equal.
As shown in fig. 4, a fourth embodiment of the present invention provides a mobile terminal having at least two cameras, including the following components:
1) a judging module 301, configured to judge whether the shooting object is in a moving state.
Optionally, the determining module 301 includes:
and a terminal determination unit 32, configured to acquire an acceleration of the mobile terminal by using an acceleration sensor, and determine whether the photographic subject is in a motion state based on a change of the acceleration of the mobile terminal within a set time.
The embodiment of the present invention is implemented by adopting a completely different concept in determining the motion state of the object to be photographed, but the embodiment of the present invention does not determine the motion state of the object to be photographed by changing the image of the object to be photographed, but determines the motion state of the mobile terminal by measuring the acceleration of the mobile terminal through an acceleration sensor provided in the terminal, because the object to be photographed at the terminal of the photographing screen is moving relative to the mobile terminal when the mobile terminal is moving, in this case, in order to avoid the phenomenon of trailing during photographing, photographing needs to be performed according to the photographing control mode of the photographing module 302 of the embodiment of the present invention, that is, the image quality is improved by improving the image frame.
2) A shooting module 302, configured to perform shooting with the at least two cameras when the shooting object is in a moving state, where the periodic shooting operations of the image frames by the cameras do not overlap each other in time.
3) The storage module 303 is configured to store the image frames captured by the at least two cameras according to a time sequence to obtain a video file.
Optionally, the photographic object is a focused photographic object.
Optionally, the shooting periods of the cameras for the image frames are all equal.
As shown in fig. 4, a fifth embodiment of the present invention provides a mobile terminal having at least two cameras, including the following components:
1) a judging module 301, configured to judge whether the shooting object is in a moving state.
Optionally, the determining module 301 includes:
an image determination unit 31 configured to determine whether or not a photographic subject is in a moving state based on a change in an image of the photographic subject captured within a set time; alternatively, the first and second electrodes may be,
and a terminal determination unit 32, configured to acquire an acceleration of the mobile terminal by using an acceleration sensor, and determine whether the photographic subject is in a motion state based on a change of the acceleration of the mobile terminal within a set time. Fig. 4 shows a case where the judgment block 301 includes the terminal judgment unit 32.
2) A shooting module 302, configured to perform shooting with the at least two cameras when the shooting object is in a moving state, where the periodic shooting operations of the image frames by the cameras do not overlap each other in time.
Optionally, the shooting module 302 is further configured to:
when the shooting object is not in a motion state, the at least two cameras are adopted to synchronously shoot, the image frames shot by the at least two cameras at the same moment are synthesized to obtain the image frame at the moment, and the synthesized image frame at the moment is stored into an image file or participates in the storage of the video file by the storage module 303 according to a time sequence.
The embodiment of the invention is suitable for shooting or shooting when a shooting object does not reach the motion state or shooting by adopting the at least two cameras, and synthesizing the image frames shot by the at least two cameras at the same moment to obtain the image frame at the moment, wherein the image frame at the moment is a picture for the application scene of shooting. For the application scene of shooting, if the shooting object is not in a motion state, the finally stored video file is fused with the combined image frames according to the time sequence, the pixel density of the image frames can be improved through image combination, and the image quality is improved from the perspective of image combination.
3) The storage module 303 is configured to store the image frames captured by the at least two cameras according to a time sequence to obtain a video file.
Optionally, the photographic object is a focused photographic object.
Optionally, the shooting periods of the cameras for the image frames are all equal.
In the embodiment of the invention, the working modes of the double cameras are adjusted in real time by judging the motion state of the target, so that the pursuit of shooting high-quality images or videos on a non-dynamic object is met, and the definition of shooting a high-speed moving object is improved. The application of double cameras in the terminal is enriched, and the user experience is improved.
As shown in fig. 5, a sixth embodiment of the present invention provides a shooting method applied to a mobile terminal, where the mobile terminal has at least two cameras, and the method includes the following specific processes:
step S101, judging whether a shooting object is in a motion state;
optionally, step S101 includes:
whether the shooting object is in a motion state is judged based on the change situation of the shot image of the shooting object in the set time.
Further, the determining whether the object is in a motion state based on the change of the image of the object captured within the set time includes:
the method comprises the steps of collecting the position of a shot object in a shot picture by using an infrared sensor or any one of the at least two cameras, determining the movement speed of the shot object based on the collected position change of the shot object, and judging whether the shot object is in a movement state based on the movement speed of the shot object.
The embodiment of the invention determines the motion state of the shooting object based on the image of the shooting object shot by the infrared sensor or the camera, and can accurately capture the motion state of the shooting object.
Step S102, when the shooting object is in a motion state, shooting by adopting the at least two cameras; the time of the periodical shooting operation of each camera on the image frame is not overlapped;
and step S103, storing the image frames shot by the at least two cameras according to a time sequence to obtain a video file.
Optionally, the photographic object is a focused photographic object. The shooting object in the shooting picture can be clearer when the motion state of the focused shooting object is judged and the video is shot, so that the picture quality is improved.
Optionally, the shooting periods of the cameras for the image frames are all equal. Taking a mobile terminal including two cameras on the same side as an example, a shooting control method for the two cameras in step S102 is described as follows: the dual cameras are a first camera and a second camera, and a shooting time difference is set for the first camera and the second camera, for example, the shooting frame rate of each camera is 60 frames/second at present, the first camera starts to shoot an image frame every 1 millisecond from the 1 st millisecond, the second camera also keeps the frame rate of 60 frames/second, the second camera starts to shoot an image frame every 1 millisecond from 1.5 milliseconds, then the image frames shot by the two cameras are stored according to the time sequence to form a video file, and further compared with the prior art, the shooting video frame rate is doubled.
When the mobile terminal comprises a plurality of cameras, the video frame rate of one or two cameras in the plurality of cameras can be adjusted when the shooting time difference is set, so that the video frame rate of the high-speed moving object is further improved.
As shown in fig. 5, a seventh embodiment of the present invention provides a shooting method applied to a mobile terminal, where the mobile terminal has at least two cameras, and the method includes the following specific processes:
step S101, judging whether a shooting object is in a motion state;
optionally, step S101 includes:
whether the shooting object is in a motion state is judged based on the change situation of the shot image of the shooting object in the set time.
Further, the determining whether the object is in a motion state based on the change of the image of the object captured within the set time includes:
the method comprises the steps of obtaining the depth of field of a shot object through any one of at least two cameras, and judging whether the shot object is in a motion state or not based on the change condition of the depth of field of the shot object in a set time.
Because the depth of field of the shooting object in the shooting picture changes when the shooting object moves, the embodiment of the invention determines the motion state of the shooting object based on the change condition of the depth of field of the shooting object shot by one camera, and can accurately capture the motion state of the shooting object.
Step S102, when the shooting object is in a motion state, shooting by adopting the at least two cameras; the time of the periodical shooting operation of each camera on the image frame is not overlapped;
and step S103, storing the image frames shot by the at least two cameras according to a time sequence to obtain a video file.
Optionally, the photographic object is a focused photographic object. The shooting object in the shooting picture can be clearer when the motion state of the focused shooting object is judged and the video is shot, so that the picture quality is improved.
Optionally, the shooting periods of the cameras for the image frames are all equal.
As shown in fig. 5, an eighth embodiment of the present invention provides a shooting method applied to a mobile terminal, where the mobile terminal has at least two cameras, and the method includes the following specific processes:
step S101, judging whether a shooting object is in a motion state;
optionally, step S101 includes:
whether the shooting object is in a motion state is judged based on the change situation of the shot image of the shooting object in the set time.
Further, the determining whether the object is in a motion state based on the change of the image of the object captured within the set time includes:
the method comprises the steps of obtaining the gray scale and/or the brightness of a shooting object through any one of at least two cameras, and judging whether the shooting object is in a motion state or not based on the change condition of the gray scale and/or the brightness of the shooting object in a set time.
Because the gray scale and the brightness of the shot object in the shot picture change when the shot object moves, the embodiment of the invention determines the motion state of the shot object based on the change condition of the gray scale and/or the brightness of the shot object shot by one camera, and can accurately capture the motion state of the shot object.
Step S102, when the shooting object is in a motion state, shooting by adopting the at least two cameras; the time of the periodical shooting operation of each camera on the image frame is not overlapped;
and step S103, storing the image frames shot by the at least two cameras according to a time sequence to obtain a video file.
Optionally, the photographic object is a focused photographic object.
Optionally, the shooting periods of the cameras for the image frames are all equal.
As shown in fig. 5, a ninth embodiment of the present invention provides a shooting method applied to a mobile terminal, where the mobile terminal has at least two cameras, and the method includes the following specific processes:
step S101, judging whether a shooting object is in a motion state;
optionally, step S101 includes:
and acquiring the acceleration of the mobile terminal by using an acceleration sensor, and judging whether the shooting object is in a motion state or not based on the change condition of the acceleration of the mobile terminal in a set time.
The embodiment of the present invention and the sixth to eighth embodiments are implemented by adopting completely different ideas in determining the motion state of the object, but the embodiment of the present invention does not determine the motion state of the object by the image change of the object, but determines the motion state of the terminal by measuring the acceleration of the terminal through an acceleration sensor carried by the terminal, because the object of the terminal is moving relative to the terminal when the terminal is moving, the object of the terminal is shot, and in this case, in order to avoid the phenomenon of trailing during shooting, the shooting control method in step S102 of the embodiment of the present invention is also required to be performed, that is, the image quality is improved by improving the image frame.
Step S102, when the shooting object is in a motion state, shooting by adopting the at least two cameras; the time of the periodical shooting operation of each camera on the image frame is not overlapped;
and step S103, storing the image frames shot by the at least two cameras according to a time sequence to obtain a video file.
Optionally, the photographic object is a focused photographic object.
Optionally, the shooting periods of the cameras for the image frames are all equal.
As shown in fig. 6, a tenth embodiment of the present invention provides a shooting method applied to a mobile terminal, where the mobile terminal has at least two cameras, and the method includes the following specific processes:
step S201, judging whether the shooting object is in a motion state;
optionally, step S201 includes:
acquiring the acceleration of the mobile terminal by using an acceleration sensor, and judging whether the shooting object is in a motion state or not based on the change condition of the acceleration of the mobile terminal within a set time;
or, whether the shooting object is in a motion state or not is judged based on the change situation of the image of the shooting object shot in the set time.
Step S202, when the shooting object is in a motion state, shooting by adopting the at least two cameras; the time of the periodical shooting operation of each camera on the image frame is not overlapped;
and step S203, storing the image frames shot by the at least two cameras according to a time sequence to obtain a video file.
Optionally, the photographic object is a focused photographic object.
Optionally, the shooting periods of the cameras for the image frames are all equal.
Optionally, in the method, step S202 further includes:
when the shooting object is not in a motion state, the at least two cameras are adopted to synchronously shoot, the image frames shot by the at least two cameras at the same moment are synthesized to obtain the image frame at the moment, and the synthesized image frame at the moment is stored into an image file or participates in the storage of the video file in the step S203 according to the time sequence.
The embodiment of the invention is suitable for shooting or shooting when a shooting object does not reach the motion state or shooting by adopting the at least two cameras, and synthesizing the image frames shot by the at least two cameras at the same moment to obtain the image frame at the moment, wherein the image frame at the moment is a picture for the application scene of shooting. For the application scene of shooting, if the shooting object is not in a motion state, the finally stored video file is fused with the combined image frames according to the time sequence, the pixel density of the image frames can be improved through image combination, and the image quality is improved from the perspective of image combination.
In the embodiment of the invention, the working modes of the double cameras are adjusted in real time by judging the motion state of the target, so that the pursuit of shooting high-quality images or videos on a non-dynamic object is met, and the definition of shooting a high-speed moving object is improved. The application of double cameras in the terminal is enriched, and the user experience is improved.
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.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
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 invention 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 device (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 invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (6)

1. A mobile terminal having at least two cameras, the mobile terminal comprising:
the judging module is used for judging whether the shooting object is in a motion state or not;
the shooting module is used for shooting by adopting the at least two cameras when the shooting object is in a motion state; the time of the periodical shooting operation of each camera on the image frame is not overlapped;
the storage module is used for storing the image frames shot by the at least two cameras according to a time sequence to obtain a video file;
the judging module comprises:
the image judging unit is used for judging whether the shooting object is in a motion state or not based on the image change condition of the shooting object shot in the set time; alternatively, the first and second electrodes may be,
the terminal judging unit is used for acquiring the acceleration of the mobile terminal by using an acceleration sensor and judging whether the shooting object is in a motion state or not based on the change condition of the acceleration of the mobile terminal within a set time;
the shooting module is further configured to:
when the shooting object is not in a motion state, the at least two cameras are adopted to synchronously shoot, the image frames shot by the at least two cameras at the same moment are synthesized to obtain the image frame at the moment, and the synthesized image frame at the moment is stored into an image file or participates in the storage of the video file by the storage module according to a time sequence.
2. The mobile terminal of claim 1, wherein the image determination unit is further configured to:
acquiring the position of a shot object in a shot picture by using an infrared sensor or any one of the at least two cameras, determining the motion speed of the shot object based on the acquired position change of the shot object, and judging whether the shot object is in a motion state based on the motion speed of the shot object;
or, acquiring the depth of field of a shooting object through any one of the at least two cameras, and judging whether the shooting object is in a motion state or not based on the change condition of the depth of field of the shooting object in a set time;
or, the gray scale and/or the brightness of the shooting object are/is acquired through any one of the at least two cameras, and whether the shooting object is in a motion state is judged based on the change condition of the gray scale and/or the brightness of the shooting object in a set time.
3. The mobile terminal according to any one of claims 1 to 2, wherein the photographic subject is a focused photographic subject;
the shooting periods of the cameras for the image frames are equal.
4. A shooting method is applied to a mobile terminal, the mobile terminal is provided with at least two cameras, and the method is characterized by comprising the following steps:
judging whether the shooting object is in a motion state or not;
when the shooting object is in a motion state, shooting by adopting the at least two cameras; the time of the periodical shooting operation of each camera on the image frame is not overlapped;
storing the image frames shot by the more than two cameras according to a time sequence to obtain a video file;
the judging whether the shooting object is in a motion state comprises the following steps:
judging whether the shooting object is in a motion state or not based on the change condition of the shot image of the shooting object in the set time; alternatively, the first and second electrodes may be,
acquiring the acceleration of the mobile terminal by using an acceleration sensor, and judging whether the shooting object is in a motion state or not based on the change condition of the acceleration of the mobile terminal within a set time;
when the shooting object is not in a motion state, the at least two cameras are adopted to synchronously shoot, the image frames shot by the at least two cameras at the same moment are synthesized to obtain the image frame at the moment, and the synthesized image frame at the moment is stored into an image file or participates in the storage of the video file according to the time sequence.
5. The photographing method of claim 4, wherein the determining whether the subject is in motion based on a change in the image of the subject captured within a set time includes:
acquiring the position of a shot object in a shot picture by using an infrared sensor or any one of the at least two cameras, determining the motion speed of the shot object based on the acquired position change of the shot object, and judging whether the shot object is in a motion state based on the motion speed of the shot object;
or, acquiring the depth of field of a shooting object through any one of the at least two cameras, and judging whether the shooting object is in a motion state or not based on the change condition of the depth of field of the shooting object in a set time;
or, the gray scale and/or the brightness of the shooting object are/is acquired through any one of the at least two cameras, and whether the shooting object is in a motion state is judged based on the change condition of the gray scale and/or the brightness of the shooting object in a set time.
6. The photographing method according to any one of claims 4 to 5, wherein the photographing object is a focused photographing object;
the shooting periods of the cameras for the image frames are equal.
CN201710025712.2A 2017-01-13 2017-01-13 Shooting method and mobile terminal Active CN106713656B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710025712.2A CN106713656B (en) 2017-01-13 2017-01-13 Shooting method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710025712.2A CN106713656B (en) 2017-01-13 2017-01-13 Shooting method and mobile terminal

Publications (2)

Publication Number Publication Date
CN106713656A CN106713656A (en) 2017-05-24
CN106713656B true CN106713656B (en) 2020-03-31

Family

ID=58907518

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710025712.2A Active CN106713656B (en) 2017-01-13 2017-01-13 Shooting method and mobile terminal

Country Status (1)

Country Link
CN (1) CN106713656B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108965919A (en) * 2018-07-31 2018-12-07 优视科技新加坡有限公司 Method for processing video frequency, device, equipment/terminal/server and computer readable storage medium
CN110198412B (en) * 2019-05-31 2020-09-18 维沃移动通信有限公司 Video recording method and electronic equipment
CN110837582B (en) * 2019-11-28 2022-06-03 重庆紫光华山智安科技有限公司 Data association method and device, electronic equipment and computer-readable storage medium
CN111601040B (en) * 2020-05-29 2021-11-09 维沃移动通信(杭州)有限公司 Camera control method and device and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016533066A (en) * 2014-06-03 2016-10-20 シャオミ・インコーポレイテッド Shooting control method, shooting control apparatus, terminal, program, and recording medium
JP2016535552A (en) * 2014-08-29 2016-11-10 シャオミ・インコーポレイテッド Method and apparatus for obtaining a photograph

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5888348B2 (en) * 2014-01-23 2016-03-22 カシオ計算機株式会社 Imaging apparatus, imaging control method, and program
KR102222073B1 (en) * 2014-08-29 2021-03-04 삼성전자주식회사 Method and electronic device for taking a photograph
CN105827929A (en) * 2015-01-06 2016-08-03 中兴通讯股份有限公司 Photographing method and photographing device of mobile terminal camera
CN105025223B (en) * 2015-07-03 2018-07-06 广东欧珀移动通信有限公司 A kind of method and camera terminal for controlling multi-cam shooting
CN106210584A (en) * 2016-08-02 2016-12-07 乐视控股(北京)有限公司 A kind of video recording method and device
CN106331497B (en) * 2016-08-31 2019-06-11 宇龙计算机通信科技(深圳)有限公司 A kind of image processing method and terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016533066A (en) * 2014-06-03 2016-10-20 シャオミ・インコーポレイテッド Shooting control method, shooting control apparatus, terminal, program, and recording medium
JP2016535552A (en) * 2014-08-29 2016-11-10 シャオミ・インコーポレイテッド Method and apparatus for obtaining a photograph

Also Published As

Publication number Publication date
CN106713656A (en) 2017-05-24

Similar Documents

Publication Publication Date Title
CN112001321B (en) Network training method, pedestrian re-identification method, device, electronic equipment and storage medium
CN106572299B (en) Camera opening method and device
US10659675B2 (en) Terminal, shooting method thereof and computer storage medium
CN101674409B (en) Mobile terminal having panorama photographing function and method for controlling operation thereof
CN106331504B (en) Shooting method and device
CN109831636B (en) Interactive video control method, terminal and computer readable storage medium
KR20190014638A (en) Electronic device and method for controlling of the same
CN106713656B (en) Shooting method and mobile terminal
CN106027905B (en) A kind of method and mobile terminal for sky focusing
CN106612396B (en) Photographing device, terminal and method
CN104869314A (en) Photographing method and device
CN111078170B (en) Display control method, display control device, and computer-readable storage medium
CN105183755B (en) A kind of display methods and device of picture
KR20160127606A (en) Mobile terminal and the control method thereof
US20160313969A1 (en) Electronic apparatus, image display system, and recording medium
CN114500821B (en) Photographing method and device, terminal and storage medium
CN105678296B (en) Method and device for determining character inclination angle
CN108629814B (en) Camera adjusting method and device
CN106569666B (en) Mask processing control device and method and terminal
CN106506963A (en) A kind of photographic method and terminal based on dual camera
CN110968155A (en) Full-screen terminal, operation execution method and device based on full-screen terminal
CN114339019B (en) Focusing method, focusing device and storage medium
CN113315904B (en) Shooting method, shooting device and storage medium
EP3905660A1 (en) Method and device for shooting image, and storage medium
CN113315903B (en) Image acquisition method and device, electronic equipment and storage medium

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