Nothing Special   »   [go: up one dir, main page]

CN106101558A - camera focusing method, device and terminal - Google Patents

camera focusing method, device and terminal Download PDF

Info

Publication number
CN106101558A
CN106101558A CN201610616224.4A CN201610616224A CN106101558A CN 106101558 A CN106101558 A CN 106101558A CN 201610616224 A CN201610616224 A CN 201610616224A CN 106101558 A CN106101558 A CN 106101558A
Authority
CN
China
Prior art keywords
photographic head
module
angle
distance
focusing
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.)
Granted
Application number
CN201610616224.4A
Other languages
Chinese (zh)
Other versions
CN106101558B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610616224.4A priority Critical patent/CN106101558B/en
Publication of CN106101558A publication Critical patent/CN106101558A/en
Application granted granted Critical
Publication of CN106101558B publication Critical patent/CN106101558B/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/67Focus control based on electronic image sensor signals

Landscapes

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

Abstract

The invention discloses a kind of camera focusing method, device and terminal.Wherein method includes: when detecting that photographic head starts, and obtains the angle at the center of destination object distance photographic head coverage;According to angle-determining target drives displacement, and rotate according to the laser Focusing module in target drives Bit andits control terminal;The distance between terminal and destination object is obtained by the laser Focusing module after rotating;Obtain focal distance according to angle and distance, and focus according to focal distance control photographic head.The method can be efficiently against the defect of tradition contrast focusing, it is also possible to accomplish that target focus function is to promote target tracking performance real-time, and the shooting improving user is experienced.

Description

Camera focusing method, device and terminal
Technical field
The present invention relates to technical field of electronic equipment, particularly relate to a kind of camera focusing method, device and terminal.
Background technology
Along with electronic technology and the fast development of image processing techniques, the camera function of terminal is from strength to strength.In shooting During, in order to photographed the most apparent photo, need to focus, namely need to regulate according to current scene The position of camera lens is to reach to obtain the photo of fine definition.In actual applications, the focusing method generally used is mostly logical Cross what traditional contrast focusing realized.But, owing to contrast focusing needs to be scanned the object depth of field, picture often occurs Face shake and fuzzy process, greatly reduce Consumer's Experience.
Summary of the invention
The purpose of the present invention is intended to solve one of above-mentioned technical problem the most to a certain extent.
To this end, the first of the present invention purpose is to propose a kind of camera focusing method.The method can effectively gram The defect of clothes tradition contrast focusing, it is also possible to accomplish that target focus function, to promote target tracking performance, improves real-time The shooting of user is experienced.
Second object of the present invention is to propose a kind of camera focusing device.
Third object of the present invention is to propose a kind of terminal.
Fourth object of the present invention is to propose another kind of terminal.
For reaching above-mentioned purpose, the camera focusing method of first aspect present invention embodiment, including: photographic head detected During startup, obtain the destination object angle apart from the center of described photographic head coverage;Drive according to described angle-determining target Dynamic displacement, and rotate according to the laser Focusing module in described target drives Bit andits control terminal;By the institute after rotating State laser Focusing module and obtain the distance between described terminal and described destination object;Obtain according to described angle and described distance Take focal distance, and focus according to the described focal distance described photographic head of control.
Camera focusing method according to embodiments of the present invention, when detecting that photographic head starts, obtain destination object away from From the angle at the center of photographic head coverage, afterwards, can be according to this angle-determining target drives displacement, and according to target drives Laser Focusing module in Bit andits control terminal rotates, then, by rotate after laser Focusing module obtain terminal with Distance between destination object, finally, obtains focal distance according to angle and distance, and controls photographic head according to focal distance Focus.I.e. by rotating according to target drives displacement drive laser Focusing module, and by the laser pair after rotating Burnt module carries out laser focusing, to realize the function of target tracking, can also may be used efficiently against the defect of tradition contrast focusing To accomplish that target focus function is to promote target tracking performance real-time, the shooting improving user is experienced.
According to one embodiment of present invention, described acquisition destination object is apart from the center of described photographic head coverage Angle, including: detect described destination object positional information in the current picture of described terminal screen;Believe according to described position Breath obtains the described destination object angle apart from the center of described photographic head coverage.
According to one embodiment of present invention, described according to the laser focusing mould in described target drives Bit andits control terminal Block rotates, including: swashed according to described in described target drives Bit andits control by micro-electromechanical optical stabilization system MEMS OIS Light Focusing module rotates.
According to one embodiment of present invention, described micro-electromechanical optical stabilization system MEMS OIS and described laser focusing mould Being connected with power transmission shaft by The Cloud Terrace between block, wherein, described laser Focusing module is located at the upper surface of described The Cloud Terrace, described transmission One end of axle is connected with the bottom of described The Cloud Terrace, and the other end of described power transmission shaft is connected with described MEMS OIS;Wherein, described MEMS OIS drives described The Cloud Terrace to rotate, to drive the rotation of described laser Focusing module by described power transmission shaft.
According to one embodiment of present invention, the downside of described The Cloud Terrace is provided with the first support and supports with second, and described the One support supports lower left side and the lower right sides laying respectively at described The Cloud Terrace with described second, for described MEMS OIS's The rotation of described The Cloud Terrace is supported under driving effect.
According to one embodiment of present invention, described according to described focal distance control described photographic head focus, bag Include: inquire about in default mapping table according to described focal distance, to obtain corresponding motor travel information;By described Described photographic head is moved by the motor of photographic head according to described motor travel information, with control described photographic head carry out right Burnt.
For reaching above-mentioned purpose, the camera focusing device of second aspect present invention embodiment, including: angle acquisition module, For when detecting that photographic head starts, obtain the destination object angle apart from the center of described photographic head coverage;Determine Module, for according to described angle-determining target drives displacement;Control module, for according to described target drives Bit andits control eventually Laser Focusing module in end rotates;Distance acquisition module, for obtaining by the described laser Focusing module after rotating Distance between described terminal and described destination object;Focal distance acquisition module, for according to described angle and described away from From obtaining focal distance;Focusing module, focuses for controlling described photographic head according to described focal distance.
By angle acquisition module, camera focusing device according to embodiments of the present invention, can detect that photographic head starts Time, obtain the angle at the center of destination object distance photographic head coverage, determine that module is according to this angle-determining target drives Displacement, control module rotates according to the laser Focusing module in target drives Bit andits control terminal, and distance acquisition module leads to Cross the laser Focusing module after rotating and obtain the distance between terminal and destination object, focal distance acquisition module according to angle with And distance obtains focal distance, Focusing module controls photographic head according to focal distance and focuses.I.e. by according to target drives Displacement drive laser Focusing module rotates, and carries out laser focusing, to realize mesh by the laser Focusing module after rotating The function that mark is followed the trail of, can be efficiently against the defect of tradition contrast focusing, it is also possible to accomplish target focus function real-time To promote target tracking performance, the shooting improving user is experienced.
According to one embodiment of present invention, described angle acquisition module includes: detector unit, is used for detecting described target Object positional information in the current picture of described terminal screen;Acquiring unit, for obtaining institute according to described positional information State the destination object angle apart from the center of described photographic head coverage.
According to one embodiment of present invention, described control module specifically for: by micro-electromechanical optical stabilization system MEMS OIS rotates according to laser Focusing module described in described target drives Bit andits control.
According to one embodiment of present invention, described Focusing module includes: acquiring unit, for according to described focal distance Default mapping table is inquired about, to obtain corresponding motor travel information;Focusing unit, for by described photographic head Motor according to described motor travel information, described photographic head is moved, focus controlling described photographic head.
For reaching above-mentioned purpose, the terminal of third aspect present invention embodiment, including: taking the photograph of second aspect present invention embodiment As head focusing mechanism;Photographic head module, described photographic head module includes photographic head and motor, and wherein, described motor is in institute State camera focusing device and obtain motor travel information, according to described motor travel information, described photographic head is moved, with Control described photographic head to focus;Laser Focusing module, described laser Focusing module and described photographic head module are positioned at described Distance between the same side of terminal, and described laser Focusing module and described photographic head module is less than predetermined threshold value;The Cloud Terrace, its In, described laser Focusing module is located at the upper surface of described The Cloud Terrace;Micro-electromechanical optical stabilization system MEMS OIS, described MEMS It is connected by power transmission shaft between OIS and the bottom of described The Cloud Terrace, for obtaining target drives position at described camera focusing device During shifting, it is displaced through described power transmission shaft according to described target drives and drives described The Cloud Terrace to rotate, to drive described laser pair Burnt module rotates.
Terminal according to embodiments of the present invention, can be taken the photograph detecting by the angle acquisition module in camera focusing device When starting as head, obtain the angle at the center of destination object distance photographic head coverage, determine that module is according to this angle-determining Target drives displacement, control module is carried out according to the laser Focusing module in target drives Bit andits control terminal by MEMS OIS Rotating, distance acquisition module obtains the distance between terminal and destination object, focusing by the laser Focusing module after rotating Obtaining focal distance from acquisition module according to angle and distance, Focusing module controls photographic head by motor according to focal distance Focus.I.e. by rotating according to target drives displacement drive laser Focusing module, and by the laser pair after rotating Burnt module carries out laser focusing, to realize the function of target tracking, can also may be used efficiently against the defect of tradition contrast focusing To accomplish that target focus function is to promote target tracking performance real-time, the shooting improving user is experienced.
According to one embodiment of present invention, the downside of described The Cloud Terrace is provided with the first support and supports with second, and described the One support supports lower left side and the lower right sides laying respectively at described The Cloud Terrace with described second, and lays respectively at described power transmission shaft Both sides, for supporting the rotation of described The Cloud Terrace under the driving effect of described MEMS OIS.
For reaching above-mentioned purpose, the terminal of fourth aspect present invention embodiment, including: housing;Processor;Memorizer;Circuit Plate and power circuit;Wherein, described circuit board is placed in the interior volume that described housing surrounds, described processor and described storage Device is arranged on described circuit board;Described power circuit, powers for each circuit or the device for described terminal;Described storage Device is used for storing executable program code;Described processor comes by reading the executable program code of storage in described memorizer Run the program corresponding with executable program code, for execution: when detecting that photographic head starts, obtain destination object away from Angle from the center of described photographic head coverage;According to described angle-determining target drives displacement, and according to described target The laser Focusing module that drive displacement controls in terminal rotates;Obtained described by the described laser Focusing module after rotating Distance between terminal and described destination object;Focal distance is obtained according to described angle and described distance, and according to described Focal distance controls described photographic head and focuses.
Terminal according to embodiments of the present invention, when detecting that photographic head starts, obtains destination object distance photographic head and claps Take the photograph the angle at the center of scope, afterwards, can be according to this angle-determining target drives displacement, and according to target drives Bit andits control eventually Laser Focusing module in end rotates, then, by the laser Focusing module after rotating obtain terminal and destination object it Between distance, finally, according to angle and distance obtain focal distance, and according to focal distance control photographic head focus. I.e. by rotating according to target drives displacement drive laser Focusing module, and carried out by the laser Focusing module after rotating Laser is focused, to realize the function of target tracking, and can be efficiently against the defect of tradition contrast focusing, it is also possible to accomplish in real time Fast target focus function is to promote target tracking performance, and the shooting improving user is experienced.
Aspect and advantage that the present invention adds will part be given in the following description, and part will become from the following description Obtain substantially, or recognized by the practice of the present invention.
Accompanying drawing explanation
The present invention above-mentioned and/or that add aspect and advantage will become from the following description of the accompanying drawings of embodiments Substantially with easy to understand, wherein:
Fig. 1 is the flow chart of camera focusing method according to an embodiment of the invention;
Fig. 2 is the example of structural relation between MEMS OIS and laser Focusing module according to an embodiment of the invention Figure;
Fig. 3 is the exemplary plot of camera focusing method according to an embodiment of the invention;
Fig. 4 is the structural representation of camera focusing device according to an embodiment of the invention;
Fig. 5 is the structural representation of the camera focusing device according to one specific embodiment of the present invention;
Fig. 6 is the structural representation of the camera focusing device according to another specific embodiment of the present invention;
Fig. 7 is the structural representation of terminal according to an embodiment of the invention;
Fig. 8 is the structural representation of terminal in accordance with another embodiment of the present invention.
Reference:
Angle acquisition module 410, determine module 420, control module 430, distance acquisition module 440, focal distance obtain Module 450, Focusing module 460, detector unit 411, acquiring unit 412, acquiring unit 461, focusing unit 462, photographic head pair Coke installation 400, photographic head module 100, laser Focusing module 200, The Cloud Terrace 300, terminal 700, micro-electromechanical optical stabilization system MEMS OIS 500, photographic head 101, motor 102, power transmission shaft 10, first support the 301, second support 302, housing 81, processor 82, memorizer 83, circuit board 84 and power circuit 85.
Detailed description of the invention
Embodiments of the invention are described below in detail, and the example of described embodiment is shown in the drawings, the most from start to finish Same or similar label represents same or similar element or has the element of same or like function.Below with reference to attached The embodiment that figure describes is exemplary, it is intended to is used for explaining the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings the camera focusing method of the embodiment of the present invention, device and terminal are described.
Fig. 1 is the flow chart of camera focusing method according to an embodiment of the invention.It should be noted that the present invention The camera focusing method of embodiment can be applicable on the camera focusing device of the embodiment of the present invention, this camera focusing device Can be configured in terminal.Wherein, this terminal can be that smart mobile phone, panel computer, personal digital assistant etc. have various behaviour Making the hardware device of system, this terminal can also is that intelligent digital camera etc., is i.e. appreciated that this terminal need to have shooting merit Energy.
As it is shown in figure 1, this camera focusing method may include that
S110, when detecting that photographic head starts, obtains the angle at the center of destination object distance photographic head coverage.
It is appreciated that terminal can provide the user camera function, when user uses the camera function of this terminal to shoot Time, this camera function can be started by corresponding trigger condition.When detecting that user triggers this camera function, can start and take the photograph As head, and when detecting that photographic head starts, obtain the destination object angle apart from the center of the coverage of this photographic head.Its In, in an embodiment of the present invention, this destination object i.e. can be regarded as object, personage or scenery to be captured.
Specifically, in one embodiment of the invention, the center of destination object distance photographic head coverage is obtained The process that implements of angle can be as follows: can detected target object positional information in the current picture of terminal screen, and The angle at the center of destination object distance photographic head coverage is obtained according to positional information.
More specifically, this destination object position in the current picture of terminal screen can be detected by target tracking algorithm Information, afterwards, can calculate this destination object angle apart from the center of this photographic head coverage according to this positional information. For example, detected target object positional information in the current picture of terminal screen is Y, in the shooting of this photographic head known In the case of photographic head angle corresponding to scope and the size of coverage, right according to positional information Y, coverage institute The photographic head angle answered and the size of coverage, can calculate the photographic head angle corresponding to this positional information Y, should Photographic head angle corresponding to positional information Y is the above-mentioned destination object angle apart from the center of this photographic head coverage. For example, it is assumed that positional information Y is 2CM, total size of coverage is 6CM, and the photographic head angle corresponding to coverage is 180 Degree, then, can calculate this destination object angle apart from the center of this photographic head coverage is: 60 degree=2CM/6CM* 180 degree.
S120, according to angle-determining target drives displacement, and focuses according to the laser in target drives Bit andits control terminal Module rotates.
Specifically, after obtaining the angle at center of destination object distance photographic head coverage, can be according to this angle Determine the target drives displacement corresponding with this angle.As a kind of example, can size to the drive displacement of MEMS OIS in advance Demarcate with the size of above-mentioned angle, e.g., demarcate the corresponding great drive displacement of great angle etc. in advance, so, in reality During the camera focusing on border, this angle can be obtained according to the angle actually obtained from the corresponding relation that this is demarcated in advance The drive displacement that degree is corresponding, the most above-mentioned target drives displacement.
Specifically, in one embodiment of the invention, when according to angle-determining target drives displacement, can be by micro- Dynamo-electric optical anti-vibration system MEMS OIS rotates according to this target drives Bit andits control laser Focusing module.
As a kind of example, the mould as in figure 2 it is shown, above-mentioned micro-electromechanical optical stabilization system MEMS OIS 500 and laser are focused Can be connected with power transmission shaft 10 by The Cloud Terrace 300 between block 200, wherein, laser Focusing module 200 is located at the upper surface of The Cloud Terrace 300, One end of power transmission shaft 10 is connected with the bottom of The Cloud Terrace 300, and the other end of power transmission shaft 10 is connected with MEMS OIS 500;Wherein, MEMS OIS 500 can drive The Cloud Terrace 300 to rotate, to drive the rotation of laser Focusing module 200 by power transmission shaft 10.This Outward, the shape of this power transmission shaft 10 is not specifically limited, and can be driven by this power transmission shaft 10 as long as being capable of MEMS OIS 500 Dynamic The Cloud Terrace 300 rotates, and " L " shape of middle power transmission shaft 10 is only a kind of example as shown in Figure 2, it is impossible to as to power transmission shaft 10 The restriction of shape.
Preferably, in one embodiment of the invention, the downside of The Cloud Terrace 300 is provided with the first support 301 and second Support 302, first supports 301 and second supports 302 lower left side and the lower right sides laying respectively at The Cloud Terrace 300, at MEMS The rotation of The Cloud Terrace 300 is supported under the driving effect of OIS 500.Thus, it is possible to make wonton 300 can first support 301 with Rotate under the support of the second support 302.
It should be noted that as a kind of example, above-mentioned micro-electromechanical optical stabilization system MEMS OIS 500 can include solid Float electrode that fixed electrode coordinates with fixed electrode and fixing is connected this fixed electrode and float electrode can deformation connection Part, wherein, this fixed electrode and float electrode for producing electrostatic force under the effect of driving voltage, this can deformation connector can For under the effect of this electrostatic force along the direction deformation that float electrode moves to allow this float electrode to move, such that it is able to root According to target drives displacement rotary platform 300 under the effect of power transmission shaft 10, thus drive the rotation of laser Focusing module 200.
Thus, by utilizing the jittering characteristic of MEMS OIS system to drive laser Focusing module to rotate, so that Drive laser focusing to realize target tracking by MEMS, target focusing can be completed real-time, promote target tracking performance, And during whole, it is not necessary to user's manual focus, the shooting promoting user is experienced.
S130, obtains the distance between terminal and destination object by the laser Focusing module after rotating.
Specifically, after rotating according to the laser Focusing module in target drives Bit andits control terminal, can pass through The distance between laser Focusing module detection terminal and destination object after rotation.As a kind of example, can be by rotating after Laser Focusing module launches one taper laser (such as the light of infrared wavelength) light beam, afterwards, can return according to this laser-bounce Time length judges the distance between terminal and destination object.
S140, obtains focal distance according to angle and distance, and focuses according to focal distance control photographic head.
Specifically, angle at the center of known target object distance photographic head coverage and being focused by laser In the case of distance between terminal and the destination object of module detection, the computing formula of the triangle length of side is utilized to calculate The focal distance of photographic head, i.e. focal plane actual range.Such as, as it is shown on figure 3, shoot at known target object distance photographic head The angle, θ at the center of scope and laser detection distance X ' (distance between the most above-mentioned terminal and destination object), utilize triangle The computing formula of the length of side can calculate focal plane actual range X (the most above-mentioned focal distance).
Specifically, in one embodiment of the invention, after obtaining focal distance, can exist according to this focal distance The mapping table preset is inquired about, to obtain corresponding motor travel information, and by the motor of photographic head according to this motor Photographic head is moved by travel information, focuses controlling photographic head.
It is to say, can focal distance and motor travel information to photographic head module calibrate in advance, and will calibration After corresponding relation be fabricated to a table, the most above-mentioned mapping table, this mapping table comprises the focusing after passing through calibration From the numerical value corresponding relation with motor travel information.So, during actual camera focusing, obtain focal distance it After, can inquire about in this mapping table pre-build according to this focal distance, to find motor of camera to need movement Distance, finally, is moved photographic head according to this distance by the motor of photographic head, focuses controlling photographic head, from And target tracking focus function can be realized.
It should be noted that the precondition of the camera focusing method of the embodiment of the present invention is: laser Focusing module needs With the distance between the same side that photographic head module is positioned at terminal, and laser Focusing module need and photographic head module less than presetting threshold Value, i.e. laser Focusing module need to be close with what photographic head module needs suffered.
Camera focusing method according to embodiments of the present invention, when detecting that photographic head starts, obtain destination object away from From the angle at the center of photographic head coverage, afterwards, can be according to this angle-determining target drives displacement, and according to target drives Laser Focusing module in Bit andits control terminal rotates, then, by rotate after laser Focusing module obtain terminal with Distance between destination object, finally, obtains focal distance according to angle and distance, and controls photographic head according to focal distance Focus.I.e. by rotating according to target drives displacement drive laser Focusing module, and by the laser pair after rotating Burnt module carries out laser focusing, to realize the function of target tracking, can also may be used efficiently against the defect of tradition contrast focusing To accomplish that target focus function is to promote target tracking performance real-time, the shooting improving user is experienced.
Corresponding with the camera focusing method that above-mentioned several embodiments provide, a kind of embodiment of the present invention also provides for one Plant camera focusing device, the camera focusing device provided due to the embodiment of the present invention and taking the photograph that above-mentioned several embodiments provide As head focusing method is corresponding, therefore the embodiment at aforementioned camera focusing method is also applied for taking the photograph of the present embodiment offer As head focusing mechanism, it is not described in detail in the present embodiment.Fig. 4 is that camera focusing fills according to an embodiment of the invention The structural representation put.As shown in Figure 4, this camera focusing device may include that angle acquisition module 410, determines module 420, control module 430, distance acquisition module 440, focal distance acquisition module 450 and Focusing module 460.
Specifically, angle acquisition module 410 can be used for when detecting that photographic head starts, and obtains destination object distance shooting The angle at the center of head coverage.
Specifically, in one embodiment of the invention, as it is shown in figure 5, this angle acquisition module 410 can include inspection Survey unit 411 and acquiring unit 412.Wherein, detector unit 411 can be used for the detected target object current picture at terminal screen In positional information.Acquiring unit 412 can be used for obtaining in destination object distance photographic head coverage according to positional information The angle of the heart.
Determine that module 420 can be used for according to angle-determining target drives displacement.
Control module 430 can be used for rotating according to the laser Focusing module in target drives Bit andits control terminal.Tool For body, in one embodiment of the invention, control module 430 can by micro-electromechanical optical stabilization system MEMS OIS according to Target drives Bit andits control laser Focusing module rotates.
Distance acquisition module 440 can be used for being obtained between terminal and destination object by the laser Focusing module after rotating Distance.
Focal distance acquisition module 450 can be used for obtaining focal distance according to angle and distance.
Focusing module 460 can be used for controlling photographic head according to focal distance and focuses.Specifically, in the one of the present invention In individual embodiment, as shown in Figure 6, this Focusing module 460 may include that acquiring unit 461 and focusing unit 462.Wherein, obtain Unit 461 can be used for inquiring about in default mapping table according to focal distance, to obtain corresponding motor travel information.Right Burnt unit 462 can be used for being moved photographic head according to motor travel information by the motor of photographic head, to control photographic head Focus.
By angle acquisition module, camera focusing device according to embodiments of the present invention, can detect that photographic head starts Time, obtain the angle at the center of destination object distance photographic head coverage, determine that module is according to this angle-determining target drives Displacement, control module rotates according to the laser Focusing module in target drives Bit andits control terminal, and distance acquisition module leads to Cross the laser Focusing module after rotating and obtain the distance between terminal and destination object, focal distance acquisition module according to angle with And distance obtains focal distance, Focusing module controls photographic head according to focal distance and focuses.I.e. by according to target drives Displacement drive laser Focusing module rotates, and carries out laser focusing, to realize mesh by the laser Focusing module after rotating The function that mark is followed the trail of, can be efficiently against the defect of tradition contrast focusing, it is also possible to accomplish target focus function real-time To promote target tracking performance, the shooting improving user is experienced.
In order to realize above-described embodiment, the invention allows for a kind of terminal.
Fig. 7 is the structural representation of terminal according to an embodiment of the invention.As it is shown in fig. 7, this terminal 700 can be wrapped Include: camera focusing device 400, photographic head module 100, laser Focusing module 200, The Cloud Terrace 300 and micro-electromechanical optical stabilization system System MEMS OIS 500.
Specifically, the function of camera focusing device 400 describes and can be found in above-mentioned photographic head pair as shown in Figures 4 to 6 The concrete function of coke installation describes.
Wherein, as it is shown in fig. 7, photographic head module 100 can include photographic head 101 and motor 102, wherein, motor 102 is used for Obtain motor travel information at camera focusing device 400, according to motor travel information, photographic head 101 is moved, with control Photographic head 101 processed is focused.
Laser Focusing module 200 and photographic head module 100 are positioned at the same side of terminal, and laser Focusing module 200 with take the photograph As the distance between head mould group 100 is less than predetermined threshold value.Wherein, laser Focusing module 200 is located at the upper surface of The Cloud Terrace 300.
It is connected by power transmission shaft 10 between MEMS OIS 500 and the bottom of The Cloud Terrace 300, at camera focusing device 400 when obtaining target drives displacement, is displaced through power transmission shaft 10 according to target drives and drives The Cloud Terrace 300 to rotate, to drive Laser Focusing module 200 rotates.
Wherein, as it is shown in fig. 7, the downside of The Cloud Terrace 300 is provided with the first support 301 and second supports 302, first supports 301 and second support 302 lower left side and the lower right sides laying respectively at The Cloud Terrace 300, and lay respectively at the both sides of power transmission shaft 10, For supporting the rotation of The Cloud Terrace 300 under the driving effect of MEMS OIS 500.
After Focusing module 200 is rotated by MEMS OIS 500 by The Cloud Terrace 300, the Focusing module after rotation 200 can detect the distance between terminal 700 and destination object.Camera focusing device 400 can obtain this Focusing module 200 and detect The distance arrived, and according to the angle at center of destination object distance photographic head 101 coverage and the acquisition focusing of this distance From, then, inquire about in default mapping table according to this focal distance, to obtain corresponding motor travel information, finally, According to motor travel information, photographic head 101 is moved by the motor 102 of photographic head 101, carry out controlling photographic head 101 Focusing.
Terminal according to embodiments of the present invention, can be taken the photograph detecting by the angle acquisition module in camera focusing device When starting as head, obtain the angle at the center of destination object distance photographic head coverage, determine that module is according to this angle-determining Target drives displacement, control module is carried out according to the laser Focusing module in target drives Bit andits control terminal by MEMS OIS Rotating, distance acquisition module obtains the distance between terminal and destination object, focusing by the laser Focusing module after rotating Obtaining focal distance from acquisition module according to angle and distance, Focusing module controls photographic head by motor according to focal distance Focus.I.e. by rotating according to target drives displacement drive laser Focusing module, and by the laser pair after rotating Burnt module carries out laser focusing, to realize the function of target tracking, can also may be used efficiently against the defect of tradition contrast focusing To accomplish that target focus function is to promote target tracking performance real-time, the shooting improving user is experienced.
In order to realize above-described embodiment, the present invention also proposes another kind of terminal.
Fig. 8 is the structural representation of terminal in accordance with another embodiment of the present invention.As shown in Figure 8, this terminal can be wrapped Include: housing 81;Processor 82;Memorizer 83;Circuit board 84 and power circuit 85;Wherein, circuit board 84 is placed in housing 81 and encloses The interior volume become, processor 82 and memorizer 83 are arranged on circuit board 84;Power circuit 85, for each electricity for terminal Road or device are powered;Memorizer 83 is used for storing executable program code;Processor 82 is by reading storage in memorizer 83 Executable program code runs the program corresponding with executable program code, for execution:
S110 ', when detecting that photographic head starts, obtains the angle at the center of destination object distance photographic head coverage Degree.
S120 ', according to angle-determining target drives displacement, and focuses according to the laser in target drives Bit andits control terminal Module rotates.
S130 ', obtains the distance between terminal and destination object by the laser Focusing module after rotating.
S140 ', obtains focal distance according to angle and distance, and focuses according to focal distance control photographic head.
Terminal according to embodiments of the present invention, when detecting that photographic head starts, obtains destination object distance photographic head and claps Take the photograph the angle at the center of scope, afterwards, can be according to this angle-determining target drives displacement, and according to target drives Bit andits control eventually Laser Focusing module in end rotates, then, by the laser Focusing module after rotating obtain terminal and destination object it Between distance, finally, according to angle and distance obtain focal distance, and according to focal distance control photographic head focus. I.e. by rotating according to target drives displacement drive laser Focusing module, and carried out by the laser Focusing module after rotating Laser is focused, to realize the function of target tracking, and can be efficiently against the defect of tradition contrast focusing, it is also possible to accomplish in real time Fast target focus function is to promote target tracking performance, and the shooting improving user is experienced.
In describing the invention, it is to be understood that term " first ", " second " are only used for describing purpose, and can not It is interpreted as instruction or hint relative importance or the implicit quantity indicating indicated technical characteristic.Thus, define " the One ", the feature of " second " can express or implicitly include at least one this feature.In describing the invention, " multiple " It is meant that at least two, such as two, three etc., unless otherwise expressly limited specifically.
In the description of this specification, reference term " embodiment ", " some embodiments ", " example ", " specifically show Example " or the description of " some examples " etc. means to combine this embodiment or example describes specific features, structure, material or spy Point is contained at least one embodiment or the example of the present invention.In this manual, to the schematic representation of above-mentioned term not Identical embodiment or example must be directed to.And, the specific features of description, structure, material or feature can be in office One or more embodiments or example combine in an appropriate manner.Additionally, in the case of the most conflicting, the skill of this area The feature of the different embodiments described in this specification or example and different embodiment or example can be tied by art personnel Close and combination.
In flow chart or at this, any process described otherwise above or method description are construed as, and expression includes One or more is for realizing the module of code, fragment or the portion of the executable instruction of the step of specific logical function or process Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not by shown or discuss suitable Sequence, including according to involved function by basic mode simultaneously or in the opposite order, performs function, and this should be by the present invention Embodiment person of ordinary skill in the field understood.
Represent in flow charts or the logic described otherwise above at this and/or step, for example, it is possible to be considered as to use In the sequencing list of the executable instruction realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (system such as computer based system, including processor or other can hold from instruction Row system, device or equipment instruction fetch also perform the system instructed) use, or combine these instruction execution systems, device or set Standby and use.For the purpose of this specification, " computer-readable medium " can be any can to comprise, store, communicate, propagate or pass Defeated program is for instruction execution system, device or equipment or combines these instruction execution systems, device or equipment and the dress that uses Put.The more specifically example (non-exhaustive list) of computer-readable medium includes following: have the electricity of one or more wiring Connecting portion (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read only memory (ROM), erasable read only memory (EPROM or flash memory), the fiber device edited, and portable optic disk is read-only deposits Reservoir (CDROM).It addition, computer-readable medium can even is that and can print the paper of described program thereon or other are suitable Medium, because then can carry out editing, interpreting or if desired with it such as by paper or other media are carried out optical scanning His suitable method is processed to electronically obtain described program, is then stored in computer storage.
Should be appreciated that each several part of the present invention can realize by hardware, software, firmware or combinations thereof.Above-mentioned In embodiment, the software that multiple steps or method in memory and can be performed by suitable instruction execution system with storage Or firmware realizes.Such as, if realized with hardware, with the most the same, available well known in the art under Any one or their combination in row technology realize: have the logic gates for data signal realizes logic function Discrete logic, there is the special IC of suitable combination logic gate circuit, programmable gate array (PGA), on-the-spot Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that and realize all or part of step that above-described embodiment method is carried Suddenly the program that can be by completes to instruct relevant hardware, and described program can be stored in a kind of computer-readable storage medium In matter, this program upon execution, including one or a combination set of the step of embodiment of the method.
Additionally, each functional unit in each embodiment of the present invention can be integrated in a processing module, it is also possible to It is that unit is individually physically present, it is also possible to two or more unit are integrated in a module.Above-mentioned integrated mould Block both can realize to use the form of hardware, it would however also be possible to employ the form of software function module realizes.Described integrated module is such as When fruit is using the form realization of software function module and as independent production marketing or use, it is also possible to be stored in a computer In read/write memory medium.
Storage medium mentioned above can be read only memory, disk or CD etc..Although having shown that above and retouching Embodiments of the invention are stated, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as the limit to the present invention System, above-described embodiment can be changed, revise, replace and become by those of ordinary skill in the art within the scope of the invention Type.

Claims (12)

1. a camera focusing method, it is characterised in that comprise the following steps:
When detecting that photographic head starts, obtain the destination object angle apart from the center of described photographic head coverage;
According to described angle-determining target drives displacement, and according to the laser focusing mould in described target drives Bit andits control terminal Block rotates;
The distance between described terminal and described destination object is obtained by the described laser Focusing module after rotating;
Obtain focal distance according to described angle and described distance, and carry out according to the described focal distance described photographic head of control Focusing.
2. camera focusing method as claimed in claim 1, it is characterised in that described acquisition destination object is apart from described shooting The angle at the center of head coverage, including:
Detect described destination object positional information in the current picture of described terminal screen;
The described destination object angle apart from the center of described photographic head coverage is obtained according to described positional information.
3. camera focusing method as claimed in claim 1, it is characterised in that described according to described target drives Bit andits control Laser Focusing module in terminal rotates, including:
Entered according to laser Focusing module described in described target drives Bit andits control by micro-electromechanical optical stabilization system MEMS OIS Row rotates.
4. camera focusing method as claimed in claim 3, it is characterised in that described micro-electromechanical optical stabilization system MEMS Being connected by The Cloud Terrace and power transmission shaft between OIS with described laser Focusing module, wherein, described laser Focusing module is located at described cloud The upper surface of platform, one end of described power transmission shaft is connected with the bottom of described The Cloud Terrace, the other end of described power transmission shaft and described MEMS OIS is connected;Wherein, described MEMS OIS drives described The Cloud Terrace to rotate, to drive described laser pair by described power transmission shaft The rotation of burnt module.
5. camera focusing method as claimed in claim 4, it is characterised in that wherein, the downside of described The Cloud Terrace is provided with the One supports and the second support, and described first support supports lower left side and the lower right side laying respectively at described The Cloud Terrace with described second Face, for supporting the rotation of described The Cloud Terrace under the driving effect of described MEMS OIS.
6. camera focusing method as claimed in claim 1, it is characterised in that described according to the control of described focal distance Photographic head is focused, including:
Inquire about in default mapping table according to described focal distance, to obtain corresponding motor travel information;
According to described motor travel information, described photographic head is moved by the motor of described photographic head, take the photograph described in controlling As head is focused.
7. a camera focusing device, it is characterised in that including:
Angle acquisition module, for when detecting that photographic head starts, obtains destination object apart from described photographic head coverage The angle at center;
Determine module, for according to described angle-determining target drives displacement;
Control module, for rotating according to the laser Focusing module in described target drives Bit andits control terminal;
Distance acquisition module, for by the described laser Focusing module after rotating obtain described terminal and described destination object it Between distance;
Focal distance acquisition module, for obtaining focal distance according to described angle and described distance;
Focusing module, focuses for controlling described photographic head according to described focal distance.
8. camera focusing device as claimed in claim 7, it is characterised in that described angle acquisition module includes:
Detector unit, for detecting described destination object positional information in the current picture of described terminal screen;
Acquiring unit, for obtaining described destination object apart from the center of described photographic head coverage according to described positional information Angle.
9. camera focusing device as claimed in claim 7, it is characterised in that described control module specifically for:
Entered according to laser Focusing module described in described target drives Bit andits control by micro-electromechanical optical stabilization system MEMS OIS Row rotates.
10. camera focusing device as claimed in claim 7, it is characterised in that described Focusing module includes:
Acquiring unit, for inquiring about in default mapping table according to described focal distance, to obtain corresponding motor row Journey information;
Focusing unit, for moving described photographic head according to described motor travel information by the motor of described photographic head Dynamic, focus controlling described photographic head.
11. 1 kinds of terminals, it is characterised in that including:
Camera focusing device as according to any one of claim 7 to 10;
Photographic head module, described photographic head module includes photographic head and motor, and wherein, described motor is at described photographic head pair Coke installation obtains motor travel information, moves described photographic head according to described motor travel information, takes the photograph described in controlling As head is focused;
Laser Focusing module, described laser Focusing module and described photographic head module are positioned at the same side of described terminal, and described Distance between laser Focusing module and described photographic head module is less than predetermined threshold value;
The Cloud Terrace, wherein, described laser Focusing module is located at the upper surface of described The Cloud Terrace;
Micro-electromechanical optical stabilization system MEMS OIS, by power transmission shaft phase between described MEMS OIS and the bottom of described The Cloud Terrace Even, for when described camera focusing device obtains target drives displacement, it is displaced through described biography according to described target drives Moving axis drives described The Cloud Terrace to rotate, to drive described laser Focusing module to rotate.
12. terminals as claimed in claim 11, it is characterised in that wherein, the downside of described The Cloud Terrace be provided with the first support with Second supports, and described first support supports lower left side and the lower right sides laying respectively at described The Cloud Terrace with described second, and divides It is not positioned at the both sides of described power transmission shaft, for supporting the rotation of described The Cloud Terrace under the driving effect of described MEMS OIS.
CN201610616224.4A 2016-07-29 2016-07-29 camera focusing method, device and terminal Active CN106101558B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610616224.4A CN106101558B (en) 2016-07-29 2016-07-29 camera focusing method, device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610616224.4A CN106101558B (en) 2016-07-29 2016-07-29 camera focusing method, device and terminal

Publications (2)

Publication Number Publication Date
CN106101558A true CN106101558A (en) 2016-11-09
CN106101558B CN106101558B (en) 2017-09-29

Family

ID=57479808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610616224.4A Active CN106101558B (en) 2016-07-29 2016-07-29 camera focusing method, device and terminal

Country Status (1)

Country Link
CN (1) CN106101558B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108076278A (en) * 2016-11-10 2018-05-25 阿里巴巴集团控股有限公司 A kind of Atomatic focusing method, device and electronic equipment
CN110602400A (en) * 2019-09-17 2019-12-20 Oppo(重庆)智能科技有限公司 Video shooting method and device and computer readable storage medium
CN111182198A (en) * 2018-11-13 2020-05-19 奇酷互联网络科技(深圳)有限公司 Shooting focusing method based on double cameras, mobile device and device
CN111246103A (en) * 2020-01-21 2020-06-05 上海悦易网络信息技术有限公司 Method and equipment for adjusting angle of mobile phone camera
CN112954217A (en) * 2021-02-25 2021-06-11 维沃移动通信有限公司 Electronic equipment and focusing method
CN113030992A (en) * 2021-03-17 2021-06-25 北京有竹居网络技术有限公司 Distance measuring method and device for electronic equipment, terminal and storage medium
WO2021135867A1 (en) * 2020-01-03 2021-07-08 支付宝(杭州)信息技术有限公司 Lens module focusing method and apparatus, and device
CN113965681A (en) * 2021-10-25 2022-01-21 深圳市施瑞安科技有限公司 Automatic focus following monitoring camera system
CN114125268A (en) * 2021-10-28 2022-03-01 维沃移动通信有限公司 Focusing method and device
CN117915200A (en) * 2024-03-19 2024-04-19 成都唐米科技有限公司 Fast focus-following shooting method and device based on binocular camera and binocular equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104822020A (en) * 2015-03-31 2015-08-05 深圳市莫孚康技术有限公司 Automatic follow focus device based on video target tracking
CN105245768A (en) * 2014-06-30 2016-01-13 中兴通讯股份有限公司 Focal length adjustment method, focal length adjustment device and terminal
CN105635555A (en) * 2014-11-07 2016-06-01 青岛海尔智能技术研发有限公司 Camera focusing control method, image pick-up device and wearable intelligent terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105245768A (en) * 2014-06-30 2016-01-13 中兴通讯股份有限公司 Focal length adjustment method, focal length adjustment device and terminal
CN105635555A (en) * 2014-11-07 2016-06-01 青岛海尔智能技术研发有限公司 Camera focusing control method, image pick-up device and wearable intelligent terminal
CN104822020A (en) * 2015-03-31 2015-08-05 深圳市莫孚康技术有限公司 Automatic follow focus device based on video target tracking

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108076278A (en) * 2016-11-10 2018-05-25 阿里巴巴集团控股有限公司 A kind of Atomatic focusing method, device and electronic equipment
CN108076278B (en) * 2016-11-10 2021-03-19 斑马智行网络(香港)有限公司 Automatic focusing method and device and electronic equipment
CN111182198A (en) * 2018-11-13 2020-05-19 奇酷互联网络科技(深圳)有限公司 Shooting focusing method based on double cameras, mobile device and device
CN110602400A (en) * 2019-09-17 2019-12-20 Oppo(重庆)智能科技有限公司 Video shooting method and device and computer readable storage medium
WO2021135867A1 (en) * 2020-01-03 2021-07-08 支付宝(杭州)信息技术有限公司 Lens module focusing method and apparatus, and device
CN111246103A (en) * 2020-01-21 2020-06-05 上海悦易网络信息技术有限公司 Method and equipment for adjusting angle of mobile phone camera
CN112954217A (en) * 2021-02-25 2021-06-11 维沃移动通信有限公司 Electronic equipment and focusing method
CN113030992A (en) * 2021-03-17 2021-06-25 北京有竹居网络技术有限公司 Distance measuring method and device for electronic equipment, terminal and storage medium
CN113965681A (en) * 2021-10-25 2022-01-21 深圳市施瑞安科技有限公司 Automatic focus following monitoring camera system
CN114125268A (en) * 2021-10-28 2022-03-01 维沃移动通信有限公司 Focusing method and device
WO2023072088A1 (en) * 2021-10-28 2023-05-04 维沃移动通信有限公司 Focusing method and apparatus
CN117915200A (en) * 2024-03-19 2024-04-19 成都唐米科技有限公司 Fast focus-following shooting method and device based on binocular camera and binocular equipment

Also Published As

Publication number Publication date
CN106101558B (en) 2017-09-29

Similar Documents

Publication Publication Date Title
CN106101558A (en) camera focusing method, device and terminal
JP6766271B2 (en) Dual-core focusing image sensor, its focusing control method, and electronic devices
CN106973206B (en) Camera shooting module group camera shooting processing method and device and terminal equipment
CN107079102B (en) Focusing method, photographic device and unmanned plane
CN104253940B (en) Stabilizer and the electronic equipment comprising the stabilizer
US9868256B2 (en) Three-dimensional printing system and method for three-dimensional printing
US6987531B2 (en) Imaging system, photographing device and three-dimensional measurement auxiliary unit used for the system
CN106254772B (en) Multiple image synthetic method and device
CN105979165A (en) Blurred photos generation method, blurred photos generation device and mobile terminal
CN102498712B (en) Control device, image-capturing system, and control method
CN106921823B (en) Imaging sensor, camera module and terminal device
CN108139565A (en) Multiple aperture imaging device with the specific adjustability of channel
CN106998413A (en) Image processing equipment, picture pick-up device and image processing method
CN113647094A (en) Electronic device, method, and computer-readable medium for providing out-of-focus imaging effects in video
CN107024755A (en) Commutative lens and its driving method, and electronic installation
CN108235815A (en) Video camera controller, photographic device, camera system, moving body, camera shooting control method and program
CN105827980A (en) Focusing control method and device, imaging control method and device as well as electronic device
CN105872356A (en) Imaging apparatus and imaging method
CN105959555A (en) Shooting mode automatic adjustment method and device and mobile terminal
JP6878736B2 (en) Controls, mobiles, control methods, and programs
CN106210527A (en) The PDAF calibration steps moved based on MEMS and device
CN105657274B (en) Control method, control device and electronic device
CN105338246B (en) Lens devices and imaging device including the lens devices
CN106254771A (en) Shooting anti-fluttering method, device and mobile terminal
US20100165126A1 (en) Photographic apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder