CN107613194B - Focusing method, mobile terminal and computer readable storage medium - Google Patents

Focusing method, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN107613194B
CN107613194B CN201710735297.XA CN201710735297A CN107613194B CN 107613194 B CN107613194 B CN 107613194B CN 201710735297 A CN201710735297 A CN 201710735297A CN 107613194 B CN107613194 B CN 107613194B
Authority
CN
China
Prior art keywords
focusing
data
frame
mobile terminal
motion data
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
CN201710735297.XA
Other languages
Chinese (zh)
Other versions
CN107613194A (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 CN201710735297.XA priority Critical patent/CN107613194B/en
Publication of CN107613194A publication Critical patent/CN107613194A/en
Application granted granted Critical
Publication of CN107613194B publication Critical patent/CN107613194B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a focusing method, which is applied to a mobile terminal and comprises the following steps: in the process of focusing of the mobile terminal, obtaining first frame focusing data and first motion data corresponding to the first frame focusing data; judging whether the first motion data meet a first preset condition or not; and if the first motion data meet a first preset condition, controlling a moving module to keep the current position, reacquiring second frame focusing data, and finishing a focusing process based on the second focusing data. Therefore, when focusing, the accuracy of focusing data can be ensured, the focusing accuracy is improved, and the photo slicing rate is improved. The embodiment of the invention also discloses a mobile terminal and a computer readable storage medium.

Description

Focusing method, mobile terminal and computer readable storage medium
Technical Field
The present invention relates to the field of electronic devices, and in particular, to a focusing method, a mobile terminal, and a computer-readable storage medium.
Background
With the continuous development of scientific technology and electronic equipment, mobile terminals have become necessities in daily life of people, and photographing is an important function for current mobile terminals such as smart phones, tablet computers and the like, so that people can enjoy the convenience brought by the development of science and technology.
At present, in the process of photographing by a user holding a mobile terminal, if the user shakes hands in the camera focusing process, the mobile terminal is easily shaken slightly, so that the mobile terminal acquires abnormal focusing data, but the mobile terminal shakes slightly and does not trigger refocusing, the mobile terminal can directly use the abnormal focusing data to complete the focusing process, and finally the problems of low focusing accuracy and poor picture definition can occur.
Therefore, the focusing method in the prior art is not reasonable enough.
Disclosure of Invention
In view of this, embodiments of the present invention provide a focusing method, a mobile terminal and a computer readable storage medium to solve at least one problem in the prior art, so as to ensure accuracy of focusing data, improve focusing accuracy and improve a photo-filming rate during focusing.
The technical scheme of the embodiment of the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a focusing method applied to a mobile terminal, where the method includes: in the process of focusing of the mobile terminal, obtaining first frame focusing data and first motion data corresponding to the first frame focusing data; judging whether the first motion data meet a first preset condition or not; and if the first motion data meet a first preset condition, controlling a moving module to keep the current position, reacquiring second frame focusing data, and finishing a focusing process based on the second focusing data.
In a second aspect, an embodiment of the present invention provides a mobile terminal, where the mobile terminal at least includes: a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the above focusing method when executing the program.
In a third aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the steps of the above focusing method.
According to the focusing method, the mobile terminal and the computer readable storage medium provided by the embodiment of the invention, the mobile terminal can obtain the first frame focusing data and the corresponding first motion data in the focusing process, and then, in order to judge whether the first frame focusing data can be used for focusing, the mobile terminal can judge whether the first motion data meets a first preset condition; and finally, if the first motion data accords with the first motion data, the first frame of focusing data is abnormal, at the moment, the mobile terminal controls the mobile module to keep the current position, acquires the second frame of focusing data again, and completes the focusing process based on the second frame of focusing data. Therefore, whether the first focusing data obtained by the mobile terminal is abnormal can be determined by judging whether the first motion data corresponding to the first focusing data meets a first preset condition, and if the first focusing data is abnormal, the first focusing data is not used for completing focusing, but the second frame focusing data obtained again is used for completing focusing. Therefore, when focusing, the accuracy of focusing data can be ensured, the focusing accuracy is improved, and the photo slicing rate is improved.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention;
FIG. 2-1 is a schematic diagram of a system user interface according to a first embodiment of the invention;
fig. 2-2 is a first schematic diagram of an interface of a camera application according to a first embodiment of the invention;
fig. 2-3 are second schematic diagrams of an interface of a camera application according to a first embodiment of the invention;
FIGS. 2-4 are schematic flowcharts illustrating a focusing method according to a first embodiment of the invention;
FIG. 3 is a flowchart illustrating a focusing method according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of a mobile terminal in a fourth embodiment of the present invention.
Detailed Description
It should be understood that the embodiments described herein are only for explaining the technical solutions of the present invention, and are not intended to limit the scope of the present invention.
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 itself. Thus, "module", "component" or "unit" may be used mixedly.
The 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 tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: a Radio Frequency (RF) unit 101, a Wi-Fi (Wireless-Fidelity) module 102, an audio output unit 103, an audio/video (a/V) input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM, GPRS (General Packet Radio Service), CDMA2000, WCDMA, TD-SCDMA, FDD-LTE, TDD-LTE, etc.
Wi-Fi belongs to a short-distance wireless transmission technology, and a mobile terminal can help a user to receive and send emails, browse webpages, access streaming media and the like through a Wi-Fi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the Wi-Fi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the Wi-Fi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 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 unit 103 may also 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 unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the Wi-Fi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 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 mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of 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 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 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, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 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 interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices 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 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal 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 memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
Various embodiments of the method of the present invention will be presented below based on the above-mentioned mobile terminal hardware structure.
The technical solution of the present invention is further elaborated below with reference to the drawings and the specific embodiments.
Example one
Based on the foregoing embodiments, this embodiment provides a focusing method, an execution subject of the focusing method is a mobile terminal, in practical applications, the mobile terminal may be an electronic device that has a focusing function and is capable of taking a picture, such as a smart phone, a tablet computer, a digital camera, and the like, which has a front camera or a rear camera or a specific front camera and a specific rear camera at the same time, and certainly, the embodiment of the present invention is not limited specifically.
In practical application, the whole process of the mobile terminal for realizing focusing mainly comprises the following three steps.
Firstly, a mobile terminal triggers a focusing process;
in practical application, after a user opens a camera of the mobile terminal or clicks a preview interface of the camera, the mobile terminal generates a focusing instruction, then the mobile terminal executes the focusing instruction, current motion data is detected through a motion sensor, if the current motion data is larger than a preset threshold value, the mobile terminal is in an unstable state, at the moment, the mobile terminal cannot finish focusing, and a focusing process is not triggered; if the current motion data is smaller than the threshold value, the mobile terminal is in a stable state, and the mobile terminal can focus at the moment, then the mobile terminal triggers a focusing process to start focusing.
Illustratively, referring to fig. 2-1, a system user interface 21 is displayed on the mobile terminal, and at a first time, the user presses the screen for a long time on the right edge 22 of the screen of the mobile terminal and slides a preset trajectory to the other side of the screen. Next, referring to fig. 2-2, at a second time after the first time, as the user continues to slide on the screen of the mobile terminal, the mobile terminal has created and displayed a portion of the interface 23 of the camera application on the system user interface 21, and finally, after the mobile terminal has completely displayed the interface 23 of the camera application, the mobile terminal can obtain a focusing instruction.
Or, referring to fig. 2-3, an interface 23 of the camera application is displayed on the mobile terminal, a preview screen 24 of a puppy is displayed in the interface 23, and after the user determines that the puppy part 25 is to be focused according to the preview screen 24, the user can click on the screen position corresponding to the part 25 with a finger, and at this time, the mobile terminal can also obtain a focusing instruction.
Secondly, the mobile terminal continuously collects focusing data and determines a focusing position by using a focusing algorithm;
when the mobile terminal triggers the focusing process but does not complete the focusing process, the mobile terminal is in a state of the process of focusing, and in order to complete the focusing process, the mobile terminal collects focusing data when the focusing motor is at an initial position, then inputs the focusing data into a focusing algorithm to calculate a new motor position, then adjusts the focusing motor to the new motor position, and collects new focusing data again according to the new motor position. And adjusting the position of the focusing motor by continuously collecting focusing data until the clearest motor position is obtained, namely determining the focusing position of the focusing lens.
In practical applications, the focus Motor in the camera head may be a Voice Coil Motor (VCM), an ultrasonic Motor, or the like. The focusing algorithm may be an inverse differential focusing algorithm, or may also be a phase focusing algorithm, or of course, may also be other, and the embodiment of the present invention is not particularly limited.
And thirdly, the mobile terminal completes the focusing process based on the focusing position.
After the clearest motor position (i.e. the focusing position) is calculated by the focusing algorithm, the mobile terminal controls the focusing motor to move to the corresponding clearest motor position, so that the focusing lens is driven to move to the focusing position, and the camera is focused. Thus, the entire focusing process is completed.
In the focusing process of the mobile terminal, if the motion data is detected to be larger than the threshold value, secondary focusing is triggered, and at the moment, the mobile terminal resets the position of the focusing motor to the initial position for focusing again. If the motion data is detected to be less than the threshold value all the time, the focusing process is completed by the collected focusing data.
However, in practical applications, tests show that when focusing is performed by using the above focusing method, the adaptive capacity of the mobile terminal to the environment is poor, and in the process of taking a picture by holding the mobile terminal by a user, if the user shakes his hand during the focusing process of a camera, the mobile terminal is likely to shake slightly, so that the mobile terminal acquires abnormal focusing data, but the mobile terminal shakes slightly and does not trigger re-focusing, the mobile terminal can directly use the abnormal focusing data to complete the focusing process, and finally the problems of low focusing accuracy and poor picture definition occur.
The reason why the mobile terminal has poor adaptability to the environment when focusing is performed using the above focusing method will be described in detail below.
Firstly, when the threshold is set to be large, if the mobile terminal slightly shakes due to hand shake of a user in the process of focusing of the mobile terminal, at this time, although shaking affects accuracy of focusing data, the mobile terminal acquires abnormal focusing data, but motion data acquired by the mobile terminal at present is still smaller than the threshold, the mobile terminal considers that the mobile terminal is still in a stable state, focusing is not triggered again, the abnormal focusing data is still input into a focusing algorithm, and calculation of the most clear motor position for focusing is affected finally, so that the problem of secondary clearness is caused. Therefore, due to the fact that focusing accuracy is reduced, the definition of an image formally shot by the mobile terminal is poor after focusing is finished;
secondly, when the threshold is set to be small, although the accuracy of the acquired focusing data can be ensured, the mobile terminal is difficult to detect a stable state, focusing triggering is slow, and user experience is poor; and because the set threshold value is small, an unstable state can be easily detected in the focusing process, secondary focusing can be easily triggered, and a user can see the focusing process of the preview picture which shakes back and forth for many times, so that the user experience is influenced again.
In order to solve the above problems, a larger threshold may be set first to increase the focusing triggering speed and reduce the number of times of triggering secondary focusing, then, in the process of focusing by the mobile terminal, abnormality detection is performed on the collected focusing data, if the focusing data is abnormal, the focusing data is not processed by using a focusing algorithm, and if the focusing data is not abnormal but accurate, the focusing data may be added into the focusing algorithm for processing, so as to calculate an accurate motor position. Therefore, focusing accuracy can be improved while the trigger focusing speed is ensured, and user experience is improved.
Then, fig. 2-4 are schematic flow charts of a focusing method in a first embodiment of the present invention, and referring to fig. 2-4, the method includes:
s201: in the process of focusing of the mobile terminal, obtaining first frame focusing data and first motion data corresponding to the first frame focusing data;
specifically, in the process of focusing by the mobile terminal, the mobile terminal can acquire first frame focusing data through an image sensor in the camera and acquire corresponding first motion data through a motion sensor. Thus, the mobile terminal obtains the first frame focusing data and the corresponding first motion data. The focusing process of the mobile terminal means that the mobile terminal triggers the focusing process but does not complete the focusing process, that is, the optimal focusing position is not found.
Here, the first frame focusing data refers to data collected by an image sensor, and the first motion data refers to data collected by a motion sensor.
In practical applications, the image sensor in the camera of the mobile terminal may be a Complementary Metal Oxide Semiconductor (CMOS) image sensor, a Charge-coupled Device (CCD) image sensor, or other types of image sensors. Here, the embodiments of the present invention are not particularly limited. Then, the first frame focusing data may be image data.
In practical applications, the motion sensor may be an angular velocity sensor, i.e. a gyroscope (gyro), an acceleration sensor, or other sensors. Then, when the motion sensor is an angular velocity sensor, the first motion data may be gyroscope data.
S202: judging whether the first motion data meet a first preset condition or not;
since the first motion data may reflect a state of the mobile terminal when acquiring the first frame of focusing data, and the state of the mobile terminal may determine an availability of the first frame of focusing data, then, in order to determine whether the first frame of focusing data can be input into the focusing algorithm to complete the focusing process, the mobile terminal may first determine whether the first motion data meets a first preset condition after acquiring the first frame of focusing data and the first motion data, so as to determine whether to perform focusing by using the first frame of focusing data according to a determination result, that is, whether to perform focusing by re-acquiring the second frame of focusing data.
In practical application, the state of the mobile terminal can be divided into: three kinds of stable state, jitter state and unstable state. Due to different states of the mobile terminal, the usability degrees of the focusing data acquired by the mobile terminal are different, wherein the usability degree of the focusing data acquired by the mobile terminal in a stable state is accurate and tends to real focusing data; the usability degree of the focusing data acquired by the mobile terminal in the shaking state is abnormal, and a small error exists between the usability degree and the real focusing data; the availability of the focusing data taken by the mobile terminal in an unstable state is unavailable, and there is a very large difference from the real focusing data.
Correspondingly, according to the state of the mobile terminal, the availability of the focusing data collected by the mobile terminal can be divided into: accurate, abnormal, and unusable. The accurate focusing data can be directly input into a focusing algorithm to complete the focusing process; the abnormal focusing data is directly input into the focusing algorithm, which is easy to reduce the focusing accuracy, so that how to use the abnormal focusing data needs to be seen according to different situations; the entry of unusable focus data into the focus algorithm results in the calculation of the wrong motor position, and therefore unusable focus data cannot be used to complete the focusing process.
Correspondingly, three preset conditions can be set according to the state of the mobile terminal. The motion data meet different preset conditions, which indicate that the states of the mobile terminal are different.
In the implementation process, two preset thresholds, one large threshold and one small threshold, can be set, and the three states of the mobile terminal can be distinguished by comparing the two thresholds with the motion data.
Illustratively, a first preset threshold and a second preset threshold are set, wherein the first preset threshold is smaller than the second preset threshold, the first preset threshold is mainly used for distinguishing the jitter state and the stable state, and the second preset threshold is mainly used for distinguishing the jitter state and the unstable state.
In the following, a first preset threshold and a second preset threshold are taken as an example to describe how to determine the state of the mobile terminal according to the relationship between the first motion data and the two preset thresholds. The method for determining the state of the mobile terminal based on the first motion data and the first and second preset thresholds may be, but is not limited to, the following three cases:
in the first situation, if the first motion data is greater than a first preset threshold and smaller than a second preset threshold, the mobile terminal is in a shaking state, and at the moment, the first motion data meets a first preset condition;
then, in an implementation procedure, S202 may include: comparing the first motion data with a first preset threshold and a second preset threshold respectively, wherein the first preset threshold is smaller than the second preset threshold; and if the first motion data is larger than a first preset threshold and smaller than a second preset threshold, determining that the first motion data meets a first preset condition.
In case two, if the first motion data is smaller than the first preset threshold, the mobile terminal is in a stable state, and at the moment, the first motion data meets a second preset condition;
and in a third situation, if the first motion data is larger than the second preset threshold, the mobile terminal is in an unstable state, and at the moment, the first motion data meets a third preset condition.
S203: and if the first motion data meet the first preset condition, controlling the mobile module to keep the current position, reacquiring the focusing data of the second frame, and finishing the focusing process based on the focusing data of the second frame.
Here, the fact that the first motion data meets the first preset condition indicates that the mobile terminal is in a shaking state when the first frame of focusing data is collected, at this time, the availability of the first frame of focusing data is abnormal, that is, there is only a small error between the first frame of focusing data and the real focusing data. Because the error is small, in order to improve the focusing accuracy while considering the focusing speed, the mobile terminal may control the mobile module to keep at the current position without resetting the position of the mobile module to the initial position to reacquire new focusing data of one frame, that is, second frame focusing data, so as to input the second frame focusing data into the focusing algorithm to complete the focusing process.
In practice, the processor of the mobile terminal may send a control command to the mobile module to control the mobile module to maintain the current position.
In practical applications, the moving module may be an open-loop focusing motor, or a closed-loop focusing motor, and of course, may also be other devices that can drive the focusing lens to move.
In implementation, after determining that the first frame of focusing data is abnormal, the method for acquiring the second frame of focusing data may be, but is not limited to, the following three cases according to the difference in availability of the focusing data after the first frame of focusing data.
In the first case, if the next frame of focus data of the first frame of focus data is accurate, the next frame of focus data of the first frame of focus data may be directly determined as the second frame of focus data.
In other embodiments of the present invention, S203 may include: acquiring third frame focusing data and second motion data of the third frame focusing data, wherein the third frame focusing data is next frame focusing data of the first frame focusing data; judging whether the second motion data meet a second preset condition or not; and if the second motion data meets the second preset condition, determining the third frame of focusing data as the second frame of focusing data.
Here, the second motion data meeting the second preset condition means that the second motion data is smaller than the first preset threshold, which indicates that the mobile terminal is in a stable state when the third frame of focusing data is collected, at this time, the availability of the third frame of focusing data is accurate, and the third frame of focusing data tends to be real focusing data, so that the third frame of focusing data can be determined as the second frame of focusing data in order to improve the focusing accuracy.
In the second case, if the next frame of focusing data of the first frame of focusing data is abnormal, the control module keeps the current position and continues to wait for new next frame of focusing data until the required second focusing data is obtained.
In the second case, if the mobile terminal is in a shaking state all the time and cannot enter a stable state, in order to avoid unnecessary waiting, the waiting time or the total number of frames for obtaining the next frame of focusing data may be limited.
In the following, how to determine the second frame of focus data based on the N frames of focus data will be described in detail by taking an example that the N frames of focus data after the first frame of focus data are all abnormal.
In other embodiments of the present invention, S203 may include:
step 2031: acquiring continuous N frames of focusing data after the first frame of focusing data in preset time, and acquiring third motion data corresponding to the N frames of focusing data;
wherein N is an integer greater than or equal to 2.
Here, N is a maximum shaking frame threshold indicating a maximum total number of frames of focusing data acquired by the mobile terminal at the current motor position when shaking occurs. In practical application, N can be determined according to the expectation of a user on focusing accuracy and focusing speed, and if the user only requires higher focusing accuracy and does not require the focusing speed, a larger maximum unstable frame number can be set; if the user only requires a higher focusing speed and does not require focusing accuracy, a smaller maximum unstable frame number may be set.
Step 2032: respectively judging whether each third motion data accords with a first preset condition;
step 2033: and if each third motion data accords with the first preset condition, determining second frame focusing data based on the N frames of focusing data according to a preset strategy.
In practical application, when the mobile terminal is in a preset time, the third motion data corresponding to each of the N consecutive frames of focusing data after the acquired first frame of focusing data all meet a first preset condition, which indicates that the N frames of focusing data are all abnormal. In this case, it is very likely that the next frame of focusing data that the mobile terminal continues to wait for is also abnormal, and therefore, in order to improve the focusing accuracy while considering the focusing speed, the mobile terminal may determine the second frame of focusing data according to the N frames of focusing data and according to the preset policy.
In practice, according to the different strategy for determining the focusing data of the second frame, step 2033 may be, but is not limited to, two methods:
in the first method, the degree of abnormality of the focusing data is reduced by an averaging method, and the average data of the N frames of focusing data can be used as the second frame of focusing data.
At this time, step 2033 may include: calculating the mean value data of the N frames of focusing data; the mean data is determined as second frame focusing data.
In the second method, the focusing data with the minimum error degree of the N frames of focusing data may be determined as the second frame of focusing data, that is, the focusing data with the closest available degree to "accurate" in the N frames of focusing data may be used as the second frame of focusing data.
At this time, step 2033 may further include: comparing each third motion data with a first preset threshold value respectively; according to the comparison result, fourth motion data closest to the first preset threshold value is determined from each third motion data; and determining the focusing data corresponding to the fourth motion data as the second frame focusing data from the N frames of focusing data.
In the implementation process, when the third motion data corresponding to each of the N consecutive frames of focusing data after the acquired first frame of focusing data does not all meet the first preset condition within the preset time, it indicates that accurate focusing data or unavailable focusing data may exist in the N frames of focusing data, except for abnormal focusing data. Then, after step 2032, S203 may further comprise:
step 2034: if the third motion data do not accord with the first preset condition, determining fifth motion data which do not accord with the first preset condition from the third motion data; judging whether the fifth motion data meets a second preset condition or not; and if the fifth motion data accords with the second preset condition, determining the focusing data corresponding to the fifth motion data as the second frame focusing data from the N frames of focusing data.
Third, if the next frame of focusing data of the first frame of focusing data is not available, the mobile terminal may reset the mobile module position and re-acquire the next frame of focusing data.
In practical applications, if the availability of the next frame of focusing data of the first frame of focusing data is unavailable, at this time, the mobile terminal is in a motion state when acquiring the next frame of focusing data of the first frame of focusing data, and the acquired focusing data has a large error with the real focusing data and cannot be input into the focusing algorithm, then, in order to improve the focusing accuracy, the mobile terminal must reset the position of the mobile module to an initial position to acquire new next frame of focusing data again, so as to input the new next frame of focusing data into the focusing algorithm to complete the focusing process.
In other embodiments of the present invention, after performing S202, the focusing method may further include: if the first motion data does not accord with the first preset condition, judging whether the first motion data accords with a second preset condition; and if the first motion data accords with the second preset condition, finishing the focusing process based on the first focusing data.
Here, the fact that the first motion data meets the second preset condition indicates that the mobile terminal is in a stable state when the first frame of focusing data is collected, at this time, the usability of the first frame of focusing data is accurate, that is, the first frame of focusing data tends to be real focusing data, and the first frame of focusing data can be directly input into a focusing algorithm to complete a focusing process.
In another embodiment of the present invention, after performing S202, the focusing method may further include: if the first motion data does not accord with the first preset condition, judging whether the first motion data accords with a third preset condition; and if the first motion data meet the third preset condition, resetting the position of the moving module to the initial position, re-acquiring the fourth frame of focusing data, and finishing the focusing process based on the fourth focusing data.
Here, the fact that the first motion data meets the third preset condition indicates that the mobile terminal is in a motion state when the first frame of focusing data is collected, at this time, the availability of the first frame of focusing data is unavailable, that is, the first frame of focusing data has a large error with the real focusing data. Since the error is large and the error cannot be input into the focusing algorithm, in order to improve the focusing accuracy, the mobile terminal must reset the position of the mobile module to the initial position to obtain a new frame of focusing data again, that is, the fourth frame of focusing data, so as to input the fourth frame of focusing data into the focusing algorithm to complete the focusing process.
At this point, the focusing process is completed.
As can be seen from the above, in the focusing method provided in this embodiment, the mobile terminal obtains the first frame focusing data and the corresponding first motion data during the focusing process, and then, in order to determine whether the first frame focusing data can be used for focusing, the mobile terminal determines whether the first motion data meets a first preset condition; and finally, if the first motion data accords with the first motion data, the first frame of focusing data is abnormal, at the moment, the mobile terminal controls the mobile module to keep the current position, acquires the second frame of focusing data again, and completes the focusing process based on the second frame of focusing data. Therefore, whether the first focusing data obtained by the mobile terminal is abnormal can be determined by judging whether the first motion data corresponding to the first focusing data meets a first preset condition, and if the first focusing data is abnormal, the first focusing data is not used for completing focusing, but the second frame focusing data obtained again is used for completing focusing. Therefore, when focusing, the accuracy of focusing data can be ensured, the focusing accuracy is improved, and the photo slicing rate is improved.
Example two
Based on the foregoing embodiments, the present embodiment provides a focusing method, which is applied to the following scenes: the mobile module in the mobile terminal is a focusing motor, when the focusing data acquired by the mobile terminal is abnormal, the mobile terminal controls the focusing motor to keep the current position, and the focusing process is completed based on the accurate focusing data of the next frame.
Then, fig. 3 is a flowchart illustrating a focusing method according to a second embodiment of the present invention, and referring to fig. 3, the method includes:
s301: in the process of focusing of the mobile terminal, obtaining first frame focusing data and first motion data corresponding to the first frame focusing data;
s302: judging whether the first motion data is larger than a first preset threshold and smaller than a second preset threshold;
if the first motion data is greater than the first preset threshold and less than the second preset threshold, S303 is performed.
S303: acquiring third frame focusing data and second motion data corresponding to the third frame focusing data;
in executing S303, the processor of the mobile terminal controls the focusing motor in the camera to be kept at the current position, i.e., the motor position when the first frame of focusing data is acquired. That is, the motor position at which the third frame of focus data is acquired is the same as the motor position at which the first frame of focus data is acquired.
S304: judging whether the second motion data meet a second preset condition or not;
if the second motion data is smaller than the first preset threshold, indicating that the second motion data meets the second preset condition, S305 is performed.
S305: and determining the third frame of focusing data as second frame of focusing data, and finishing the focusing process based on the second frame of focusing data.
In the embodiment of the invention, when the focusing data acquired by the mobile terminal is abnormal, the mobile terminal controls the focusing motor to keep the current position to acquire the accurate focusing data of the next frame, and then completes the focusing process according to the accurate focusing data, so that the abnormal focusing data can be prevented from being used for focusing, and the focusing accuracy can be improved.
EXAMPLE III
Based on the foregoing embodiments, the present embodiment provides a focusing method, which is applied to the following scenes: in order to optimize the focusing accuracy of camera photographing and avoid the problem of sub-resolution caused by data abnormity due to hand trembling, the mobile terminal sets two gyro thresholds with different sizes aiming at gyro data to determine how to realize focusing.
The focusing method provided by the third embodiment of the invention mainly comprises the following six steps:
step 1: presetting two gyro thresholds with different sizes, wherein the larger gyro threshold is A, and the smaller gyro threshold is B, namely A > B;
step 2: when the mobile terminal detects that the gyro data is smaller than A, the mobile terminal is determined to be stable, and the mobile terminal starts to focus;
step 3: when gyro data corresponding to current frame focusing data is detected to be larger than A in the focusing process, the mobile terminal triggers secondary refocusing, and at the moment, the processor of the mobile terminal resets the position of the motor to the initial position and starts focusing again.
step 4: when detecting that gyro data corresponding to current frame focusing data is smaller than A and larger than B in the focusing process, the mobile terminal does not process the current frame focusing data, namely the current frame focusing data is not input into a focusing algorithm, at the moment, the mobile terminal does not trigger secondary refocusing, and a processor of the mobile terminal controls a motor to keep the current position and waits for the next frame focusing data;
step 5: when the gyro value of the current frame data is detected to be smaller than B in the focusing process, the current frame data is regarded as normal available focusing data and added into focusing algorithm data for processing;
step 6: if gyro data corresponding to each of N (maximum unstable frame threshold) frames of focusing data in step4 are all in a state of being smaller than a and larger than B, the mobile terminal does not continue to wait for the next frame of focusing data, but determines target focusing data based on the N frames of focusing data to add to the focusing algorithm for processing.
As can be seen from the above, in the focusing method provided in this embodiment, the mobile terminal realizes the focusing process by setting two gyro thresholds with different sizes for gyro data, so that when the focusing method provided in this embodiment is used for focusing, the focusing accuracy can be improved on the premise of not affecting user experience, the problem of poor clarity of photos due to shaking hands when the handheld mobile terminal is used for taking photos is reduced, the photo filming rate is improved, and the user experience is improved.
Example four
Based on the same inventive concept, the present embodiment provides a mobile terminal, which is consistent with the mobile terminal in one or more embodiments described above.
Fig. 4 is a schematic structural diagram of a mobile terminal according to a fourth embodiment of the present invention, and referring to fig. 4, the mobile terminal 40 includes: a memory 401, a processor 402, and a computer program 403 stored on the memory 401 and executable on the processor 402, the processor 402 implementing the following steps when executing the computer program 403: in the process of focusing of the mobile terminal, obtaining first frame focusing data and first motion data corresponding to the first frame focusing data; judging whether the first motion data meet a first preset condition or not; and if the first motion data meet the first preset condition, controlling the mobile module to keep the current position, reacquiring the focusing data of the second frame, and finishing the focusing process based on the focusing data of the second frame.
In an embodiment of the present invention, when the processor executes the program, the following steps may be further implemented: comparing the first motion data with a first preset threshold and a second preset threshold respectively, wherein the first preset threshold is smaller than the second preset threshold; and if the first motion data is larger than a first preset threshold and smaller than a second preset threshold, determining that the first motion data meets a first preset condition.
In an embodiment of the present invention, when the processor executes the program, the following steps may be further implemented: acquiring third frame focusing data and second motion data corresponding to the third frame focusing data, wherein the third frame focusing data is next frame focusing data of the first frame focusing data; judging whether the second motion data meet a second preset condition or not; and if the second motion data meets the second preset condition, determining the third frame of focusing data as the second frame of focusing data.
In an embodiment of the present invention, when the processor executes the program, the following steps may be further implemented: acquiring continuous N frames of focusing data after the first frame of focusing data in preset time, and acquiring third motion data corresponding to the N frames of focusing data respectively, wherein N is an integer greater than or equal to 2; respectively judging whether each third motion data accords with a first preset condition; and if each third motion data accords with the first preset condition, determining second frame focusing data based on the N frames of focusing data according to a preset strategy.
In an embodiment of the present invention, when the processor executes the program, the following steps may be further implemented: calculating the mean value data of the N frames of focusing data; the mean data is determined as second frame focusing data.
In an embodiment of the present invention, when the processor executes the program, the following steps may be further implemented: comparing each third motion data with a first preset threshold value respectively; according to the comparison result, fourth motion data closest to the first preset threshold value is determined from each third motion data; and determining the focusing data corresponding to the fourth motion data as the second frame focusing data from the N frames of focusing data.
In an embodiment of the present invention, when the processor executes the program, the following steps may be further implemented: if the first motion data does not accord with the first preset condition, judging whether the first motion data accords with a third preset condition; and if the first motion data meet the third preset condition, resetting the position of the moving module to the initial position, re-acquiring the fourth frame of focusing data, and finishing the focusing process based on the fourth frame of focusing data.
In an embodiment of the present invention, when the processor executes the program, the following steps may be further implemented: if the first motion data does not accord with the first preset condition, judging whether the first motion data accords with a second preset condition; and if the first motion data accords with the second preset condition, finishing the focusing process based on the first frame focusing data.
In practical applications, the Processor may be implemented by a Central Processing Unit (CPU), a GPU, a microprocessor Unit (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like.
Here, it should be noted that: the above description of the embodiment of the mobile terminal is similar to the above description of the method, and has the same advantageous effects as the embodiment of the method. For technical details not disclosed in the terminal embodiments of the present invention, a person skilled in the art shall understand with reference to the description of the method embodiments of the present invention.
EXAMPLE five
Based on the same inventive concept, the present embodiment provides a computer-readable storage medium, which can be applied to a mobile terminal in one or more embodiments, the computer-readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the following steps: in the process of focusing of the mobile terminal, obtaining first frame focusing data and first motion data corresponding to the first frame focusing data; judging whether the first motion data meet a first preset condition or not; and if the first motion data meet the first preset condition, controlling the mobile module to keep the current position, reacquiring the focusing data of the second frame, and finishing the focusing process based on the focusing data of the second frame.
In an embodiment of the present invention, the step of determining whether the first motion data meets the first preset condition may be further executed by the one or more processors to implement the following steps: comparing the first motion data with a first preset threshold and a second preset threshold respectively, wherein the first preset threshold is smaller than the second preset threshold; and if the first motion data is larger than a first preset threshold and smaller than a second preset threshold, determining that the first motion data meets a first preset condition.
In an embodiment of the present invention, the step of retrieving the second frame of focusing data may be further executed by the one or more processors to implement the following steps: acquiring third frame focusing data and second motion data corresponding to the third frame focusing data, wherein the third frame focusing data is next frame focusing data of the first frame focusing data; judging whether the second motion data meet a second preset condition or not; and if the second motion data meets the second preset condition, determining the third frame of focusing data as the second frame of focusing data.
In an embodiment of the present invention, the step of retrieving the second frame of focusing data may be further executed by the one or more processors to implement the following steps: acquiring continuous N frames of focusing data after the first frame of focusing data in preset time, and acquiring third motion data corresponding to the N frames of focusing data respectively, wherein N is an integer greater than or equal to 2; respectively judging whether each third motion data accords with a first preset condition; and if each third motion data accords with the first preset condition, determining second frame focusing data based on the N frames of focusing data according to a preset strategy.
In an embodiment of the present invention, the step of determining the second frame focusing data according to a preset policy based on the N frames of focusing data may be further executed by the one or more processors to implement the following steps: calculating the mean value data of the N frames of focusing data; the mean data is determined as second frame focusing data.
In an embodiment of the present invention, the step of determining the second frame focusing data according to a preset policy based on the N frames of focusing data may be further executed by the one or more processors to implement the following steps: comparing each third motion data with a first preset threshold value respectively; according to the comparison result, fourth motion data closest to the first preset threshold value is determined from each third motion data; and determining the focusing data corresponding to the fourth motion data as the second frame focusing data from the N frames of focusing data.
In an embodiment of the present invention, the one or more programs may be executed by one or more processors to implement the steps of: if the first motion data does not accord with the first preset condition, judging whether the first motion data accords with a third preset condition; and if the first motion data meet the third preset condition, resetting the position of the moving module to the initial position, re-acquiring the fourth frame of focusing data, and finishing the focusing process based on the fourth frame of focusing data.
In an embodiment of the present invention, the one or more programs may be executed by one or more processors to implement the steps of: if the first motion data does not accord with the first preset condition, judging whether the first motion data accords with a second preset condition; and if the first motion data accords with the second preset condition, finishing the focusing process based on the first frame focusing data.
The computer-readable storage medium may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a magnetic Random Access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read-Only Memory (CD-ROM); and may be various electronic devices such as mobile phones, computers, tablet devices, personal digital assistants, etc., including one or any combination of the above-mentioned memories.
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 (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.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (9)

1. A focusing method is applied to a mobile terminal, and the method comprises the following steps:
in the process of focusing of the mobile terminal, obtaining first frame focusing data and first motion data corresponding to the first frame focusing data; the process of focusing the mobile terminal means that the mobile terminal triggers a focusing process but does not complete the focusing process, and the process of focusing is triggered when the mobile terminal is in a stable state;
judging whether the first motion data meet a first preset condition or not; wherein, the judging whether the first motion data meets a first preset condition includes: comparing the first motion data with a first preset threshold and a second preset threshold respectively, wherein the first preset threshold is smaller than the second preset threshold; the first preset threshold is used for distinguishing a jitter state from a stable state, and the second preset threshold is used for distinguishing a jitter state from an unstable state; if the first motion data is larger than a first preset threshold and smaller than a second preset threshold, determining that the first motion data meets a first preset condition;
if the first motion data meet a first preset condition, controlling a mobile module to keep the current position, reacquiring second frame focusing data, and completing a focusing process based on the second frame focusing data, wherein when the first motion data meet the first preset condition, the mobile terminal is in a shaking state when acquiring first frame focusing data; the moving module is a device for driving the focusing lens to move.
2. The method of claim 1, wherein said retrieving second frame focus data comprises:
acquiring third frame focusing data and second motion data corresponding to the third frame focusing data, wherein the third frame focusing data is next frame focusing data of the first frame focusing data;
judging whether the second motion data meet a second preset condition or not; if the second motion data is smaller than the first preset threshold, determining that the second motion data meets the second preset condition;
and if the second motion data meets a second preset condition, determining the third frame of focusing data as the second frame of focusing data.
3. The method of claim 1, wherein said retrieving second frame focus data comprises:
acquiring continuous N frames of focusing data after the first frame of focusing data in preset time, and acquiring third motion data corresponding to the N frames of focusing data respectively, wherein N is an integer greater than or equal to 2;
respectively judging whether each third motion data accords with a first preset condition;
and if each third motion data accords with a first preset condition, determining the second frame focusing data based on the N frames of focusing data according to a preset strategy.
4. The method of claim 3, wherein determining the second frame focusing data according to a preset strategy based on the N frames focusing data comprises:
calculating mean data of the N frames of focusing data;
determining the mean data as the second frame focusing data.
5. The method of claim 3, wherein determining the second frame focusing data according to a preset strategy based on the N frames focusing data comprises:
comparing each third motion data with the first preset threshold value respectively;
according to the comparison result, fourth motion data closest to the first preset threshold value is determined from each third motion data;
and determining focusing data corresponding to the fourth motion data as the second frame focusing data from the N frames of focusing data.
6. The method of claim 1, further comprising:
if the first motion data does not accord with a first preset condition, judging whether the first motion data accords with a third preset condition; if the first motion data is larger than the second preset threshold, determining that the first motion data meets the third preset condition;
and if the first motion data meet a third preset condition, resetting the position of the moving module to an initial position, re-acquiring fourth frame focusing data, and finishing a focusing process based on the fourth frame focusing data.
7. The method of claim 1, further comprising:
if the first motion data does not accord with a first preset condition, judging whether the first motion data accords with a second preset condition; if the first motion data is smaller than the first preset threshold, determining that the first motion data meets the second preset condition;
and if the first motion data accords with a second preset condition, finishing a focusing process based on the first frame focusing data.
8. A mobile terminal, characterized in that the mobile terminal comprises at least: memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the focusing method as claimed in any one of claims 1 to 7 when executing the program.
9. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the focusing method as claimed in any one of claims 1 to 7.
CN201710735297.XA 2017-08-24 2017-08-24 Focusing method, mobile terminal and computer readable storage medium Active CN107613194B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710735297.XA CN107613194B (en) 2017-08-24 2017-08-24 Focusing method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710735297.XA CN107613194B (en) 2017-08-24 2017-08-24 Focusing method, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107613194A CN107613194A (en) 2018-01-19
CN107613194B true CN107613194B (en) 2020-10-16

Family

ID=61065887

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710735297.XA Active CN107613194B (en) 2017-08-24 2017-08-24 Focusing method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107613194B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022000258A1 (en) * 2020-06-30 2022-01-06 深圳市大疆创新科技有限公司 Focusing method and apparatus, electronic device, and computer readable medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101872105A (en) * 2010-06-02 2010-10-27 华为终端有限公司 Method and device for photographing
CN102970485A (en) * 2012-12-03 2013-03-13 广东欧珀移动通信有限公司 Automatic focusing method and device
WO2016117107A1 (en) * 2015-01-23 2016-07-28 オリンパス株式会社 Endoscope device and focus control method for endoscope device
CN106161919A (en) * 2015-04-15 2016-11-23 阿里巴巴集团控股有限公司 The method and apparatus of scanogram

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103870257A (en) * 2012-12-13 2014-06-18 腾讯科技(深圳)有限公司 Continuous focusing method and device
JP2016142925A (en) * 2015-02-02 2016-08-08 キヤノン株式会社 Imaging apparatus, method of controlling the same, program, and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101872105A (en) * 2010-06-02 2010-10-27 华为终端有限公司 Method and device for photographing
CN102970485A (en) * 2012-12-03 2013-03-13 广东欧珀移动通信有限公司 Automatic focusing method and device
WO2016117107A1 (en) * 2015-01-23 2016-07-28 オリンパス株式会社 Endoscope device and focus control method for endoscope device
CN106161919A (en) * 2015-04-15 2016-11-23 阿里巴巴集团控股有限公司 The method and apparatus of scanogram

Also Published As

Publication number Publication date
CN107613194A (en) 2018-01-19

Similar Documents

Publication Publication Date Title
CN107566721B (en) Information display method, terminal and computer readable storage medium
EP3640732B1 (en) Method and terminal for acquire panoramic image
CN109348020B (en) Photographing method and mobile terminal
CN110505408B (en) Terminal shooting method and device, mobile terminal and readable storage medium
WO2019129020A1 (en) Automatic focusing method of camera, storage device and mobile terminal
US11785331B2 (en) Shooting control method and terminal
CN110300267B (en) Photographing method and terminal equipment
CN107948360B (en) Shooting method of flexible screen terminal, terminal and computer readable storage medium
CN110049221B (en) Shooting method and mobile terminal
CN107566734B (en) Intelligent control method, terminal and computer readable storage medium for portrait photographing
WO2018219275A1 (en) Focusing method and device, computer-readable storage medium, and mobile terminal
CN108881721B (en) Display method and terminal
CN109146463B (en) Mobile payment method, mobile terminal and computer readable storage medium
WO2019144815A1 (en) Photographing method and mobile terminal
WO2019137535A1 (en) Object distance measurement method and terminal device
CN108111761B (en) Anti-shake processing method, terminal and computer readable storage medium
CN110769154B (en) Shooting method and electronic equipment
CN110602387B (en) Shooting method and electronic equipment
CN111064896A (en) Device control method and electronic device
CN109005337B (en) Photographing method and terminal
CN108243489B (en) Photographing control method and mobile terminal
CN108197560B (en) Face image recognition method, mobile terminal and computer-readable storage medium
US10270963B2 (en) Angle switching method and apparatus for image captured in electronic terminal
CN110958387B (en) Content updating method and electronic equipment
CN107613194B (en) Focusing method, mobile terminal and computer readable 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