CN106170064A - Camera focusing method, system and electronic equipment - Google Patents

Camera focusing method, system and electronic equipment Download PDF

Info

Publication number
CN106170064A
CN106170064A CN201610826346.6A CN201610826346A CN106170064A CN 106170064 A CN106170064 A CN 106170064A CN 201610826346 A CN201610826346 A CN 201610826346A CN 106170064 A CN106170064 A CN 106170064A
Authority
CN
China
Prior art keywords
electronic equipment
distance
size
camera
image distance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610826346.6A
Other languages
Chinese (zh)
Inventor
朱正江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201610826346.6A priority Critical patent/CN106170064A/en
Publication of CN106170064A publication Critical patent/CN106170064A/en
Pending legal-status Critical Current

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

Abstract

The present invention relates to a kind of camera focusing method, system and electronic equipment, its method is applied to electronic equipment, and described electronic equipment has front-facing camera, and its method includes: obtain the first size of destination object in described front-facing camera image preview area;After detecting that described electronic equipment is moved, obtain the displacement of described electronic equipment and the second size that described destination object is current;Current object distance is obtained in conjunction with described first size, described second size and described displacement;Determine target image distance according to described current object distance, the image distance of described front-facing camera is adjusted to consistent with described target image distance.Use the solution of the present invention, the auto-focusing of the front-facing camera to electronic equipment can be realized in the case of need not too much increase hardware cost or need not additionally increase hardware cost.

Description

Camera focusing method, system and electronic equipment
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of camera focusing method, system and electronic equipment.
Background technology
Along with the fast development of electronic equipment is with universal, the use of the various electronic equipments comprising camera function is the most increasingly Frequently.The focusing mode of existing electronic equipment mainly has contrast formula to focus, PDAF focuses (Phase Detection Auto Focus, relatively focusing), laser focusing etc..Contrast formula focusing focusing comparatively speaking is slow, and PADF focusing can sacrifice a part relatively Pixel, thus existing electronic equipment compared with frequently with focusing mode be laser focusing.
The principle of laser focusing is exactly the characteristic utilizing iraser centrality to be difficult to by force diffusion, infrared from hands by recording Machine emits, and reflects through photographic subjects surface, the time difference received by mobile phone the most again, calculates photographic subjects to electricity The distance of subset, and then complete focusing.But, use laser focusing mode, owing to needs are the most additionally pacified Dress laser range finder (being also infrared range-measurement system), needs the extra hardware cost increased higher.And the electronics such as current mobile phone set Standby in view of reasons such as front-facing camera structure or hardware costs, not yet either with or without the focusing side being applicable to front-facing camera Formula.
Summary of the invention
It is an object of the invention to provide a kind of camera focusing method, system and electronic equipment, can need not The auto-focusing of the front-facing camera to electronic equipment is realized in the case of many increase hardware costs.
It is an object of the invention to be achieved through the following technical solutions:
A kind of camera focusing method, described method is applied to electronic equipment, and described electronic equipment has front-facing camera, Described method includes:
Obtain the first size of destination object in described front-facing camera image preview area;
After detecting that described electronic equipment is moved, obtain the displacement of described electronic equipment and described destination object The second current size;
Current object distance is obtained in conjunction with described first size, described second size and described displacement;
Determine target image distance according to described current object distance, the image distance of described front-facing camera is adjusted to and described target picture Away from unanimously.
A kind of camera focusing system, described system is applied to electronic equipment, and described electronic equipment has front-facing camera, Described system includes:
First acquiring unit, for obtaining the first chi of the destination object in described front-facing camera image preview area Very little;
Second acquisition unit, for after detecting that described electronic equipment is moved, obtains the position of described electronic equipment Shifting amount, and obtain the second size that described destination object is current;
Processing unit, is used for combining described image first size, described image the second size and described displacement and obtains Current object distance, and determine target image distance according to described current object distance;
Control unit is consistent with described target image distance for the image distance of described front-facing camera being adjusted to.
Control unit is consistent with described target image distance for the image distance of described front-facing camera being adjusted to.
A kind of electronic equipment, it includes front-facing camera, acceleration transducer, parameter acquisition unit, controller and driving Device;
Described parameter acquisition unit is for obtaining first of destination object in described front-facing camera image preview area After size, described first size is exported described controller;
Described acceleration transducer, after detecting that the main body of electronic equipment is moved, obtains described electronic equipment Displacement, exports described controller by described displacement;
Described parameter acquisition unit is additionally operable to occur in the main body of the corresponding electronic equipment receiving the output of described controller After the signal of movement, obtain the second size that described destination object is current, described second size is exported described controller;
Described device processed is used for combining described image first size, described image the second size and the acquisition of described displacement and works as Front object distance, and determine target image distance according to described current object distance, control the described driving means image distance by described front-facing camera It is adjusted to consistent with described target image distance.
According to the scheme of the invention described above, it is applied to have in the electronic equipment of front-facing camera, and it is that acquisition is described The first size of the destination object in front-facing camera image preview area, after detecting that described electronic equipment is moved, Obtain the displacement of described electronic equipment and the second size that described destination object is current, in conjunction with described first size, described Two sizes and described displacement obtain current object distance, determine target image distance according to described current object distance, by described front-facing camera Image distance be adjusted to consistent with described target image distance;By size and the electricity of the destination object being then based on before and after electronic equipment moves The displacement of subset determines current object distance, and determines target image distance according to described current object distance, by described front-facing camera Image distance is adjusted to consistent with described target image distance, and therefore, need not the most additionally to install, laser range finder etc. is hard In the case of part equipment, it is possible to determine current object distance (distance of photographic subjects to electronic equipment), so, need not The auto-focusing of the front-facing camera to electronic equipment is achieved in the case of many increase hardware costs.
Accompanying drawing explanation
Fig. 1 be the camera focusing method of the embodiment of the present invention one realize schematic flow sheet one;
Fig. 2 be the camera focusing method of the embodiment of the present invention one realize schematic flow sheet two;
Fig. 3 is the composition structural representation one of the camera focusing system of the embodiment of the present invention two;
Fig. 4 is the composition structural representation two of the camera focusing system of the embodiment of the present invention two;
Fig. 5 is the composition structural representation of the electronic equipment of the embodiment of the present invention three.
Detailed description of the invention
For making the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, to this Invention is described in further detail.Should be appreciated that detailed description of the invention described herein only in order to explain the present invention, Do not limit protection scope of the present invention.
Embodiment one
The embodiment of the present invention one provides a kind of camera focusing method, and the method is applied to for electronic equipment, described electricity Subset has front-facing camera.Shown in Figure 1, the flow process that realizes for the camera focusing method of the embodiment of the present invention one is shown It is intended to one.As it is shown in figure 1, the camera focusing method of the present embodiment comprises the steps:
Step S101: obtain the first size of destination object in described front-facing camera image preview area;
Specifically, after the front-facing camera of electronic equipment is opened, enter the preview mode of front-facing camera, at preview mould Under formula, obtain the size of selected destination object in the image preview area of described front-facing camera, i.e. first size.
Here, described electronic equipment can be various mobile terminal, specially smart mobile phone (Smart Phone), above-knee Type computer, panel computer, notebook computer, personal digital assistant etc..
Step S102: after detecting that described electronic equipment is moved, obtains displacement and the institute of described electronic equipment State the second size that destination object is current;
Specifically, detect whether described electronic equipment is moved, after detecting that described electronic equipment is moved, obtain Take the second size that the described destination object in the displacement of described electronic equipment and described image preview area is current.
Here, displacement can not assigned direction, it is also possible to assigned direction, such as, is on a certain default specific direction Displacement, this specific direction can determine according to actual needs, is typically chosen the vertical direction conduct of electronic equipment display screen curtain This specific direction is the most suitable.
Acceleration transducer mostly it is fitted with in view of electronic equipment, permissible by the detection data of acceleration transducer Obtain the displacement of electronic equipment, to this end, wherein in an embodiment, can be by being arranged on adding on described electronic equipment Velocity sensor detects whether described electronic equipment is moved, and after detecting that described electronic equipment is moved, obtains institute State the displacement of electronic equipment.So, the acceleration transducer by itself having on electronic equipment just can realize described electricity The acquisition of subset displacement, it is not necessary to extra other hardware costs of increase.Here, displacement is vector, can be according to reality Needing selected positive direction, such as, with when using front-facing camera to take pictures, electronic equipment is square away from the direction of photographic subjects To.
The size (including first size and the second size) of above-mentioned destination object can be any choosing on destination object The fixed length value between two differences, or the length value that destination object is in a selected direction, it is also possible to be envelope The length value between arbitrarily selected two differences in the frame region of destination object, or frame region is a certain selected The length value in direction, such as, destination object is a certain face in image preview area, can select the rectangle of this face of envelope The length value between two set points in frame region, for example, it is possible to using rectangular shaped rim region length or width as target pair The size of elephant.The acquisition standard of first size and the second size is identical.
Above-mentioned first size is the size of the destination object before electronic equipment moves, and the second size is that electronic equipment moves After the size of destination object, owing to destination object is in image preview area, therefore, first size and the second characterization of size Be the photographic subjects (or a certain position in the photographic subjects) size through front-facing camera imaging.
Step S103: combine described first size, described second size and described displacement and obtain current object distance.
Specifically, current object distance can be obtained based on formula below (1).
u 2 = M 1 d M 1 - M 2 + f - - - ( 1 )
Wherein, u2Represent electronic equipment move after object distance, current object distance the most as above, M1And M2Represent the first chi respectively Very little and the second size, f represents the lens focus of front-facing camera, and lens focus can obtain from the lens parameters of front-facing camera Taking, d represents the displacement of electronic equipment, and d is vector value, and when electronic equipment occurs away from photographic subjects mobile, d is just Value, when electronic equipment occurs near photographic subjects mobile, d is negative value.
Formula (1) is obtained by formula below (2) and formula (3);
M 1 M 2 = u 2 - f u 1 - f - - - ( 2 )
u2-u1=d (3)
Wherein, u1Represent electronic equipment move before object distance (hereinafter referred to as starting material away from).
It is considered that lens focus is much smaller relative to the distance of photographic subjects to electronic equipment (i.e. object distance), it is also possible to right Above-mentioned formula (2) carries out simplification process, and simplification after processing is:
M 1 M 2 = u 2 u 1 - - - ( 4 )
Can be obtained by formula (3) and formula (4):
u 2 = M 1 d M 1 - M 2 - - - ( 5 )
In actual applications, the current object distance of acquisition can be chosen according to focusing precision, the acquisition complexity of lens focus Mode, focus required precision higher time, formula (1) can be used to obtain current object distance, need not higher to pyrogene When spending or more difficult when getting lens focus, formula (5) can be passed through and obtain current object distance.
Above-mentioned formula (2) is that image-forming principle based on convex lens obtains, specifically, according to convex lens imaging principle, and can To obtain formula below (6)~formula (9);
1 u 1 + 1 v 1 = 1 f - - - ( 6 )
1 u 2 + 1 v 2 = 1 f - - - ( 7 )
H M 1 = u 1 v 1 - - - ( 8 )
H M 2 = u 2 v 2 - - - ( 9 )
Wherein, v1Represent electronic equipment move before image distance, v2Represent electronic equipment move after required image distance, H table Show the size that destination object correspondence is in kind.
Can be obtained by formula (8):
v 1 = f u 1 u 1 - f - - - ( 10 )
Can be obtained by formula (9):
v 2 = f u 2 u 2 - f - - - ( 11 )
Above-mentioned formula (2) can be obtained based on formula (6), (7), (10) and (11).
When reality is applied, it is contemplated that the quantity of the concavo-convex eyeglass of front-facing camera, put in order and the material of eyeglass Different etc. constituent element, can be according to the constituent element of the front-facing camera calculating side to current object distance when calculating current object distance Formula does suitable adjustment.
Step S104: determine target image distance according to described current object distance, the image distance of described front-facing camera is adjusted to Described target image distance is consistent;
Wherein, determine that target image distance can be in the way of employing arbitrarily can be with realization according to described current object distance, such as laser The mode determining target image distance according to current object distance used in focusing, or, can described current object distance be substituted into above-mentioned Formula (7) obtains target image distance, i.e. v2
Specifically, before described electronic equipment is moved, also obtain the initial image distance of described camera lens;Preposition take the photograph described May include that according to described initial image distance and described mesh as the image distance of head is adjusted to the detailed process consistent with described target image distance Mark image distance determines adjustment distance and adjustment direction, controls driving means by described according to described adjustment distance and described adjustment direction The camera lens of front-facing camera moves to position corresponding to described target image distance.
Here, the distance absolute value equal to initial image distance Yu the difference of target image distance is adjusted, in initial image distance more than target During image distance, adjustment direction is consistent with the direction reducing image distance, when initial image distance is less than target image distance, and adjustment direction and increase picture Away from direction consistent;Here, driving means typically selects motor.
In the present embodiment, use the mode of moving lens (or promoting camera lens), when actual realization, as long as Be capable of Focussing mode can, such as, the position of fixed lens, adjust photosensitive device position.By adjusting Focal length is to meet the lens imaging rule of front-facing camera, and then can generate and compare image clearly, i.e. achieves preposition taking the photograph Focusing as head.
Accordingly, according to the scheme of above-mentioned the present embodiment, it is applied to have in the electronic equipment of front-facing camera, and it is to obtain Take the first size of destination object in described front-facing camera image preview area, detecting that described electronic equipment moves After Dong, obtain the displacement of described electronic equipment and the second size that described destination object is current, in conjunction with described first size, institute State the second size and described displacement and obtain current object distance, determine target image distance according to described current object distance, preposition take the photograph described As the image distance of head is adjusted to consistent with described target image distance;Size by the destination object being then based on before and after electronic equipment moves Determine current object distance with the displacement of electronic equipment, and determine target image distance according to described current object distance, by described preposition shooting The image distance of head is adjusted to consistent with described target image distance, therefore, need not the most additionally install laser range finder In the case of hardware device, it is possible to determine current object distance (distance of photographic subjects to electronic equipment), so, be not required to The auto-focusing of the front-facing camera to electronic equipment is achieved in the case of increase hardware cost that will be too much.
Wherein in an embodiment, for the ease of the acquisition of destination object size, as in figure 2 it is shown, in described acquisition institute Also include before the step of the first size stating the destination object in the image preview area of front-facing camera:
Step S201: image preview area is carried out characteristics of human body's part Identification, the characteristics of human body position that will identify that is locked It is set to described destination object.
Here, described characteristics of human body position is face or palm, is typically preferred with face.
Specifically, image preview area is carried out characteristics of human body's part Identification, if only identifying a characteristics of human body position, Then this characteristics of human body position being locked as described destination object, if identifying multiple characteristics of human body position, then starting default sieve Select algorithm, from the multiple characteristics of human body positions identified, filter out a characteristics of human body position be locked as described destination object.
Here, filtering algorithm can be selected according to actual needs, and such as, it is the longest that screening is positioned at the image preview area time Characteristics of human body position, or screening is near the characteristics of human body position of core etc. of electronic equipment viewing area.
Embodiment two
According to the camera focusing method in above-described embodiment, the present invention also provides for a kind of camera focusing system, and this is System is applied to electronic equipment, and described electronic equipment has front-facing camera, and Fig. 3 is the camera focusing system of the embodiment of the present invention two The composition structural representation of system.As it is shown on figure 3, the camera focusing system of the present embodiment two include the first acquiring unit 301, Two acquiring units 302, processing unit 303 and control unit 304, wherein:
First acquiring unit 301, for obtaining first of destination object in described front-facing camera image preview area Size;
Second acquisition unit 302, for after detecting that described electronic equipment is moved, obtains described electronic equipment Displacement, and obtain the second size that described destination object is current;
Processing unit 303, is used for combining described image first size, described image the second size and described displacement and obtains Take current object distance, and determine target image distance according to described current object distance;
Control unit 304 is consistent with described target image distance for the image distance of described front-facing camera being adjusted to.
Wherein in an embodiment, second acquisition unit 302 is passed by the acceleration being arranged on described electronic equipment Sensor detects whether described electronic equipment is moved, and after detecting that described electronic equipment is moved, obtains described electronics The displacement of equipment.
Wherein in an embodiment, as shown in Figure 4, the present invention camera focusing system can also include:
Recognition unit 401, for image preview area is carried out characteristics of human body's part Identification, the characteristics of human body that will identify that Position is locked as described destination object.
Wherein in an embodiment, described characteristics of human body position is face or palm.
Wherein in an embodiment, the first acquiring unit 301 is additionally operable to before described electronic equipment is moved obtain The initial image distance of described camera lens;
Control unit 304 can determine adjustment distance and adjustment direction according to described initial image distance and described target image distance, Control driving means according to described adjustment distance and described adjustment direction to move the camera lens of described front-facing camera to described mesh The position that mark image distance is corresponding.
The camera focusing system that the embodiment of the present invention provides, it is pointed out that: above for camera focusing system Description, the description with above-mentioned camera focusing method is similar, and has the useful effect of above-mentioned camera focusing method Really, for saving length, repeat no more;Therefore, the above camera focusing system that the embodiment of the present invention is provided does not discloses Ins and outs, refer to the description of the camera focusing method of above-mentioned offer.
Embodiment three
According to the camera focusing system in above-described embodiment two, the embodiment of the present invention three provides a kind of electronic equipment, Fig. 5 Composition structural representation for the electronic equipment of the embodiment of the present invention three.As it is shown in figure 5, the electronic equipment of the present embodiment three includes Front-facing camera 501, acceleration transducer 502, parameter acquisition unit 503, controller 504 and driving means 505, wherein:
Parameter acquisition unit 503 is for obtaining the first chi of the destination object in front-facing camera 501 image preview area After very little, described first size is exported controller 504;
Acceleration transducer 502, after detecting that the main body of electronic equipment is moved, obtains described electronic equipment Displacement, exports controller 504 by described displacement;
The main body characterizing electronic equipment that parameter acquisition unit 503 is additionally operable to receiving controller 504 output is moved After dynamic signal, obtain the second size that described destination object is current, described second size is exported controller 504;
Controller 504 is used for combining described image first size, described image the second size and described displacement and obtains Current object distance, and determine target image distance according to described current object distance, control driving means 505 by the image distance of front-facing camera 501 It is adjusted to consistent with described target image distance.
Electronic equipment in the present embodiment three has the beneficial effect of above-mentioned camera focusing method or system, for saving Length, repeats no more.The ins and outs not disclosing the embodiment of the present invention in the electronic equipment provide, with reference to taking the photograph of above-mentioned offer As head focusing method or the description of system.
It will appreciated by the skilled person that all or part of flow process realizing in above-described embodiment method, be can Completing instructing relevant hardware by computer program, described program can be stored in an embodied on computer readable storage and be situated between In matter, as independent production marketing or use.Described program upon execution, can perform the complete of the embodiment such as above-mentioned each method Portion or part steps.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Ran dom Access Memory, RAM) etc..
Or, if the above-mentioned integrated module of the present invention is using the form realization of software function module and as independent product When selling or use, it is also possible to be stored in a computer read/write memory medium.Based on such understanding, the present invention implements The part that prior art is contributed by the technical scheme of example the most in other words can embody with the form of software product, This computer software product is stored in a storage medium, including some instructions with so that a computer equipment is (permissible It is personal computer, server or the network equipment etc.) perform all or part of of method described in each embodiment of the present invention.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not has the portion described in detail in certain embodiment Point, may refer to the associated description of other embodiments.In several embodiments provided herein, it should be understood that taken off The method and system of dew, can realize by another way.Apparatus embodiments described above is only schematically, example Such as, the division of described module, being only a kind of logic function and divide, actual can have other dividing mode, such as: many when realizing Individual module or assembly can be in conjunction with, or are desirably integrated into another system, or some features can be ignored, or do not perform.It addition, The coupling each other of shown or discussed each ingredient or direct-coupling or communication connection can be to be connect by some Mouthful, equipment or the INDIRECT COUPLING of module or communication connection, can be electrical, machinery or other form.
It addition, each functional module in various embodiments of the present invention can be fully integrated in a processing module, it is possible to Being that each module is individually as a module, it is also possible to two or more modules are integrated in a module;Above-mentioned Integrated module both can realize to use the form of hardware, it would however also be possible to employ hardware adds the form of software function module and realizes.
Each technical characteristic of embodiment described above can combine arbitrarily, for making description succinct, not to above-mentioned reality The all possible combination of each technical characteristic executed in example is all described, but, as long as the combination of these technical characteristics is not deposited In contradiction, all it is considered to be the scope that this specification is recorded.
Each technical characteristic of embodiment described above can combine arbitrarily, for making description succinct, not to above-mentioned reality The all possible combination of each technical characteristic executed in example is all described, but, as long as the combination of these technical characteristics is not deposited In contradiction, all it is considered to be the scope that this specification is recorded.
Embodiment described above only have expressed the several embodiments of the present invention, and it describes more concrete and detailed, but also Can not therefore be construed as limiting the scope of the patent.It should be pointed out that, come for those of ordinary skill in the art Saying, without departing from the inventive concept of the premise, it is also possible to make some deformation and improvement, these broadly fall into the protection of the present invention Scope.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (10)

1. a camera focusing method, it is characterised in that described method is applied to electronic equipment, before described electronic equipment has Putting photographic head, described method includes:
Obtain the first size of destination object in described front-facing camera image preview area;
After detecting that described electronic equipment is moved, the displacement and the described destination object that obtain described electronic equipment are current The second size;
Current object distance is obtained in conjunction with described first size, described second size and described displacement;
Determine target image distance according to described current object distance, the image distance of described front-facing camera is adjusted to and described target image distance one Cause.
Camera focusing method the most according to claim 1, it is characterised in that by being arranged on described electronic equipment Acceleration transducer detects whether described electronic equipment is moved, and after detecting that described electronic equipment is moved, obtains The displacement of described electronic equipment.
Camera focusing method the most according to claim 1, it is characterised in that at the described front-facing camera of described acquisition Also include before the first size of the destination object in image preview area:
Image preview area is carried out characteristics of human body's part Identification, and the characteristics of human body position that will identify that is locked as described target pair As.
Camera focusing method the most according to claim 3, it is characterised in that described characteristics of human body position be face or Palm.
Camera focusing method the most according to claim 1, it is characterised in that:
Before described electronic equipment is moved, also obtain the initial image distance of described camera lens;
The described image distance by described front-facing camera is adjusted to include consistent with described target image distance: according to described initial image distance and Described target image distance determines adjustment distance and adjustment direction, controls driving means according to described adjustment distance and described adjustment direction The camera lens of described front-facing camera is moved to position corresponding to described target image distance.
6. a camera focusing system, it is characterised in that described system is applied to electronic equipment, before described electronic equipment has Putting photographic head, described system includes:
First acquiring unit, for obtaining the first size of the destination object in described front-facing camera image preview area;
Second acquisition unit, for after detecting that described electronic equipment is moved, obtains the displacement of described electronic equipment, And obtain the second size that described destination object is current;
Processing unit, is used for combining described image first size, described image the second size and described displacement and obtains current Object distance, and determine target image distance according to described current object distance;
Control unit is consistent with described target image distance for the image distance of described front-facing camera being adjusted to.
Camera focusing system the most according to claim 6, it is characterised in that described second acquisition unit is by being arranged on Acceleration transducer on described electronic equipment detects whether described electronic equipment is moved, and described electronic equipment detected After being moved, obtain the displacement of described electronic equipment.
Camera focusing system the most according to claim 6, it is characterised in that also include:
Recognition unit, for image preview area is carried out characteristics of human body's part Identification, the characteristics of human body position lock that will identify that It is set to described destination object.
Camera focusing system the most according to claim 6, it is characterised in that:
Described first acquiring unit is additionally operable to before described electronic equipment is moved obtain the initial image distance of described camera lens;
Described control unit determines adjustment distance and adjustment direction according to described initial image distance and described target image distance, according to described Adjust distance and described adjustment direction controls driving means and moves the camera lens of described front-facing camera to described target image distance pair The position answered.
10. an electronic equipment, it is characterised in that include front-facing camera, acceleration transducer, parameter acquisition unit, control Device and driving means;
Described parameter acquisition unit is for obtaining the first size of the destination object in described front-facing camera image preview area After, described first size is exported described controller;
Described acceleration transducer, after detecting that the main body of electronic equipment is moved, obtains the displacement of described electronic equipment Amount, exports described controller by described displacement;
Described parameter acquisition unit is additionally operable to be moved in the main body of the corresponding electronic equipment receiving the output of described controller Signal after, obtain the second size that described destination object is current, described second size exported described controller;
Described device processed is used for combining described image first size, described image the second size and described displacement and obtains current thing Away from, and determine target image distance according to described current object distance, control described driving means and the image distance of described front-facing camera is adjusted To consistent with described target image distance.
CN201610826346.6A 2016-09-14 2016-09-14 Camera focusing method, system and electronic equipment Pending CN106170064A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610826346.6A CN106170064A (en) 2016-09-14 2016-09-14 Camera focusing method, system and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610826346.6A CN106170064A (en) 2016-09-14 2016-09-14 Camera focusing method, system and electronic equipment

Publications (1)

Publication Number Publication Date
CN106170064A true CN106170064A (en) 2016-11-30

Family

ID=57376312

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610826346.6A Pending CN106170064A (en) 2016-09-14 2016-09-14 Camera focusing method, system and electronic equipment

Country Status (1)

Country Link
CN (1) CN106170064A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106851109A (en) * 2017-03-17 2017-06-13 惠州Tcl移动通信有限公司 A kind of focusing process method and system based on mobile terminal camera
CN107087109A (en) * 2017-05-23 2017-08-22 努比亚技术有限公司 One kind, which is taken pictures, adjusts terminal and method
CN112313940A (en) * 2019-11-14 2021-02-02 深圳市大疆创新科技有限公司 Zooming tracking method and system, lens, imaging device and unmanned aerial vehicle
CN113038070A (en) * 2019-12-25 2021-06-25 浙江宇视科技有限公司 Equipment focusing method and device and cloud platform
US11048913B2 (en) 2017-06-16 2021-06-29 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Focusing method, device and computer apparatus for realizing clear human face
CN114466129A (en) * 2020-11-09 2022-05-10 哲库科技(上海)有限公司 Image processing method, image processing device, storage medium and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004361762A (en) * 2003-06-06 2004-12-24 Nippon Telegr & Teleph Corp <Ntt> Camera with instruction rod
CN103914679A (en) * 2013-01-05 2014-07-09 联想(北京)有限公司 Image identification method, device and electronic device
CN104811613A (en) * 2015-04-10 2015-07-29 深圳市金立通信设备有限公司 Camera focusing method
CN105091847A (en) * 2014-04-16 2015-11-25 联想(北京)有限公司 Distance measurement method and electronic device thereof
CN105827961A (en) * 2016-03-22 2016-08-03 努比亚技术有限公司 Mobile terminal and focusing method
EP3059940A2 (en) * 2015-02-19 2016-08-24 BlackBerry Limited A device with a front facing camera having discrete focus positions

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004361762A (en) * 2003-06-06 2004-12-24 Nippon Telegr & Teleph Corp <Ntt> Camera with instruction rod
CN103914679A (en) * 2013-01-05 2014-07-09 联想(北京)有限公司 Image identification method, device and electronic device
CN105091847A (en) * 2014-04-16 2015-11-25 联想(北京)有限公司 Distance measurement method and electronic device thereof
EP3059940A2 (en) * 2015-02-19 2016-08-24 BlackBerry Limited A device with a front facing camera having discrete focus positions
CN104811613A (en) * 2015-04-10 2015-07-29 深圳市金立通信设备有限公司 Camera focusing method
CN105827961A (en) * 2016-03-22 2016-08-03 努比亚技术有限公司 Mobile terminal and focusing method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106851109A (en) * 2017-03-17 2017-06-13 惠州Tcl移动通信有限公司 A kind of focusing process method and system based on mobile terminal camera
CN107087109A (en) * 2017-05-23 2017-08-22 努比亚技术有限公司 One kind, which is taken pictures, adjusts terminal and method
US11048913B2 (en) 2017-06-16 2021-06-29 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Focusing method, device and computer apparatus for realizing clear human face
CN112313940A (en) * 2019-11-14 2021-02-02 深圳市大疆创新科技有限公司 Zooming tracking method and system, lens, imaging device and unmanned aerial vehicle
WO2021092846A1 (en) * 2019-11-14 2021-05-20 深圳市大疆创新科技有限公司 Zoom tracking method and system, lens, imaging apparatus and unmanned aerial vehicle
CN113038070A (en) * 2019-12-25 2021-06-25 浙江宇视科技有限公司 Equipment focusing method and device and cloud platform
CN114466129A (en) * 2020-11-09 2022-05-10 哲库科技(上海)有限公司 Image processing method, image processing device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN106170064A (en) Camera focusing method, system and electronic equipment
US9998650B2 (en) Image processing apparatus and image pickup apparatus for adding blur in an image according to depth map
CN107924104B (en) Depth sensing autofocus multi-camera system
US9692959B2 (en) Image processing apparatus and method
US8810629B2 (en) Image processing apparatus, image capturing apparatus, image processing method, and program
CN110035228B (en) Camera anti-shake system, camera anti-shake method, electronic device, and computer-readable storage medium
US20120147150A1 (en) Electronic equipment
US20110193941A1 (en) Image processing apparatus, imaging apparatus, image processing method, and program
CN106060423A (en) Bokeh photograph generation method and device, and mobile terminal
CN105979165A (en) Blurred photos generation method, blurred photos generation device and mobile terminal
CN104980651A (en) Image processing apparatus and control method
CN104410783A (en) Focusing method and terminal
JP5991755B2 (en) Automatic focus detection apparatus and control method thereof
US9332195B2 (en) Image processing apparatus, imaging apparatus, and image processing method
WO2019011091A1 (en) Photographing reminding method and device, terminal and computer storage medium
CN103595920A (en) Image collection equipment and auxiliary focusing method and device in zooming process
CN104079812A (en) Method and device of acquiring image information
CN106249508A (en) Atomatic focusing method and system, filming apparatus
EP3796638A1 (en) Lens control method and device and terminal
CN104641624A (en) Image processing device, imaging device, image processing method, and image processing program
CN107465877A (en) Track focusing method and device and related media production
TWI451184B (en) Focus adjusting method and image capture device thereof
CN105282426A (en) Photographing apparatus and photographing control method
JP5482327B2 (en) Imaging apparatus, imaging method, and imaging program
WO2018019013A1 (en) Photographing control method and 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20161130

RJ01 Rejection of invention patent application after publication