CN107026977B - Dynamic image shooting method and mobile terminal - Google Patents

Dynamic image shooting method and mobile terminal Download PDF

Info

Publication number
CN107026977B
CN107026977B CN201710210054.4A CN201710210054A CN107026977B CN 107026977 B CN107026977 B CN 107026977B CN 201710210054 A CN201710210054 A CN 201710210054A CN 107026977 B CN107026977 B CN 107026977B
Authority
CN
China
Prior art keywords
shooting
image
finger contact
button
dynamic image
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
CN201710210054.4A
Other languages
Chinese (zh)
Other versions
CN107026977A (en
Inventor
王江华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710210054.4A priority Critical patent/CN107026977B/en
Publication of CN107026977A publication Critical patent/CN107026977A/en
Application granted granted Critical
Publication of CN107026977B publication Critical patent/CN107026977B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/617Upgrading or updating of programs or applications for camera control
    • 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/667Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a dynamic image shooting method and a mobile terminal, wherein the method comprises the following steps: detecting a change in distance between the finger contact and the photographing button in the detection area; when detecting that the finger contact is located in the shooting button detection area and the distance between the finger contact and the shooting button is smaller than a first preset value, starting dynamic image shooting; performing dynamic image shooting in the process of detecting that the hand points to the shooting button to move, and selecting a preset number of key frame images from the shot image frames; and after the shooting button is detected to be touched by the finger touch point, stopping dynamic image shooting when the distance relation between the finger touch point and the shooting button is detected to meet the shooting stopping condition. By the dynamic image shooting method provided by the invention, a user can control the starting and stopping range of the dynamic image according to personal requirements, so that the use experience of the user can be improved.

Description

Dynamic image shooting method and mobile terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a dynamic image shooting method and a mobile terminal.
Background
With the continuous increase of the pixels of the camera of the mobile terminal, the mobile terminal basically replaces a professional camera for shooting images in many scenes. Moreover, most of the existing mobile terminals are provided with a finger induction function, a user clicks a shooting button on the mobile terminal to shoot, and the distance between a finger and a screen can be identified by ultrasonic waves in the screen or the Home key.
Currently, when a mobile terminal is used to capture a moving image, the duration of the moving image capture is 3 seconds, which is the total time of 1.5 seconds before and 1.5 seconds after a user presses a shutter. When shooting a dynamic image, a user cannot control the starting and stopping range of the dynamic image according to personal requirements, only the time point of pressing a shutter is taken as a middle point approximately, and the whole range can not be estimated if the user wants to shoot a scene 2s before the shutter in the dynamic image, so that the use experience of the user is influenced.
Disclosure of Invention
The invention provides a dynamic image shooting method and a mobile terminal, which aim to solve the problem that a user cannot control the starting and stopping range of a dynamic image according to personal requirements in the conventional dynamic image shooting scheme.
According to an aspect of the present invention, there is provided a moving image photographing method applied to a mobile terminal, wherein the method includes: detecting a change in distance between the finger contact and the photographing button in the detection area; when detecting that the finger contact is located in the shooting button detection area and the distance between the finger contact and the shooting button is smaller than a first preset value, starting dynamic image shooting; performing dynamic image shooting in the process of detecting that the hand points to the shooting button to move, and selecting a preset number of key frame images from the shot image frames; and after the shooting button is detected to be touched by the finger touch point, stopping dynamic image shooting when the distance relation between the finger touch point and the shooting button is detected to meet the shooting stopping condition.
According to another aspect of the present invention, there is provided a mobile terminal, wherein the mobile terminal comprises: the detection module is used for detecting the distance change between the finger contact and the shooting button in the detection area; starting a shooting module, and starting dynamic image shooting when detecting that the finger contact is located in the shooting button detection area and the distance between the finger contact and the shooting button is smaller than a first preset value; and the shooting stopping module is used for stopping shooting the dynamic image when the relation of the distance between the finger contact and the shooting button meets the shooting stopping condition after the finger contact is detected to touch the shooting button.
Compared with the prior art, the invention has the following advantages:
according to the dynamic image shooting method and the mobile terminal provided by the embodiment of the invention, the starting of dynamic image shooting and the stopping of dynamic image shooting are determined by detecting the distance between the finger contact and the shooting button. According to the dynamic image shooting scheme provided by the embodiment of the invention, if a user wants to shoot a dynamic image for a long time, the moving speed of the finger contact to the shooting button and the moving speed of the finger contact far away from the shooting button are reduced, if the user wants to shoot the dynamic image for a short time, the moving speed of the finger contact to the shooting button and the moving speed of the finger contact far away from the shooting button are increased, and the user can control the start-stop range of the dynamic image according to personal requirements, so that the use experience of the user can be improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating steps of a dynamic image capturing method according to a first embodiment of the present invention;
fig. 2 is a flowchart of steps of a moving image photographing method according to a second embodiment of the present invention;
FIG. 3 is a schematic diagram showing the structure of the relationship between the positions of the shooting button and the finger touch points in the second embodiment;
fig. 4 is a block diagram of a mobile terminal according to a third embodiment of the present invention;
fig. 5 is a block diagram of a mobile terminal according to a fourth embodiment of the present invention;
fig. 6 is a block diagram of a mobile terminal according to a fifth embodiment of the present invention;
fig. 7 is a block diagram of a mobile terminal according to a sixth embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Example one
Referring to fig. 1, a flowchart illustrating steps of a method for capturing a moving image according to a first embodiment of the present invention is shown.
The dynamic image shooting method of the embodiment of the invention comprises the following steps:
step 101: a change in distance between the finger touch point and the photographing button is detected in the detection area.
The dynamic image shooting method in the embodiment of the invention is applied to the mobile terminal, the screen of the mobile terminal is a touch screen, and when the image shooting interface is started, a shooting button is displayed in the image shooting interface.
The shooting button detection area is an area opposite to the shooting button, and the area can be a cylindrical area opposite to the shooting button, and the cross section of the cylindrical area is the same as the cross section of the shooting button in shape and size. Of course, the area may also include the cylindrical area and have a larger volume than the cylindrical area; the region may also be contained within the cylindrical region.
The mobile terminal detects the shooting button area in real time, and the purpose is whether the finger contact appears in the detection area of the shooting button, and not only can the finger contact appear in the detection area of the shooting button, but also the distance between the finger contact and the shooting button can be detected. Wherein the finger contact is a part of a finger, usually a finger pad.
Step 102: and starting dynamic image shooting when the finger contact is detected to be positioned in the shooting button detection area and the distance between the finger contact and the shooting button is smaller than a first preset value.
When the distance between the finger contact and the shooting button is detected, the distance between the finger contact and the screen can be identified through ultrasonic waves integrated in the screen of the mobile terminal or a Home key in the mobile terminal, and the distance is the distance between the finger contact and the shooting button.
It should be noted that, in the specific implementation process, the first preset value may be set by a person skilled in the art according to actual requirements, and this is not specifically limited in the embodiment of the present invention. And the finger always carries out dynamic image shooting from the first preset value of the distance shooting button to the position of the distance shooting button from the first preset value of the distance shooting button after the finger clicks the shooting button and returns to the position of the distance shooting button again.
Step 103: and after detecting that the finger touch point touches the shooting button, stopping dynamic image shooting when detecting that the distance relation between the finger touch point and the shooting button meets the shooting stopping condition.
The operation of the finger contact touch shooting button can be detected through a pressure sensor arranged below the shooting button, specifically, the pressure sensor detects the pressure value applied to the shooting button, the central processing unit acquires the pressure value detected by the pressure sensor, and whether the shooting button receives the finger contact touch is judged according to the pressure value.
The shooting stop condition may be set by a person skilled in the art according to actual requirements, and may be, for example: stopping dynamic image shooting when the distance between the finger contact and the shooting button is larger than a certain value; the method can also comprise the following steps: and stopping shooting the dynamic image after the finger contact leaves the button detection area for preset time.
According to the dynamic image shooting method provided by the embodiment of the invention, the starting of dynamic image shooting and the stopping of dynamic image shooting are determined by detecting the distance between the finger contact and the shooting button. By the dynamic image shooting method provided by the embodiment of the invention, if a user wants to shoot a dynamic image for a long time, the moving speed of the finger contact to the shooting button and the moving speed of the finger contact far away from the shooting button are reduced, if the user wants to shoot the dynamic image for a short time, the moving speed of the finger contact to the shooting button and the moving speed of the finger contact far away from the shooting button are increased, and the user can control the start-stop range of the dynamic image according to personal requirements, so that the use experience of the user can be improved.
Example two
Referring to fig. 2, a flowchart illustrating steps of a moving image capturing method according to a second embodiment of the present invention is shown.
The dynamic image shooting method of the embodiment of the invention comprises the following steps:
step 201: a change in distance between the finger touch point and the photographing button is detected in the detection area.
The image shooting method in the embodiment of the invention is suitable for the mobile terminal. The screen of the mobile terminal is a touch screen, and when the image shooting interface is started, a shooting button is displayed in the image shooting interface.
The shooting button detection area is a cylindrical area opposite to the shooting button. As shown in fig. 3, the area E is a shooting button detection area, the area F is a screen of the mobile terminal, the area G is a shooting button on the screen, the area D is a finger contact, the area a is a first preset value, the area B is a second preset value, and the area C is a third preset value.
The mobile terminal detects the shooting button detection area in real time, and the purpose is to detect the distance between the finger contact and the shooting button after the finger contact appears in the shooting button detection area.
Step 202: and starting dynamic image shooting when the finger contact is detected to be positioned in the shooting button detection area and the distance between the finger contact and the shooting button is smaller than a first preset value.
And starting a dynamic image shooting function when the distance between the finger contact and the shooting button is equal to or less than a preset value, shooting the dynamic image, and continuously shooting the dynamic image in the process that the finger contact moves towards the shooting button.
The speed of the finger contact approaching the shooting button is in inverse proportion to the shooting time length, namely the shooting time length is shorter when the speed is higher, and the shooting time length is longer when the speed is lower. Specifically, the distance between the finger touch point and the photographing button may be detected by ultrasonic waves integrated within a screen of the mobile terminal or a Home key in the mobile terminal.
Preferably, after the start of the moving image photographing, the mobile terminal may also perform the moving image photographing while detecting the movement of the finger touch point to the photographing button, and select a preset number of frame images from the photographed image frames. The desktop image of the moving image may be selected from the selected preset number of frame images. The specific process of selecting the preset number of frame images is shown in step 203 and step 204.
Step 203: and shooting a dynamic image in the process of detecting that the finger contact moves towards the shooting button, and marking each shot frame image when the distance between the finger contact and the shooting button is within a preset range.
The upper limit value of the preset range is a second preset value B, and the lower limit value is a third preset value C. The second preset value is smaller than the first preset value, and the third preset value is smaller than the second preset value.
When the distance between the finger contact and the shooting button is within the preset range, the shot frame images are closest to the scene when the finger contact touches the shooting button, therefore, the shot images within the preset range are marked, and the preset number of frame images are selected from the marked frame images.
Preferably, during the movement of the finger contact point to approach the shooting button, a change that the finger gradually approaches the shooting button is presented on the shooting button, and the appearance of the shooting button is adjusted along with the change of the distance between the finger contact point and the shooting button. The optimal mode can provide visual perception for the user, and the user can visually perceive the distance relation between the finger contact and the shooting button and whether the shooting button is successfully touched.
Step 204: and selecting images with the definition higher than a preset value from the marked frame images.
The desktop image of the moving image is selected from the images selected in this step.
Preferably, when a preset number of frame images are selected, the image selection may be performed according to the definition of the image, and the image may be selected by determining whether a target object included in the image is prominent. For example: when the ratio of the pixels occupied by the target object in the preset image to the total pixels of the frame image is higher than a certain ratio, the frame image is determined to be selected as one frame image in the preset number of frame images.
Step 205: and after detecting that the finger contact touches the shooting button, stopping shooting the dynamic image when detecting that the distance between the finger contact and the shooting button is greater than a first preset value.
Namely, after the finger touches the shooting button, the shooting of the dynamic image is stopped after the finger returns to the point A again.
In addition to the condition for stopping the moving image photographing shown in step 205, the moving image photographing may be stopped after a preset time, counted from when the distance between the finger touch point and the photographing button is greater than the first preset value.
Namely, after the finger touch point touches the shooting button, the user returns to the point A again and then leaves the detection area of the shooting button for preset time, and then the dynamic image shooting is stopped. Wherein the preset time may be set to 5 s.
Preferably, in the moving process that the finger contact is close to the shooting button, the change that the finger contact is gradually close to the shooting button is presented on the shooting button, in the moving process that the finger contact is far from the shooting button, the change that the finger contact is gradually far from the shooting button is presented on the shooting button, and through the change of the display interface of the shooting button, the user can perceive the process of starting and ending shooting. I.e., the appearance of the photographing button, varies with the distance between the finger contact and the photographing button.
For example: the color of the shooting button gradually becomes darker when the finger contact moves from A to C, and gradually becomes lighter when the finger contact moves from C to A. For another example: the visual depth of the photographing button becomes gradually deeper when the finger contact moves from a to C, and becomes gradually shallower when the finger contact moves from C to a.
Step 206: and storing the shot dynamic images, and selecting one frame of image from a preset number of frames of images as a desktop image of the dynamic image.
In this step, the mobile terminal automatically selects one frame of image from the pre-selected frames of images as the desktop image of the captured dynamic image.
In the selection, a key frame image captured at a time point closest to a moment when the finger touches the capture button may be selected as the desktop image.
Step 207: and receiving a modification instruction of the desktop image of the dynamic image by the user.
A desktop image has been generated for the moving image photographed this time through step 206, and if the user wants to modify the desktop image, steps 207 to 210 are performed.
The modification instruction may be an instruction triggered by an operation of right-clicking the desktop image.
Step 208: and displaying the frame images with the preset number according to the modification instruction.
Each displayed frame image can be selected by a user.
Step 209: and detecting the selection operation of the user on the preset number of frame images.
The operation of selecting the key frame image may be a single-click operation, a double-click operation, a long-press operation, or the like on the image, which is not particularly limited in the embodiment of the present invention.
Step 210: and replacing the current desktop image of the dynamic image by the image corresponding to the selection operation.
For example: in step 206, the desktop image automatically generated by the mobile terminal for the dynamic image is image a, and in step 209, the image selected by the user is image B, and image B is used to replace image a.
The dynamic image shooting method provided by the embodiment of the invention has the beneficial effects that the dynamic image shooting method shown in the first embodiment has, and can also provide an interface for a user to modify the desktop image, and the user can select any frame image from the preset number of frame images as the desktop image according to personal requirements, so that the personalized requirements of the user can be met, and the use experience of the user is improved.
EXAMPLE III
Referring to fig. 4, a block diagram of a mobile terminal according to a third embodiment of the present invention is shown.
The mobile terminal of the embodiment of the invention comprises: a detection module 401 for detecting a change in distance between the finger contact and the photographing button in the detection area; starting a shooting module 402, configured to start dynamic image shooting when it is detected that a finger contact is located in the shooting button detection area and a distance between the finger contact and the shooting button is smaller than a first preset value; a shooting stopping module 403, configured to stop dynamic image shooting when it is detected that a relationship between the finger contact and the shooting button satisfies a shooting stopping condition after it is detected that the finger contact touches the shooting button.
According to the mobile terminal provided by the embodiment of the invention, the starting of the dynamic image shooting and the stopping of the dynamic image shooting are determined by detecting the distance between the finger contact and the shooting button. Through the mobile terminal provided by the embodiment of the invention, if a user wants to shoot a dynamic image for a long time, the moving speed of the finger contact to the shooting button is reduced, and the moving speed of the finger contact far away from the shooting button is increased, if the user wants to shoot the dynamic image for a short time, the moving speed of the finger contact to the shooting button is increased, and the moving speed of the finger contact far away from the shooting button is increased, so that the user can control the start-stop range of the dynamic image according to personal requirements, and the use experience of the user can be improved.
Example four
Referring to fig. 5, a block diagram of a mobile terminal according to a fourth embodiment of the present invention is shown.
The mobile terminal of the embodiment of the present invention is further optimized for the mobile terminal of the third embodiment, and the optimized mobile terminal includes: a detection module 501 for detecting a change in distance between the finger contact and the photographing button in the detection area; starting a shooting module 502, which is used for starting dynamic image shooting when detecting that the finger contact is located in the shooting button detection area and the distance between the finger contact and the shooting button is smaller than a first preset value; a shooting stopping module 503, configured to stop dynamic image shooting when detecting that the distance between the finger contact and the shooting button satisfies a shooting stopping condition after detecting that the finger contact touches the shooting button.
Preferably, the mobile terminal further includes: a selecting module 504, configured to perform dynamic image shooting when the finger contact is detected to move to the shooting button after the shooting module 502 is started to start dynamic image shooting, and select a preset number of frame images from the shot image frames; a generating module 505, configured to store the captured dynamic image after the capturing stop module 503 stops capturing the dynamic image, and select one frame image from the preset number of frame images as a desktop image of the dynamic image.
Preferably, the selecting module 504 includes: the marking sub-module 5041 is used for shooting dynamic images in the process of detecting that the finger contact moves towards the shooting button, and marking the shot frame images when the distance between the finger contact and the shooting button is within a preset range; the upper limit value of the preset range is a second preset value, and the second preset value is smaller than the first preset value; a selecting sub-module 5042, configured to select a preset number of images with frame sharpness higher than a preset value from the marked frame images.
Preferably, the mobile terminal further includes: an instruction receiving module 506, configured to receive a modification instruction of the desktop image of the dynamic image by a user after the generating module 505 selects one frame image from the preset number of frame images as the desktop image of the dynamic image; an image display module 507, configured to display the preset number of frame images according to the modification instruction; a selecting operation detecting module 508, configured to detect a selecting operation of the preset number of frame images by a user; a replacing module 509, configured to replace the current desktop image of the dynamic image with an image corresponding to the selection operation.
Preferably, the stop photographing module 503 includes: a first control sub-module 5031 configured to stop the dynamic image capturing when detecting that the distance between the finger contact and the capture button is greater than the first preset value; or, the second control sub-module 5032 is configured to count time from when the distance between the finger contact and the shooting button is greater than the first preset value, and stop shooting the moving image after the preset time.
Preferably, the mobile terminal further includes: a shooting button state updating module 510, configured to adjust an appearance of the shooting button as a distance between the finger contact and the shooting button changes.
The mobile terminal according to the embodiment of the present invention is used to implement the corresponding dynamic image shooting methods in the first and second embodiments, and has the corresponding beneficial effects as in the method embodiments, which are not described herein again.
EXAMPLE five
Referring to fig. 6, a block diagram of a mobile terminal according to a fifth embodiment of the present invention is shown.
The mobile terminal 700 of the embodiment of the present invention includes: at least one processor 701, memory 702, at least one network interface 704, and other user interfaces 703. The various components in the mobile terminal 700 are coupled together by a bus system 705. It is understood that the bus system 705 is used to enable communications among the components. The bus system 705 includes a power bus, a control bus, and a status signal bus in addition to a data bus. But for clarity of illustration the various busses are labeled in figure 6 as the bus system 705.
The user interface 703 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, track ball, touch pad, or touch screen, etc.).
It is to be understood that the memory 702 in embodiments of the present invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of example, but not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous SDRAM (ESDRAM), Synchronous link SDRAM (SLDRAM), and direct memory bus DRAM (DRRAM). The memory 702 of the systems and methods described in this embodiment of the invention is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 702 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof: an operating system 7021 and application programs 7022.
The operating system 7021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks. The application 7022 includes various applications, such as a Media Player (Media Player), a Browser (Browser), and the like, for implementing various application services. Programs that implement methods in accordance with embodiments of the present invention can be included within application program 7022.
In the embodiment of the present invention, the processor 701 is configured to detect a distance change between the finger contact and the shooting button in the detection area by calling a program or an instruction stored in the memory 702, specifically, a program or an instruction stored in the application 7022; when detecting that the finger contact is located in the shooting button detection area and the distance between the finger contact and the shooting button is smaller than a first preset value, starting dynamic image shooting; performing dynamic image shooting in the process of detecting that the hand points to the shooting button to move, and selecting a preset number of key frame images from the shot image frames; and after the shooting button is detected to be touched by the finger touch point, stopping dynamic image shooting when the distance relation between the finger touch point and the shooting button is detected to meet the shooting stopping condition.
The method disclosed in the above embodiments of the present invention may be applied to the processor 701, or implemented by the processor 701. The processor 701 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be implemented by integrated logic circuits of hardware or instructions in the form of software in the processor 701. The Processor 701 may be a general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable Gate Array (FPGA) or other programmable logic device, discrete Gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 702, and the processor 701 reads the information in the memory 702 and performs the steps of the above method in combination with the hardware thereof.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the Processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described in this embodiment of the invention may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described in this embodiment of the invention. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, the processor 701 is further configured to, after starting the moving image capturing: carrying out dynamic image shooting in the process of detecting that the finger contact moves towards the shooting button, and selecting a preset number of frame images from the shot image frames; after the step of stopping the moving image photographing, the method further includes: and storing the shot dynamic image, and selecting one frame of image from the preset number of frames of images as a desktop image of the dynamic image.
Optionally, when the processor 701 performs dynamic image capturing during the process of detecting that the finger contact moves to the capturing button, and selects a preset number of frame images from the captured image frames, the processor is specifically configured to: the method comprises the steps that dynamic image shooting is carried out in the process that a finger contact is detected to move towards a shooting button, and when the distance between the finger contact and the shooting button is within a preset range, each shot frame image is marked; the upper limit value of the preset range is a second preset value, and the second preset value is smaller than the first preset value; and selecting a preset number of images with definition higher than a preset value from the marked frame images.
Optionally, the processor 701, after the selecting one frame image from the preset number of frame images as the desktop image of the dynamic image, is further configured to: receiving a modification instruction of a user on the desktop image of the dynamic image; displaying the preset number of frame images according to the modification instruction; detecting the selection operation of the user on the preset number of frame images; and replacing the current desktop image of the dynamic image by the image corresponding to the selection operation.
Optionally, when detecting that the distance relationship between the finger contact and the shooting button satisfies the shooting stop condition, the processor 701 is specifically configured to, when stopping the dynamic image shooting: when the distance between the finger contact and the shooting button is detected to be larger than the first preset value, stopping shooting the dynamic image; or counting time from the time when the distance between the finger contact and the shooting button is greater than a first preset value, and stopping dynamic image shooting after preset time.
Optionally, the processor 701 adjusts the appearance of the shooting button as the distance between the finger contact and the shooting button changes.
The mobile terminal 700 can implement the processes implemented by the mobile terminal in the foregoing embodiments, and details are not repeated here to avoid repetition.
According to the mobile terminal provided by the embodiment of the invention, the starting of the dynamic image shooting and the stopping of the dynamic image shooting are determined by detecting the distance between the finger contact and the shooting button. Through the mobile terminal provided by the embodiment of the invention, if a user wants to shoot a dynamic image for a long time, the moving speed of the finger contact to the shooting button is reduced, and the moving speed of the finger contact far away from the shooting button is increased, if the user wants to shoot the dynamic image for a short time, the moving speed of the finger contact to the shooting button is increased, and the moving speed of the finger contact far away from the shooting button is increased, so that the user can control the start-stop range of the dynamic image according to personal requirements, and the use experience of the user can be improved.
EXAMPLE six
Referring to fig. 7, a block diagram of a mobile terminal according to a sixth embodiment of the present invention is shown.
The mobile terminal in the embodiment of the present invention may be a mobile phone, a tablet computer, a Personal Digital Assistant (PDA), or a vehicle-mounted computer.
The mobile terminal in fig. 7 includes a Radio Frequency (RF) circuit 810, a memory 820, an input unit 830, a display unit 840, a processor 860, an audio circuit 870, a wifi (wirelessfidelity) module 880, and a power supply 890.
The input unit 830 may be used, among other things, to receive numeric or character information input by a user and to generate signal inputs related to user settings and function control of the mobile terminal. Specifically, in the embodiment of the present invention, the input unit 830 may include a touch panel 831. The touch panel 831, also referred to as a touch screen, can collect touch operations performed by a user on or near the touch panel 831 (e.g., operations performed by the user on the touch panel 831 using a finger, a stylus, or any other suitable object or accessory), and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 831 may include two portions, i.e., a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 860, and can receive and execute commands sent by the processor 860. In addition, the touch panel 831 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 831, the input unit 830 may include other input devices 832, and the other input devices 832 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Among them, the display unit 840 may be used to display information input by a user or information provided to the user and various menu interfaces of the mobile terminal. The display unit 840 may include a display panel 841, and the display panel 841 may be alternatively configured in the form of an LCD or an Organic Light-Emitting Diode (OLED), or the like.
It should be noted that the touch panel 831 can overlay the display panel 841 to form a touch display screen, which, when it detects a touch operation thereon or nearby, is passed to the processor 860 to determine the type of touch event, and then the processor 860 provides a corresponding visual output on the touch display screen according to the type of touch event.
The touch display screen comprises an application program interface display area and a common control display area. The arrangement modes of the application program interface display area and the common control display area are not limited, and can be an arrangement mode which can distinguish two display areas, such as vertical arrangement, left-right arrangement and the like. The application interface display area may be used to display an interface of an application. Each interface may contain at least one interface element such as an icon and/or widget desktop control for an application. The application interface display area may also be an empty interface that does not contain any content. The common control display area is used for displaying controls with high utilization rate, such as application icons like setting buttons, interface numbers, scroll bars, phone book icons and the like.
The processor 860 is a control center of the mobile terminal, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the first memory 821 and calling data stored in the second memory 822, thereby performing overall monitoring of the mobile terminal. Optionally, processor 860 may include one or more processing units.
In an embodiment of the present invention, the processor 860 is configured to detect a change in distance between a finger touch point and a photographing button in a detection area by calling a software program and/or a module stored in the first memory 821 and/or data stored in the second memory 822; when detecting that the finger contact is located in the shooting button detection area and the distance between the finger contact and the shooting button is smaller than a first preset value, starting dynamic image shooting; performing dynamic image shooting in the process of detecting that the hand points to the shooting button to move, and selecting a preset number of key frame images from the shot image frames; and after the shooting button is detected to be touched by the finger touch point, stopping dynamic image shooting when the distance relation between the finger touch point and the shooting button is detected to meet the shooting stopping condition.
Optionally, the processor 860 is further configured to, after starting the moving image capturing: carrying out dynamic image shooting in the process of detecting that the finger contact moves towards the shooting button, and selecting a preset number of frame images from the shot image frames; after the step of stopping the moving image photographing, the method further includes: and storing the shot dynamic image, and selecting one frame of image from the preset number of frames of images as a desktop image of the dynamic image.
Optionally, the processor 860 is specifically configured to, when detecting that the finger contact moves to the shooting button, perform dynamic image shooting and select a preset number of frame images from the shot image frames: the method comprises the steps that dynamic image shooting is carried out in the process that a finger contact is detected to move towards a shooting button, and when the distance between the finger contact and the shooting button is within a preset range, each shot frame image is marked; the upper limit value of the preset range is a second preset value, and the second preset value is smaller than the first preset value; and selecting a preset number of images with definition higher than a preset value from the marked frame images.
Optionally, the processor 860, after said selecting one frame image from the preset number of frame images as the desktop image of the dynamic image, is further configured to: receiving a modification instruction of a user on the desktop image of the dynamic image; displaying the preset number of frame images according to the modification instruction; detecting the selection operation of the user on the preset number of frame images; and replacing the current desktop image of the dynamic image by the image corresponding to the selection operation.
Optionally, when detecting that the distance relationship between the finger contact and the shooting button satisfies the shooting stop condition, the processor 860 is specifically configured to: when the distance between the finger contact and the shooting button is detected to be larger than the first preset value, stopping shooting the dynamic image; or counting time from the time when the distance between the finger contact and the shooting button is greater than a first preset value, and stopping dynamic image shooting after preset time.
Optionally, processor 860 adjusts the appearance of the capture button as the distance between the finger contact and the capture button changes.
According to the mobile terminal provided by the embodiment of the invention, the starting of the dynamic image shooting and the stopping of the dynamic image shooting are determined by detecting the distance between the finger contact and the shooting button. Through the mobile terminal provided by the embodiment of the invention, if a user wants to shoot a dynamic image for a long time, the moving speed of the finger contact to the shooting button is reduced, and the moving speed of the finger contact far away from the shooting button is increased, if the user wants to shoot the dynamic image for a short time, the moving speed of the finger contact to the shooting button is increased, and the moving speed of the finger contact far away from the shooting button is increased, so that the user can control the start-stop range of the dynamic image according to personal requirements, and the use experience of the user can be improved.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The dynamic image capture scheme provided herein is not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with the teachings herein. The structure required to construct a system incorporating aspects of the present invention will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in an image capture scheme according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (12)

1. A dynamic image shooting method is applied to a mobile terminal, and is characterized by comprising the following steps:
detecting a change in distance between the finger contact and the photographing button in the detection area; when detecting that the finger contact is located in the shooting button detection area and the distance between the finger contact and the shooting button is smaller than a first preset value, starting dynamic image shooting;
performing dynamic image shooting in the process of detecting that the hand points to the shooting button to move, and selecting a preset number of key frame images from the shot image frames;
after detecting that the finger contact touches the shooting button, stopping dynamic image shooting when detecting that the distance relation between the finger contact and the shooting button meets shooting stopping conditions;
and the shooting button detection area is an area just opposite to the shooting button.
2. The method according to claim 1, wherein after the step of starting the moving image photographing, the method further comprises:
carrying out dynamic image shooting in the process of detecting that the finger contact moves towards the shooting button, and selecting a preset number of frame images from the shot image frames;
after the step of stopping the moving image photographing, the method further includes:
and storing the shot dynamic image, and selecting one frame of image from the preset number of frames of images as a desktop image of the dynamic image.
3. The method of claim 2, wherein the step of performing moving image photographing during the detection of the movement of the finger touch point to the photographing button and selecting a preset number of frame images from the photographed image frames comprises:
the method comprises the steps that dynamic image shooting is carried out in the process that a finger contact is detected to move towards a shooting button, and when the distance between the finger contact and the shooting button is within a preset range, each shot frame image is marked; the upper limit value of the preset range is a second preset value, and the second preset value is smaller than the first preset value;
and selecting images with the definition higher than a preset value from the marked frame images.
4. The method according to claim 2, wherein after the step of selecting one frame image from the preset number of frame images as a desktop image of the dynamic image, the method further comprises:
receiving a modification instruction of a user on the desktop image of the dynamic image;
displaying the preset number of frame images according to the modification instruction;
detecting the selection operation of the user on the preset number of frame images;
and replacing the current desktop image of the dynamic image by the image corresponding to the selection operation.
5. The method according to claim 1, wherein stopping the moving image photographing when it is detected that a distance relationship between the finger contact and the photographing button satisfies a stop photographing condition includes:
when the distance between the finger contact and the shooting button is detected to be larger than the first preset value, stopping shooting the dynamic image; alternatively, the first and second electrodes may be,
and counting time from the time when the distance between the finger contact and the shooting button is greater than a first preset value, and stopping dynamic image shooting after preset time.
6. The method of claim 1, wherein:
adjusting an appearance of the photographing button as a distance between the finger contact and the photographing button changes.
7. A mobile terminal, characterized in that the mobile terminal comprises:
the detection module is used for detecting the distance change between the finger contact and the shooting button in the detection area;
starting a shooting module, and starting dynamic image shooting when detecting that the finger contact is located in the shooting button detection area and the distance between the finger contact and the shooting button is smaller than a first preset value;
the shooting stopping module is used for stopping dynamic image shooting when the relation of the distance between the finger contact and the shooting button meets shooting stopping conditions after the finger contact is detected to touch the shooting button;
and the shooting button detection area is an area just opposite to the shooting button.
8. The mobile terminal of claim 7, wherein the mobile terminal further comprises:
the selecting module is used for shooting the dynamic images in the process of detecting that the finger contact moves towards the shooting button after the shooting module is started to start shooting the dynamic images, and selecting a preset number of frame images from the shot image frames;
and the generating module is used for storing the shot dynamic images after the shooting stopping module stops shooting the dynamic images, and selecting one frame of image from the preset number of frames of images as a desktop image of the dynamic images.
9. The mobile terminal of claim 8, wherein the selecting module comprises:
the marking sub-module is used for shooting dynamic images in the process of detecting that the finger contact moves towards the shooting button, and marking the shot frames of images when the distance between the finger contact and the shooting button is within a preset range; the upper limit value of the preset range is a second preset value, and the second preset value is smaller than the first preset value;
and the selecting submodule is used for selecting images with the definition higher than a preset value from the marked frame images.
10. The mobile terminal of claim 8, wherein the mobile terminal further comprises:
the instruction receiving module is used for receiving a modification instruction of a user on the desktop image of the dynamic image after the generation module selects one frame of image from the preset number of frame images as the desktop image of the dynamic image;
the image display module is used for displaying the frame images with the preset number according to the modification instruction;
the selection operation detection module is used for detecting the selection operation of the user on the frame images with the preset number;
and the replacing module is used for replacing the current desktop image of the dynamic image by adopting the image corresponding to the selection operation.
11. The mobile terminal of claim 7, wherein the stop shooting module comprises:
the first control submodule is used for stopping dynamic image shooting when the distance between the finger contact and the shooting button is detected to be greater than the first preset value; alternatively, the first and second electrodes may be,
and the second control submodule is used for timing when the distance between the finger contact and the shooting button is greater than the first preset value, and stopping shooting the dynamic image after the preset time.
12. The mobile terminal of claim 7, wherein the mobile terminal further comprises:
and the shooting button state updating module is used for adjusting the appearance of the shooting button along with the change of the distance between the finger contact and the shooting button.
CN201710210054.4A 2017-03-31 2017-03-31 Dynamic image shooting method and mobile terminal Active CN107026977B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710210054.4A CN107026977B (en) 2017-03-31 2017-03-31 Dynamic image shooting method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710210054.4A CN107026977B (en) 2017-03-31 2017-03-31 Dynamic image shooting method and mobile terminal

Publications (2)

Publication Number Publication Date
CN107026977A CN107026977A (en) 2017-08-08
CN107026977B true CN107026977B (en) 2019-12-24

Family

ID=59526851

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710210054.4A Active CN107026977B (en) 2017-03-31 2017-03-31 Dynamic image shooting method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107026977B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111741217A (en) * 2020-06-23 2020-10-02 上海闻泰信息技术有限公司 Photographing method and photographing device of mobile terminal, mobile terminal and storage medium
CN112468867A (en) * 2020-11-26 2021-03-09 京东方科技集团股份有限公司 Video data processing method, processing device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090044794A (en) * 2007-11-01 2009-05-07 삼성디지털이미징 주식회사 Apparatus for processing digital image
CN101552818A (en) * 2008-04-04 2009-10-07 Lg电子株式会社 Mobile terminal using proximity sensor and control method thereof
CN102687498A (en) * 2009-11-05 2012-09-19 索尼公司 Electronic device and method of controlling electronic device
CN103067598A (en) * 2013-01-08 2013-04-24 广东欧珀移动通信有限公司 Music switching method and system of mobile terminal
CN103716536A (en) * 2013-12-17 2014-04-09 东软熙康健康科技有限公司 Method and system for generating dynamic picture
CN103795923A (en) * 2014-01-27 2014-05-14 北京飞流九天科技有限公司 Shooting control method of camera shooting device and camera shooting device
CN105677196A (en) * 2015-12-25 2016-06-15 深圳市金立通信设备有限公司 Photographic method of terminal device, and terminal device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080256494A1 (en) * 2007-04-16 2008-10-16 Greenfield Mfg Co Inc Touchless hand gesture device controller
KR101537592B1 (en) * 2008-09-03 2015-07-22 엘지전자 주식회사 Mobile terminal and method for controlling the same

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090044794A (en) * 2007-11-01 2009-05-07 삼성디지털이미징 주식회사 Apparatus for processing digital image
CN101552818A (en) * 2008-04-04 2009-10-07 Lg电子株式会社 Mobile terminal using proximity sensor and control method thereof
CN102687498A (en) * 2009-11-05 2012-09-19 索尼公司 Electronic device and method of controlling electronic device
CN103067598A (en) * 2013-01-08 2013-04-24 广东欧珀移动通信有限公司 Music switching method and system of mobile terminal
CN103716536A (en) * 2013-12-17 2014-04-09 东软熙康健康科技有限公司 Method and system for generating dynamic picture
CN103795923A (en) * 2014-01-27 2014-05-14 北京飞流九天科技有限公司 Shooting control method of camera shooting device and camera shooting device
CN105677196A (en) * 2015-12-25 2016-06-15 深圳市金立通信设备有限公司 Photographic method of terminal device, and terminal device

Also Published As

Publication number Publication date
CN107026977A (en) 2017-08-08

Similar Documents

Publication Publication Date Title
CN106406710B (en) Screen recording method and mobile terminal
CN107678644B (en) Image processing method and mobile terminal
EP3661187A1 (en) Photography method and mobile terminal
CN105824559B (en) False touch recognition and processing method and electronic equipment
CN107147852B (en) Image photographing method, mobile terminal and computer-readable storage medium
CN106993091B (en) Image blurring method and mobile terminal
CN107179865B (en) Page switching method and terminal
WO2019001152A1 (en) Photographing method and mobile terminal
CN107509030B (en) focusing method and mobile terminal
CN109218819B (en) Video preview method and mobile terminal
CN105975152B (en) Fingerprint-based application program calling method and mobile terminal
CN107562345B (en) Information storage method and mobile terminal
CN107547738B (en) Prompting method and mobile terminal
CN106791364A (en) Method and mobile terminal that a kind of many people take pictures
CN108366169B (en) Notification message processing method and mobile terminal
CN107483821B (en) Image processing method and mobile terminal
CN106250021B (en) Photographing control method and mobile terminal
CN106354373B (en) Icon moving method and mobile terminal
US20100295780A1 (en) Method and apparatus for causing display of a cursor
CN107506130B (en) Character deleting method and mobile terminal
CN107221347B (en) Audio playing method and terminal
CN106873874B (en) Application program starting method and mobile terminal
CN107592458B (en) Shooting method and mobile terminal
CN106780314B (en) Jigsaw previewing method and mobile terminal
CN107688420B (en) Method for starting floating object and mobile terminal

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