CN104460185A - Automatic focusing method and device - Google Patents

Automatic focusing method and device Download PDF

Info

Publication number
CN104460185A
CN104460185A CN201410705972.0A CN201410705972A CN104460185A CN 104460185 A CN104460185 A CN 104460185A CN 201410705972 A CN201410705972 A CN 201410705972A CN 104460185 A CN104460185 A CN 104460185A
Authority
CN
China
Prior art keywords
photographer
face information
area
focusing
submodule
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
CN201410705972.0A
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.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410705972.0A priority Critical patent/CN104460185A/en
Publication of CN104460185A publication Critical patent/CN104460185A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B13/00Viewfinders; Focusing aids for cameras; Means for focusing for cameras; Autofocus systems for cameras
    • G03B13/32Means for focusing
    • G03B13/34Power focusing
    • G03B13/36Autofocus systems
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B7/00Mountings, adjusting means, or light-tight connections, for optical elements
    • G02B7/28Systems for automatic generation of focusing signals
    • G02B7/282Autofocusing of zoom lenses
    • 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/61Control of cameras or camera modules based on recognised objects
    • H04N23/611Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
    • 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

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses an automatic focusing method and device and belongs to the technical field of camera shooting. The automatic focusing method comprises the steps that the face information of a photographer is obtained, a focusing area required during shooting is determined according to the face information of the photographer, and automatic focusing is conducted on a photographed area according to the focusing area. According to the automatic focusing method and device, the focusing area required during shooting is determined according to the face information of the photographer, and automatic focusing is conducted on the photographed area according to the focusing area; automatic focusing can be conducted according to the face information of the photographer, and thus the problem that the focusing effect is poor due to the fact that the focusing area is not definitely the area that a user really wants to photograph is solved; the viewing area in a photographing previewing interface of the photographer is determined to be the focusing area, the focusing effect is improved, and then photographing quality is improved.

Description

Atomatic focusing method and device
Technical field
The disclosure relates to camera technique field, particularly a kind of Atomatic focusing method and device.
Background technology
Focusing makes to be taken the technology of imaging clearly in region, is divided into Atomatic focusing method, manual focus method and multiple focusing method etc.
A kind of Atomatic focusing method that correlation technique provides is: electronic equipment is when capture video, and electronic equipment automatically identifies and follows the trail of the moving object be taken in region, and then electronic equipment carries out auto-focusing to this moving object.But because moving object might not be the object that user truly wants to take, so good focus effects cannot be realized.
Summary of the invention
In order to solve because focusing area might not be the region that user truly wants to take in correlation technique, thus the problem causing focus effects poor, the disclosure provides a kind of Atomatic focusing method and device.Described technical scheme is as follows:
According to the first aspect of disclosure embodiment, provide a kind of Atomatic focusing method, described method comprises:
Obtain the face information of photographer;
According to the focusing area in the face information determination shooting process of described photographer;
According to described focusing area, auto-focusing is carried out to the region that is taken.
Optionally, described according to the focusing area in the face information determination shooting process of described photographer, comprising:
The watching area of described photographer in shooting preview interface is determined according to the face information of described photographer;
The watching area of described photographer in described shooting preview interface is defined as focusing area.
Optionally, the described face information according to described photographer determines the watching area of described photographer in shooting preview interface, comprising:
The facial orientation in described face information is determined according to the face information of described photographer;
The watching area of described photographer in shooting preview interface is determined according to described facial orientation.
Optionally, the described face information according to described photographer determines the watching area of described photographer in shooting preview interface, comprising:
The human eye area in described face information is determined according to the face information of described photographer;
Eyeball position is obtained in described human eye area;
The watching area of described photographer in shooting preview interface is determined according to described eyeball position.
Optionally, describedly in described human eye area, obtain eyeball position, comprising:
The position at human eye iris center is determined in described human eye area;
In described human eye area, determine the position of reference point, described reference point refers to the point keeping geo-stationary with described human eye area;
Described eyeball position is determined according to the described position at human eye iris center and the position of described reference point.
Optionally, the face information of described acquisition photographer, comprising:
By obtaining image corresponding to described photographer towards the camera of described photographer;
The face information of described photographer is obtained in the image that described photographer is corresponding.
Optionally, described method also comprises:
Whether change compared with the face information of the described photographer that the face information detecting the described photographer that this gets gets with history;
If detect and change, then to the smoothing process of the change of described face information;
Using the described face information after smoothing processing as the face information adopted when determining described focusing area.
According to the second aspect of disclosure embodiment, provide a kind of automatic focusing mechanism, described device comprises:
Acquisition module, is configured to the face information obtaining photographer;
First determination module, is configured to the focusing area in the face information determination shooting process of the described photographer obtained according to described acquisition module;
Focusing module, the described focusing area being configured to determine according to described first determination module carries out auto-focusing to the region that is taken.
Optionally, described first determination module, comprising:
First determines submodule, is configured to determine the watching area of described photographer in shooting preview interface according to the face information of described photographer;
Second determines submodule, is configured to determine that by described first the watching area of described photographer in described shooting preview interface that submodule is determined is defined as focusing area.
Optionally, described first determines submodule, comprising:
3rd determines submodule, is configured to the facial orientation determined according to the face information of described photographer in described face information;
4th determines submodule, is configured to determine that the described facial orientation that submodule is determined determines the watching area of described photographer in shooting preview interface according to the described 3rd.
Optionally, described first determines submodule, comprising:
5th determines submodule, is configured to the human eye area determined according to the face information of described photographer in described face information;
First obtains submodule, is configured to determine to obtain eyeball position in the described human eye area that submodule is determined the described 5th;
6th determines submodule, and the described eyeball position being configured to obtain submodule acquisition according to described first determines the watching area of described photographer in shooting preview interface.
Optionally, described first obtains submodule, comprising:
7th determines submodule, is configured to the position determining human eye iris center in described human eye area;
8th determines submodule, is configured to the position determining reference point in described human eye area, and described reference point refers to the point keeping geo-stationary with described human eye area;
9th determines submodule, is configured to determine that the position and the described 8th at the described human eye iris center that submodule is determined determines that described eyeball position is determined in the position of the described reference point that submodule is determined according to the described 7th.
Optionally, described acquisition module, comprising:
Second obtains submodule, is configured to by obtaining image corresponding to described photographer towards the camera of described photographer;
3rd obtains submodule, is configured to the face information obtaining described photographer in the image that described photographer is corresponding.
Optionally, described device also comprises:
Whether detection module, change compared with the face information of the described photographer that the face information being configured to detect the described photographer that this gets gets with history;
Processing module, be configured to described detection module detect change time, to the smoothing process of the change of described face information;
Second determination module, is configured to the described face information after using described processing module smoothing processing as the face information adopted when determining described focusing area.
According to the third aspect of disclosure embodiment, provide a kind of automatic focusing mechanism, described device comprises:
Processor;
For storing the storer of described processor executable;
Wherein, described processor is configured to:
Obtain the face information of photographer;
According to the focusing area in the face information determination shooting process of described photographer;
According to described focusing area, auto-focusing is carried out to the region that is taken.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
By according to the focusing area in the face information determination shooting process of photographer, according to focusing area, auto-focusing is carried out to the region that is taken; Due to auto-focusing can be carried out according to the face information of photographer, therefore, solve because focusing area might not be the region that user truly wants to take, thus the problem causing focus effects poor; Reach and the watching area of photographer in shooting preview interface is defined as focusing area, improve focus effects, thus improve the effect of shooting quality.
Should be understood that, it is only exemplary that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows and meets embodiment of the present disclosure, and is used from instructions one and explains principle of the present disclosure.
Fig. 1 is the process flow diagram of a kind of Atomatic focusing method according to an exemplary embodiment;
Fig. 2 A is the process flow diagram of a kind of Atomatic focusing method according to another exemplary embodiment;
Fig. 2 B is a kind of schematic diagram determining the watching area of photographer in shooting preview interface according to an exemplary embodiment;
Fig. 3 A is the process flow diagram of a kind of Atomatic focusing method Gen Ju an exemplary embodiment again;
Fig. 3 B is a kind of schematic diagram determining eyeball position according to an exemplary embodiment;
Fig. 3 C is a kind of schematic diagram determining the watching area of photographer in shooting preview interface according to another exemplary embodiment;
Fig. 4 is the block diagram of a kind of automatic focusing mechanism according to an exemplary embodiment;
Fig. 5 is the block diagram of a kind of automatic focusing mechanism according to another exemplary embodiment;
Fig. 6 is the block diagram of a kind of device for auto-focusing according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
Fig. 1 is the process flow diagram of a kind of Atomatic focusing method according to an exemplary embodiment, as shown in Figure 1, this Atomatic focusing method can be applied in electronic equipment, and this electronic equipment can be smart mobile phone, panel computer, intelligent television, E-book reader, multimedia player, pocket computer on knee and desk-top computer etc.This Atomatic focusing method comprises the following steps.
In a step 101, the face information of photographer is obtained.
In a step 102, according to the focusing area in the face information determination shooting process of photographer.
In step 103, according to focusing area, auto-focusing is carried out to the region that is taken.
In sum, the Atomatic focusing method provided in disclosure embodiment, by according to the focusing area in the face information determination shooting process of photographer, carries out auto-focusing according to focusing area to the region that is taken; Due to auto-focusing can be carried out according to the face information of photographer, therefore, solve because focusing area might not be the region that user truly wants to take, thus the problem causing focus effects poor; Reach and the watching area of photographer in shooting preview interface is defined as focusing area, improve focus effects, thus improve the effect of shooting quality.
In above-mentioned steps 102, electronic equipment, when according to focusing area in the face information determination shooting process of photographer, can determine the watching area of photographer in shooting preview interface according to the face information of photographer; The watching area of photographer in shooting preview interface is defined as focusing area.And electronic equipment is when determining the watching area of photographer in shooting preview interface according to the face information of photographer, can be realized by two kinds of modes, realization flow refers to following Fig. 2 A embodiment corresponding with Fig. 3 A.
In one implementation, electronic equipment can determine the facial orientation of photographer according to the face information of photographer, the watching area of photographer in shooting preview interface is determined by this facial orientation, refer to Fig. 2 A, it is the process flow diagram of a kind of Atomatic focusing method according to another exemplary embodiment, as shown in Figure 2 A, this Atomatic focusing method can be applied in electronic equipment, and this electronic equipment can be smart mobile phone, panel computer, intelligent television, E-book reader, multimedia player, pocket computer on knee and desk-top computer etc.This Atomatic focusing method comprises the following steps.
In step 201, by obtaining image corresponding to this photographer towards the camera of photographer.
In step 202., in the image that photographer is corresponding, obtain the face information of this photographer.
Electronic equipment by obtaining the image with photographer towards the camera of photographer, can obtain the face information of photographer by the method such as Face datection, face tracking.
For example, electronic equipment has front-facing camera and post-positioned pick-up head, after electronic equipment detects that post-positioned pick-up head is unlocked, automatic unlatching front-facing camera, obtained the image with photographer by front-facing camera, obtained the face information of photographer by the method such as Face datection, face tracking.
When reality uses, multiple face information may be there is in the image that front-facing camera obtains, now, maximum in these face information one can be defined as the face information of photographer by electronic equipment, or by the face information being defined as photographer the longest for life period in these face information.
When reality uses, in order to improve focusing quality, prevent the unexpected shake of focusing area, when the face information of photographer changes, electronic equipment can smoothingly process, and refers to following step 203 to 205.
In step 203, whether change compared with the face information of the photographer that the face information detecting the photographer that this gets gets with history.
Whether identical with the face information of the front photographer once got electronic equipment, after getting the face information of this photographer, detect this face information, judges whether the face information of photographer changes with this.
In step 204, change if detect, then to the smoothing process of the change of face information.
When detecting that current face information is not identical with the face information of the front photographer once got, also when namely the face information of photographer changes, the smoothing process of the change of electronic equipment to this face information, to make the change of the focusing area determined according to face information can not be too lofty.
Optionally, when detecting that current face information is identical with the face information of the front photographer once got, when namely the face information of photographer does not change yet, electronic equipment can not process.
In step 205, using the face information after smoothing processing as the face information adopted when determining focusing area.
Optionally, electronic equipment is when detecting that the face information of photographer changes, and whether the amplitude of variation that can detect this change is greater than predetermined amplitude threshold value, if this amplitude of variation is greater than predetermined amplitude threshold value, then and smoothing process; If this amplitude of variation is less than predetermined amplitude threshold value, then can not smoothing process.
In step 206, the facial orientation in this face information is determined according to the face information of photographer.
Electronic equipment, after the face information obtaining photographer, can determine the facial orientation of current shooting person according to facial orientation model of cognition.
In step 207, the watching area of photographer in shooting preview interface is determined according to facial orientation.
Electronic equipment, after the facial orientation obtaining photographer, can determine the now watching area of photographer in shooting preview interface according to this facial orientation.Such as, if the facial orientation of the photographer of electronic equipment acquisition is dead ahead, then the central area in shooting preview interface is defined as the watching area of photographer; If the facial orientation of the photographer that electronic equipment obtains is upper left side, then the region, upper left side in shooting preview interface is defined as the watching area of photographer.
For example, refer to Fig. 2 B, it is a kind of schematic diagram determining the watching area of photographer in shooting preview interface according to an exemplary embodiment.As shown in Figure 2 B, shooting preview interface when taking evenly be divide into nine regions by electronic equipment.Electronic equipment is after getting the face information of photographer, and the facial orientation calculating current shooting person according to facial orientation model of cognition is front-left.Front-left region 44 in shooting preview interface is defined as the watching area of current shooting person in shooting preview interface by electronic equipment.
In a step 208, the watching area of photographer in shooting preview interface is defined as focusing area.
This watching area, after determining the watching area of photographer in shooting preview interface, is defined as focusing area when taking by electronic equipment.
In step 209, according to focusing area, auto-focusing is carried out to the region that is taken.
In sum, the Atomatic focusing method provided in disclosure embodiment, by according to the focusing area in the face information determination shooting process of photographer, carries out auto-focusing according to focusing area to the region that is taken; Due to auto-focusing can be carried out according to the face information of photographer, therefore, solve because focusing area might not be the region that user truly wants to take, thus the problem causing focus effects poor; Reach and the watching area of photographer in shooting preview interface is defined as focusing area, improve focus effects, thus improve the effect of shooting quality.
In addition, by when detecting that the face information of photographer changes, to the smoothing process of the change of face information; Solve the problem causing focusing area to be shaken suddenly due to the unexpected change of face information; Reach the effect improving focusing quality.
In another kind of implementation, electronic equipment can determine the eyeball position of photographer according to the face information of photographer, the watching area of photographer in shooting preview interface is determined by this eyeball position, refer to Fig. 3 A, it is the process flow diagram of a kind of Atomatic focusing method Gen Ju an exemplary embodiment again, as shown in Figure 3A, this Atomatic focusing method can be applied in electronic equipment, this electronic equipment can be smart mobile phone, panel computer, intelligent television, E-book reader, multimedia player, pocket computer on knee and desk-top computer etc.This Atomatic focusing method comprises the following steps.
In step 301, by obtaining image corresponding to this photographer towards the camera of photographer.
In step 302, in the image that photographer is corresponding, obtain the face information of this photographer.
In step 303, whether change compared with the face information of the photographer that the face information detecting the photographer that this gets gets with history.
In step 304, change if detect, then to the smoothing process of the change of face information.
In step 305, using the face information after smoothing processing as the face information adopted when determining focusing area.
Above-mentioned steps 301 to 305 obtains and determines the process of face information, describes in detail and refer to embodiment corresponding to Fig. 2 A, be not repeated here.
Within step 306, according to the human eye area in the face information determination face information of photographer.
Electronic equipment, after the face information obtaining photographer, can obtain the human eye area in this face information by the method such as human eye detection, face tracking.
In step 307, in human eye area, eyeball position is obtained.
Optionally, when obtaining eyeball position in human eye area, electronic equipment by determining that eyeball position is determined in the position of human eye iris center in human eye area, can refer to following step.
The first, in human eye area, determine the position at human eye iris center.
Electronic equipment, after determining human eye area, can adopt radial symmetry algorithm etc. to look for round algorithm, utilizes the gradient direction of the every bit of pixel to carry out the projection ballot in the center of circle, who gets the most votes position is defined as the position at human eye iris center.
The second, in human eye area, determine the position of reference point, reference point refers to the point keeping geo-stationary with human eye area.
Behind the position determining human eye iris center, electronic equipment can determine the position of the reference point keeping geo-stationary with human eye area in human eye area, such as position, canthus etc.
3rd, determine eyeball position according to the position at human eye iris center and the position of reference point.
Here eyeball position refers to the position of eyeball relative to human eye area.
Behind the position of the position and reference point of determining human eye iris center, electronic equipment can determine eyeball position by the orientation, distance etc. calculated between the position at human eye iris center and the position of reference point.
For example, refer to Fig. 3 B, it is a kind of schematic diagram determining eyeball position according to an exemplary embodiment.As shown in Figure 3 B, electronic equipment behind the position 01 of the position 02 with reference point of determining human eye iris center, by judging the orientation of the position 02 at human eye iris center relative to the position 01 of reference point using two canthus lines as transverse axis, i.e. top or below; Calculate the distance between projected position on transverse axis of the position 02 at human eye iris center and the position 01 of reference point, by determining that this distance is in intermediate distance threshold value section, left distance threshold section or right distance threshold section judge that the position 02 at human eye iris center is in centre, left or right.Such as, when the position 02 calculating human eye iris center is on transverse axis and distance between its projection on transverse axis and the position 01 of reference point is in intermediate distance threshold value section, electronic equipment determination eyeball position is middle; When the position 02 calculating human eye iris center is in above transverse axis and distance between its projection on transverse axis and the position 01 of reference point is in left distance threshold section, electronic equipment determination eyeball position is upper left side.
In step 308, the watching area of photographer in shooting preview interface is determined according to eyeball position.
Electronic equipment, after the eyeball position obtaining photographer, can determine the now watching area of photographer in shooting preview interface according to this eyeball position.Such as, if the eyeball position of the photographer of electronic equipment acquisition is middle, then the central area in shooting preview interface is defined as the watching area of photographer; If the eyeball position of the photographer that electronic equipment obtains is upper left side, then the region, upper left side in shooting preview interface is defined as the watching area of photographer.
For example, refer to Fig. 3 C, it is a kind of schematic diagram determining the watching area of photographer in shooting preview interface according to another exemplary embodiment.As shown in Figure 3 C, shooting preview interface when taking evenly be divide into nine regions by electronic equipment.Electronic equipment is after getting the human eye area of photographer, and the eyeball position calculating current shooting person according to the method for above-mentioned steps 307 description is upper left side.Region, upper left side 11 in shooting preview interface is defined as the watching area of current shooting person in shooting preview interface by electronic equipment.
In a step 309, the watching area of photographer in shooting preview interface is defined as focusing area.
This watching area, after determining the watching area of photographer in shooting preview interface, is defined as focusing area when taking by electronic equipment.
In the step 310, according to focusing area, auto-focusing is carried out to the region that is taken.
In sum, the Atomatic focusing method provided in disclosure embodiment, by according to the focusing area in the face information determination shooting process of photographer, carries out auto-focusing according to focusing area to the region that is taken; Due to auto-focusing can be carried out according to the face information of photographer, therefore, solve because focusing area might not be the region that user truly wants to take, thus the problem causing focus effects poor; Reach and the watching area of photographer in shooting preview interface is defined as focusing area, improve focus effects, thus improve the effect of shooting quality.
In addition, by when detecting that the face information of photographer changes, to the smoothing process of the change of face information; Solve the problem causing focusing area to be shaken suddenly due to the unexpected change of face information; Reach the effect improving focusing quality.
Following is disclosure device embodiment, may be used for performing disclosure embodiment of the method.For the details do not disclosed in disclosure device embodiment, please refer to disclosure embodiment of the method.
Fig. 4 is the block diagram of a kind of automatic focusing mechanism according to an exemplary embodiment, as shown in Figure 4, this automatic focusing mechanism can be applied in electronic equipment, and this electronic equipment can be smart mobile phone, panel computer, intelligent television, E-book reader, multimedia player, pocket computer on knee and desk-top computer etc.This automatic focusing mechanism can include but not limited to: acquisition module 401, first determination module 402 and Focusing module 403.
This acquisition module 401, is configured to the face information obtaining photographer.
This first determination module 402, is configured to the focusing area in the face information determination shooting process of the photographer obtained according to acquisition module 401.
This Focusing module 403, the focusing area being configured to determine according to the first determination module 402 carries out auto-focusing to the region that is taken.
In sum, the automatic focusing mechanism provided in disclosure embodiment, by according to the focusing area in the face information determination shooting process of photographer, carries out auto-focusing according to focusing area to the region that is taken; Due to auto-focusing can be carried out according to the face information of photographer, therefore, solve because focusing area might not be the region that user truly wants to take, thus the problem causing focus effects poor; Reach and the watching area of photographer in shooting preview interface is defined as focusing area, improve focus effects, thus improve the effect of shooting quality.
Fig. 5 is the block diagram of a kind of automatic focusing mechanism according to another exemplary embodiment, as shown in Figure 5, this automatic focusing mechanism can be applied in electronic equipment, and this electronic equipment can be smart mobile phone, panel computer, intelligent television, E-book reader, multimedia player, pocket computer on knee and desk-top computer etc.This automatic focusing mechanism can include but not limited to: acquisition module 501, first determination module 502 and Focusing module 503.
This acquisition module 501, is configured to the face information obtaining photographer.
This first determination module 502, is configured to the focusing area in the face information determination shooting process of the photographer obtained according to acquisition module 501.
This Focusing module 503, the focusing area being configured to determine according to the first determination module 502 carries out auto-focusing to the region that is taken.
In a kind of possible embodiment, this first determination module 502 can comprise: first determines that submodule 502a and second determines submodule 502b.
This first determines submodule 502a, is configured to determine the watching area of photographer in shooting preview interface according to the face information of photographer.
This second determines submodule 502b, is configured to determine that by first the watching area of photographer in shooting preview interface that submodule 502a determines is defined as focusing area.
In a kind of possible embodiment, this first determines that submodule 502a can comprise: the 3rd determines that submodule 502a1 and the 4th determines submodule 502a2.
3rd determines submodule 502a1, is configured to according to the facial orientation in the face information determination face information of photographer.
4th determines submodule 502a2, is configured to determine that the facial orientation that submodule 502a1 determines determines the watching area of photographer in shooting preview interface according to the 3rd.
In a kind of possible embodiment, this first determines that submodule 502a can comprise: the 5th determines that submodule 502a3, first obtains submodule 502a4 and the 6th and determines submodule 502a5.
5th determines submodule 502a3, is configured to according to the human eye area in the face information determination face information of photographer.
First obtains submodule 502a4, is configured to determine to obtain eyeball position in the human eye area that submodule 502a3 determines the 5th.
6th determines submodule 502a5, and the eyeball position being configured to obtain submodule 502a4 acquisition according to first determines the watching area of photographer in shooting preview interface.
In a kind of possible embodiment, this first acquisition submodule 502a4 can comprise: the 7th determines that submodule 502a4A, the 8th determines that submodule 502a4B and the 9th determines submodule 502a4C.
7th determines submodule 502a4A, is configured to the position determining human eye iris center in human eye area.
8th determines submodule 502a4B, is configured to the position determining reference point in human eye area, and reference point refers to the point keeping geo-stationary with human eye area.
9th determines submodule 502a4C, is configured to determine that the position and the 8th at the human eye iris center that submodule 502a4A determines determines that eyeball position is determined in the position of the reference point that submodule 502a4B determines according to the 7th.
In a kind of possible embodiment, this acquisition module 501 can comprise: second obtains submodule 501a and the 3rd obtains submodule 501b.
This second acquisition submodule 501a, is configured to by obtaining image corresponding to this photographer towards the camera of photographer.
3rd obtains submodule 501b, is configured to the face information obtaining this photographer in the image that photographer is corresponding.
In a kind of possible embodiment, this automatic focusing mechanism can also comprise: detection module 504, processing module 505 and the second determination module 506.
Whether this detection module 504, change compared with the face information of the photographer that the face information being configured to detect the photographer that this gets gets with history.
This processing module 505, be configured to detection module 504 detect change time, to the smoothing process of the change of face information.
This second determination module 506, is configured to the face information after using processing module 505 smoothing processing as the face information adopted when determining focusing area.
In sum, the automatic focusing mechanism provided in disclosure embodiment, by according to the focusing area in the face information determination shooting process of photographer, carries out auto-focusing according to focusing area to the region that is taken; Due to auto-focusing can be carried out according to the face information of photographer, therefore, solve because focusing area might not be the region that user truly wants to take, thus the problem causing focus effects poor; Reach and the watching area of photographer in shooting preview interface is defined as focusing area, improve focus effects, thus improve the effect of shooting quality.
In addition, by when detecting that the face information of photographer changes, to the smoothing process of the change of face information; Solve the problem causing focusing area to be shaken suddenly due to the unexpected change of face information; Reach the effect improving focusing quality.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
The disclosure one exemplary embodiment provides a kind of automatic focusing mechanism, can realize the Atomatic focusing method that the disclosure provides, and this automatic focusing mechanism comprises: processor, storer for storage of processor executable instruction;
Wherein, processor is configured to:
Obtain the face information of photographer;
According to the focusing area in the face information determination shooting process of photographer;
According to focusing area, auto-focusing is carried out to the region that is taken.
Fig. 6 is the block diagram of a kind of device for auto-focusing according to an exemplary embodiment.Such as, device 600 can be mobile phone, computing machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 6, device 600 can comprise following one or more assembly: processing components 602, storer 604, power supply module 606, multimedia groupware 608, audio-frequency assembly 610, I/O (I/O) interface 612, sensor module 614, and communications component 616.
The integrated operation of the usual control device 600 of processing components 602, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 602 can comprise one or more processor 618 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 602 can comprise one or more module, and what be convenient between processing components 602 and other assemblies is mutual.Such as, processing components 602 can comprise multi-media module, mutual with what facilitate between multimedia groupware 608 and processing components 602.
Storer 604 is configured to store various types of data to be supported in the operation of device 600.The example of these data comprises for any application program of operation on device 600 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 604 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that power supply module 606 is device 600 provide electric power.Power supply module 606 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 600 and be associated.
Multimedia groupware 608 is included in the screen providing an output interface between device 600 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant with touch or slide and pressure.In certain embodiments, multimedia groupware 608 comprises a front-facing camera and/or post-positioned pick-up head.When device 600 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 610 is configured to export and/or input audio signal.Such as, audio-frequency assembly 610 comprises a microphone (MIC), and when device 600 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 604 further or be sent via communications component 616.In certain embodiments, audio-frequency assembly 610 also comprises a loudspeaker, for output audio signal.
I/O interface 612 is for providing interface between processing components 602 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 614 comprises one or more sensor, for providing the state estimation of various aspects for device 600.Such as, sensor module 614 can detect the opening/closing state of device 600, the relative positioning of assembly, such as assembly is display and the keypad of device 600, the position of all right pick-up unit 600 of sensor module 614 or device 600 1 assemblies changes, the presence or absence that user contacts with device 600, the temperature variation of device 600 orientation or acceleration/deceleration and device 600.Sensor module 614 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 614 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 614 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 616 is configured to the communication being convenient to wired or wireless mode between device 600 and other equipment.Device 600 can access the wireless network based on communication standard, as Wi-Fi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 616 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, communications component 616 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 600 can be realized, for performing above-mentioned Atomatic focusing method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 604 of instruction, above-mentioned instruction can perform above-mentioned Atomatic focusing method by the processor 618 of device 600.Such as, non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
Those skilled in the art, at consideration instructions and after putting into practice invention disclosed herein, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (15)

1. an Atomatic focusing method, is characterized in that, described method comprises:
Obtain the face information of photographer;
According to the focusing area in the face information determination shooting process of described photographer;
According to described focusing area, auto-focusing is carried out to the region that is taken.
2. method according to claim 1, is characterized in that, described according to the focusing area in the face information determination shooting process of described photographer, comprising:
The watching area of described photographer in shooting preview interface is determined according to the face information of described photographer;
The watching area of described photographer in described shooting preview interface is defined as focusing area.
3. method according to claim 2, is characterized in that, the described face information according to described photographer determines the watching area of described photographer in shooting preview interface, comprising:
The facial orientation in described face information is determined according to the face information of described photographer;
The watching area of described photographer in shooting preview interface is determined according to described facial orientation.
4. method according to claim 2, is characterized in that, the described face information according to described photographer determines the watching area of described photographer in shooting preview interface, comprising:
The human eye area in described face information is determined according to the face information of described photographer;
Eyeball position is obtained in described human eye area;
The watching area of described photographer in shooting preview interface is determined according to described eyeball position.
5. method according to claim 4, is characterized in that, describedly in described human eye area, obtains eyeball position, comprising:
The position at human eye iris center is determined in described human eye area;
In described human eye area, determine the position of reference point, described reference point refers to the point keeping geo-stationary with described human eye area;
Described eyeball position is determined according to the described position at human eye iris center and the position of described reference point.
6. according to the arbitrary described method of claim 1 to 5, it is characterized in that, the face information of described acquisition photographer, comprising:
By obtaining image corresponding to described photographer towards the camera of described photographer;
The face information of described photographer is obtained in the image that described photographer is corresponding.
7., according to the arbitrary described method of claim 1 to 5, it is characterized in that, described method also comprises:
Whether change compared with the face information of the described photographer that the face information detecting the described photographer that this gets gets with history;
If detect and change, then to the smoothing process of the change of described face information;
Using the described face information after smoothing processing as the face information adopted when determining described focusing area.
8. an automatic focusing mechanism, is characterized in that, described device comprises:
Acquisition module, is configured to the face information obtaining photographer;
First determination module, is configured to the focusing area in the face information determination shooting process of the described photographer obtained according to described acquisition module;
Focusing module, the described focusing area being configured to determine according to described first determination module carries out auto-focusing to the region that is taken.
9. device according to claim 8, is characterized in that, described first determination module, comprising:
First determines submodule, is configured to determine the watching area of described photographer in shooting preview interface according to the face information of described photographer;
Second determines submodule, is configured to determine that by described first the watching area of described photographer in described shooting preview interface that submodule is determined is defined as focusing area.
10. device according to claim 9, is characterized in that, described first determines submodule, comprising:
3rd determines submodule, is configured to the facial orientation determined according to the face information of described photographer in described face information;
4th determines submodule, is configured to determine that the described facial orientation that submodule is determined determines the watching area of described photographer in shooting preview interface according to the described 3rd.
11. devices according to claim 9, is characterized in that, described first determines submodule, comprising:
5th determines submodule, is configured to the human eye area determined according to the face information of described photographer in described face information;
First obtains submodule, is configured to determine to obtain eyeball position in the described human eye area that submodule is determined the described 5th;
6th determines submodule, and the described eyeball position being configured to obtain submodule acquisition according to described first determines the watching area of described photographer in shooting preview interface.
12. devices according to claim 11, is characterized in that, described first obtains submodule, comprising:
7th determines submodule, is configured to the position determining human eye iris center in described human eye area;
8th determines submodule, is configured to the position determining reference point in described human eye area, and described reference point refers to the point keeping geo-stationary with described human eye area;
9th determines submodule, is configured to determine that the position and the described 8th at the described human eye iris center that submodule is determined determines that described eyeball position is determined in the position of the described reference point that submodule is determined according to the described 7th.
Device described in 13. according to Claim 8 to 12 are arbitrary, it is characterized in that, described acquisition module, comprising:
Second obtains submodule, is configured to by obtaining image corresponding to described photographer towards the camera of described photographer;
3rd obtains submodule, is configured to the face information obtaining described photographer in the image that described photographer is corresponding.
Device described in 14. according to Claim 8 to 12 are arbitrary, it is characterized in that, described device also comprises:
Whether detection module, change compared with the face information of the described photographer that the face information being configured to detect the described photographer that this gets gets with history;
Processing module, be configured to described detection module detect change time, to the smoothing process of the change of described face information;
Second determination module, is configured to the described face information after using described processing module smoothing processing as the face information adopted when determining described focusing area.
15. 1 kinds of automatic focusing mechanisms, is characterized in that, described device comprises:
Processor;
For storing the storer of described processor executable;
Wherein, described processor is configured to:
Obtain the face information of photographer;
According to the focusing area in the face information determination shooting process of described photographer;
According to described focusing area, auto-focusing is carried out to the region that is taken.
CN201410705972.0A 2014-11-28 2014-11-28 Automatic focusing method and device Pending CN104460185A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410705972.0A CN104460185A (en) 2014-11-28 2014-11-28 Automatic focusing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410705972.0A CN104460185A (en) 2014-11-28 2014-11-28 Automatic focusing method and device

Publications (1)

Publication Number Publication Date
CN104460185A true CN104460185A (en) 2015-03-25

Family

ID=52906470

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410705972.0A Pending CN104460185A (en) 2014-11-28 2014-11-28 Automatic focusing method and device

Country Status (1)

Country Link
CN (1) CN104460185A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104933419A (en) * 2015-06-30 2015-09-23 小米科技有限责任公司 Method and device for obtaining iris images and iris identification equipment
CN105635582A (en) * 2016-01-27 2016-06-01 惠州Tcl移动通信有限公司 Photographing control method and photographing control terminal based on eye feature recognition
CN105678242A (en) * 2015-12-30 2016-06-15 小米科技有限责任公司 Focusing method and apparatus in the mode of holding certificate in hands
CN106470308A (en) * 2015-08-18 2017-03-01 联想(北京)有限公司 Image processing method and electronic equipment
CN107392120A (en) * 2017-07-06 2017-11-24 电子科技大学 A kind of notice intelligence direct method based on sight estimation
CN111695516A (en) * 2020-06-12 2020-09-22 百度在线网络技术(北京)有限公司 Thermodynamic diagram generation method, device and equipment
CN112702506A (en) * 2019-10-23 2021-04-23 北京小米移动软件有限公司 Shooting method, shooting device and electronic equipment
WO2021179969A1 (en) * 2020-03-07 2021-09-16 Guangdong Oppo Mobile Telecommunications Corp., Ltd. System and method for automatically adjusting focus of a camera
US11283987B2 (en) 2017-06-16 2022-03-22 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Focus region display method and apparatus, and storage medium
CN115623317A (en) * 2022-12-19 2023-01-17 荣耀终端有限公司 Focusing method, focusing equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009020163A (en) * 2007-07-10 2009-01-29 Casio Comput Co Ltd Imaging apparatus and program therefor
CN101523896A (en) * 2006-10-02 2009-09-02 索尼爱立信移动通讯有限公司 Focused areas in an image
CN103248822A (en) * 2013-03-29 2013-08-14 东莞宇龙通信科技有限公司 Focusing method of camera shooting terminal and camera shooting terminal
CN103516985A (en) * 2013-09-18 2014-01-15 上海鼎为软件技术有限公司 Mobile terminal and image acquisition method thereof
CN104125405A (en) * 2014-08-12 2014-10-29 罗天明 Image interest area extraction method based on eyeball tracking and automatic focus system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101523896A (en) * 2006-10-02 2009-09-02 索尼爱立信移动通讯有限公司 Focused areas in an image
JP2009020163A (en) * 2007-07-10 2009-01-29 Casio Comput Co Ltd Imaging apparatus and program therefor
CN103248822A (en) * 2013-03-29 2013-08-14 东莞宇龙通信科技有限公司 Focusing method of camera shooting terminal and camera shooting terminal
CN103516985A (en) * 2013-09-18 2014-01-15 上海鼎为软件技术有限公司 Mobile terminal and image acquisition method thereof
CN104125405A (en) * 2014-08-12 2014-10-29 罗天明 Image interest area extraction method based on eyeball tracking and automatic focus system

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104933419A (en) * 2015-06-30 2015-09-23 小米科技有限责任公司 Method and device for obtaining iris images and iris identification equipment
CN104933419B (en) * 2015-06-30 2019-05-21 小米科技有限责任公司 The method, apparatus and red film for obtaining iris image identify equipment
CN106470308A (en) * 2015-08-18 2017-03-01 联想(北京)有限公司 Image processing method and electronic equipment
CN105678242A (en) * 2015-12-30 2016-06-15 小米科技有限责任公司 Focusing method and apparatus in the mode of holding certificate in hands
CN105678242B (en) * 2015-12-30 2019-05-07 小米科技有限责任公司 Focusing method and device under hand-held certificate mode
CN105635582A (en) * 2016-01-27 2016-06-01 惠州Tcl移动通信有限公司 Photographing control method and photographing control terminal based on eye feature recognition
US11283987B2 (en) 2017-06-16 2022-03-22 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Focus region display method and apparatus, and storage medium
CN107392120A (en) * 2017-07-06 2017-11-24 电子科技大学 A kind of notice intelligence direct method based on sight estimation
CN107392120B (en) * 2017-07-06 2020-04-14 电子科技大学 Attention intelligent supervision method based on sight line estimation
CN112702506A (en) * 2019-10-23 2021-04-23 北京小米移动软件有限公司 Shooting method, shooting device and electronic equipment
WO2021179969A1 (en) * 2020-03-07 2021-09-16 Guangdong Oppo Mobile Telecommunications Corp., Ltd. System and method for automatically adjusting focus of a camera
CN111695516A (en) * 2020-06-12 2020-09-22 百度在线网络技术(北京)有限公司 Thermodynamic diagram generation method, device and equipment
CN111695516B (en) * 2020-06-12 2023-11-07 百度在线网络技术(北京)有限公司 Thermodynamic diagram generation method, device and equipment
CN115623317A (en) * 2022-12-19 2023-01-17 荣耀终端有限公司 Focusing method, focusing equipment and storage medium
CN115623317B (en) * 2022-12-19 2023-04-28 荣耀终端有限公司 Focusing method, device and storage medium

Similar Documents

Publication Publication Date Title
CN104156149B (en) Acquisition parameters control method and device
CN104460185A (en) Automatic focusing method and device
CN105991930B (en) Zoom processing method, device and the mobile terminal of dual camera
CN105430262A (en) Photographing control method and photographing control device
CN105635567A (en) Shooting method and device
CN105120144A (en) Image shooting method and device
CN105791958A (en) Method and device for live broadcasting game
CN104519282A (en) Image shooting method and device
CN105426515A (en) Video classification method and apparatus
CN105828201A (en) Video processing method and device
CN104700353A (en) Image filter generating method and device
CN104933419A (en) Method and device for obtaining iris images and iris identification equipment
CN105468767A (en) Method and device for acquiring calling card information
CN106131416A (en) Zoom processing method, device and the mobile terminal of dual camera
CN104284240A (en) Video browsing method and device
CN104243829A (en) Self-shooting method and self-shooting device
CN104869314A (en) Photographing method and device
CN106210495A (en) Image capturing method and device
CN105069426A (en) Similar picture determining method and apparatus
CN104980662A (en) Method for adjusting imaging style in shooting process, device thereof and imaging device
CN105049269A (en) Information feedback method and device
CN107102801A (en) Terminal screen spinning solution and device
CN105631804A (en) Image processing method and device
CN104301610A (en) Image shooting control method and device
CN107426489A (en) Processing method, device and terminal during shooting image

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150325