CN105657276A - Control method, control device and electronic device - Google Patents

Control method, control device and electronic device Download PDF

Info

Publication number
CN105657276A
CN105657276A CN201610114964.8A CN201610114964A CN105657276A CN 105657276 A CN105657276 A CN 105657276A CN 201610114964 A CN201610114964 A CN 201610114964A CN 105657276 A CN105657276 A CN 105657276A
Authority
CN
China
Prior art keywords
area
module
imaging device
preset area
control method
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
CN201610114964.8A
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 CN201610114964.8A priority Critical patent/CN105657276A/en
Publication of CN105657276A publication Critical patent/CN105657276A/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/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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals

Landscapes

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

Abstract

The invention discloses a control method. The control method is used for controlling an imaging device. The imaging device comprises a lens unit. The control method includes the following steps that a previewing image output by the imaging device is processed to identify a human face region in the previewing image; the area of the human face region is calculated; whether the difference value between the area and the preset area is smaller than a preset threshold value or not is judged; when the difference value is smaller than the preset threshold value, the lens unit is driven to move to the corresponding preset position; the imaging device is controlled to conduct contrast-type focusing with the preset position as the initial position. The invention further discloses a control device and an electronic device. According to the control method, the control device and the electronic device, as before focusing is carried out, the lens unit is moved to the preset position, and the imaging device is controlled to conduct contrast-type focusing with the preset position as the initial position, the focusing efficiency of the contrast-type focusing mode in a self-shooting scene can be improved.

Description

Control method, control device and electronic installation
Technical field
The present invention relates to imaging technique, particularly to the control method of a kind of imaging device, control device and electronic installation.
Background technology
Existing contrast formula focal modes in auto heterodyne scene owing to needing the contrast that drives the camera lens different position that moves in whole focusing range and detect image corresponding to each position position maximum to find contrast, therefore consuming time longer, Consumer's Experience is poor.
Summary of the invention
It is contemplated that at least solve one of technical problem of existence in prior art. For this, the invention provides a kind of control method, control device and electronic installation.
The control method of embodiment of the present invention is used for controlling imaging device, and described imaging device includes lens unit, and described control method comprises the following steps:
Process step, process the preview image of described imaging device output to identify the human face region in described preview image;
Calculation procedure, calculates the area of described human face region;
Judge step, it is judged that whether the difference of described area and preset area is less than predetermined threshold value;
Actuation step, drives described lens unit to move to corresponding precalculated position when described difference is less than described predetermined threshold value; And
Rate-determining steps, controls described imaging device and carries out contrast formula focusing with described precalculated position for initial position.
In some embodiments, described control method includes:
Detecting step, detects whether there is described preset area, if entering described judgement step, if it is not, enter setting steps; And
Setting steps, arranges described preset area.
In some embodiments, described setting steps includes:
Obtain sub-step, control described imaging device and focus when user autodynes to obtain the lens location to defocused auto heterodyne image and correspondence;
Determine sub-step, it is determined that the face area in described auto heterodyne image; And
Sub-step is set, described face area is set and is preset area and described lens location is described predeterminated position.
In some embodiments, described acquisition sub-step obtains the multiframe multiple described lens location to defocused described auto heterodyne image and correspondence;
Described determine that sub-step determines the multiple described face area in auto heterodyne image described in multiframe;And
The described sub-step that arranges arranges the meansigma methods of multiple described face area and is described preset area and the mean place arranging multiple described lens location is described predeterminated position.
In some embodiments, described preset area includes multiple, and described predeterminated position includes multiple, the corresponding described predeterminated position of each described preset area.
The control device of embodiment of the present invention, is used for controlling imaging device, and described imaging device includes lens unit, and described control device includes:
Processing module, the preview image that described processing module exports for processing described imaging device is to identify the human face region in described preview image;
Computing module, described computing module is for calculating the area of described human face region;
Judge module, described judge module is for judging that whether the described area difference with preset area is less than predetermined threshold value;
Driving module, described driving module moves to corresponding precalculated position for driving described lens unit when described difference is less than described predetermined threshold value; And
Controlling module, described control module is used for controlling described imaging device and carries out contrast formula focusing with described precalculated position for initial position.
In some embodiments, described control device includes:
Detection module, described detection module, for detecting whether there is described preset area, if so, then notifies that described judge module judges, if it is not, then notify that the described module that arranges is configured; And
Arranging module, the described module that arranges is for arranging described preset area.
In some embodiments, the described module that arranges includes:
Obtaining submodule, described acquisition submodule focuses when user autodynes to obtain the lens location to defocused auto heterodyne image and correspondence for controlling described imaging device;
Determine submodule, described determine that submodule is for determining the face area in described auto heterodyne image; And
Arranging submodule, the described submodule that arranges is for arranging described face area and be preset area and described lens location being described predeterminated position.
In some embodiments, described acquisition submodule is for obtaining the multiframe multiple described lens location to defocused described auto heterodyne image and correspondence;
Described determine the submodule multiple described face area for determining in auto heterodyne image described in multiframe; And
The described submodule that arranges is for arranging the meansigma methods of multiple described face area and be described preset area and the mean place arranging multiple described lens location being described predeterminated position.
In some embodiments, described preset area includes multiple, and described predeterminated position includes multiple, the corresponding described predeterminated position of each described preset area.
The electronic installation of embodiment of the present invention includes described imaging device and described control device.
In some embodiments, described electronic installation includes mobile phone or panel computer.
In some embodiments, described imaging device includes Front camera and/or rearmounted camera.
The control method of embodiment of the present invention, control device and electronic installation by being moved by lens unit before focusing to precalculated position and controlling imaging device and carry out contrast formula focusing with precalculated position for initial position, it is possible to increase contrast formula focal modes focusing efficiency in auto heterodyne scene.
The additional aspect of embodiments of the present invention and advantage will part provide in the following description, and part will become apparent from the description below, or is recognized by the practice of embodiments of the present invention.
Accompanying drawing explanation
Above-mentioned and/or the additional aspect of embodiments of the present invention and advantage are from conjunction with will be apparent from easy to understand the accompanying drawings below description to embodiment, wherein:
Fig. 1 is the control method schematic flow sheet of embodiment of the present invention.
Fig. 2 is the high-level schematic functional block diagram controlling device of embodiment of the present invention.
Fig. 3 is the lens unit driving principle schematic diagram of embodiment of the present invention.
Fig. 4 is the face image-forming principle schematic diagram of embodiment of the present invention.
Fig. 5 is the control method schematic flow sheet of some embodiment of the present invention.
Fig. 6 is the high-level schematic functional block diagram controlling device of some embodiment of the present invention.
Fig. 7 is the control method schematic flow sheet of some embodiment of the present invention.
Fig. 8 is the high-level schematic functional block diagram controlling device of some embodiment of the present invention.
Detailed description of the invention
Being described below in detail the embodiment of embodiments of the present invention, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has the element of same or like function from start to finish. The embodiment described below with reference to accompanying drawing is illustrative of, and is only used for explaining embodiments of the present invention, and it is not intended that restriction to embodiments of the present invention.
Referring to Fig. 1, the control method of embodiment of the present invention is used for controlling imaging device, and imaging device includes lens unit. Control method comprises the following steps:
S10: process the preview image of imaging device output to identify the human face region in preview image;
S20: calculate the area of human face region;
S30: judge that whether the area difference with preset area is less than predetermined threshold value;
S40: drive lens unit to move to corresponding precalculated position when difference is less than predetermined threshold value; And
S50: control imaging device and carry out contrast formula focusing with precalculated position for initial position.
Refer to Fig. 2, the control device 100 of embodiment of the present invention, it is used for controlling imaging device 200. Control device 100 to include processing module 110, computing module 120, judge module 130, drive module 140 and control module 150. Imaging device 200 includes lens unit 210.
The control method of embodiment of the present invention can be realized by the control device 100 of embodiment of the present invention. Wherein, step S10 can be realized by processing module 110, and step S20 can be realized by computing module 120, and step S30 can be realized by judge module 130, and step S40 can by driving module 140 to realize, and step S50 can be realized by controlling module 150.
In other words, the preview image that processing module 110 exports for processing imaging device 200 is to identify the human face region in preview image. Computing module 120 is for calculating the area of human face region. Judge module 130 is for judging that whether the area difference with preset area is less than predetermined threshold value. Drive module 140 for driving lens unit 210 to move to corresponding precalculated position when difference is less than predetermined threshold value. Control module 150 is used for controlling imaging device 200 and carries out contrast formula focusing with precalculated position for initial position.
Referring to 3, in auto heterodyne scene, contrast formula focal modes first passes through the different focusing position driving lens unit 210 to move in whole focusing range to regulate size apart, for instance be driven into focusing position P1, P2 ... PN. Different focusing positions correspond to different focal lengths to the distance of imageing sensor. Then detect image corresponding to each position contrast and find picture contrast maximum time corresponding focusing position to realize focusing. It is consuming time longer to be appreciated that in auto heterodyne scene this focusing mode, and Consumer's Experience is poor.
Referring to Fig. 4, the object distance between face and camera lens is D1, some A1, B1 represent the top and bottom of face respectively, and corresponding face cartographic represenation of area is S1.Point A1', B1' on some A1, B1 correspondence image sensor respectively, the face cartographic represenation of area in the image of corresponding imageing sensor output is S1', and corresponding image distance is expressed as d1. Similarly, the object distance between face and camera lens is D2, some A2, B2 represent the top and bottom of face respectively, and corresponding face cartographic represenation of area is S2. Point A2', B2' on some A2, B2 correspondence image sensor respectively, the face cartographic represenation of area in the image of corresponding imageing sensor output is S2', and corresponding image distance is expressed as d2.
According to the Gaussian imaging equation 1/F=1/D1+1/d1=1/D2+1/d2 in optics, wherein F represents the focal length of lens unit 210. Being appreciated that different object distances correspond to different image distances when face area S1=S2, also correspond to the face area in different images, image distance also becomes relation one to one with the area of face in image simultaneously.
Thus, can pass through identify the face of the image of imageing sensor output and calculate its size, first lens unit 210 is driven into corresponding position before focusing after focusing initial position, carries out contrast formula focusing again, it is possible to be effectively improved contrast formula focal modes focusing efficiency in auto heterodyne scene.
It should be noted that recognition of face speed is very fast, it is possible to the size of quick obtaining facial zone when not completing to focus, this characteristic is utilized first lens unit 210 to be driven into initial focusing position before can be implemented in focusing just.
Under normal circumstances, the difference between the area of different faces is little. And in auto heterodyne scene, object distance is often much larger than image distance, thus different face area discrepancy in the image that imageing sensor exports almost can be ignored. Additionally, control method and the control device 100 of embodiment of the present invention are not configured to be directly realized by focusing by the face area identified and calculate in image, but in order to find an appropriate initial position to reduce contrast formula focal modes hunting zone in focus process before focusing.
So, the control method of embodiment of the present invention and control device 100 by being moved by lens unit 210 before focusing to precalculated position and controlling imaging device 200 and carry out contrast formula focusing with precalculated position for initial position, it is possible to increase contrast formula focal modes focusing efficiency in auto heterodyne scene.
Referring to Fig. 5, in some embodiments, control method also includes:
S00: detect whether there is preset area, if then entering step S30, if it is not, then enter step S01; And
S01: preset area is set.
Refer to Fig. 6, in some embodiments, control device 100 and include detection module 160 and module 170 is set. Step S00 in the control method of embodiment of the present invention can be realized by detection module 160, and step S01 can be realized by arranging module 170. In other words, for detecting whether there is preset area in detection module 160, and notifies that when there is preset area judge module 130 judges, notifies that when being absent from preset area arranging module 170 is configured. Module 170 is set for arranging preset area.
Preferably, it is possible to by machine learning algorithm, preset area is set. Namely by constantly remember the size of face and the focusing position of correspondence in successfully to defocused image in each auto heterodyne process with formation corresponding relation between the two. After long-term data acquisition, it is possible to form stable data corresponding relation.
For the user of smart mobile phone, auto heterodyne mode is such as autodyned distance, and posture and action etc. in use can form certain custom. Therefore, control method of the invention process and control device 100 and can find an initial focusing position more accurately for the fixing user of smart mobile phone.
Specifically, after face area in identifying and calculate the image that imageing sensor exports, according to the size detection of the face area in image, whether it falls within the preset threshold range of preset area detection module 160, such that it is able to judge whether there is preset area in the numerical range of this face area. If being absent from, then illustrate that the numerical value being required for this face area arranges a preset area.
So, it is possible to by judging whether preset area and then judging whether to need to arrange preset area.
Referring to Fig. 7, in some embodiments, step S01 includes following sub-step:
S011: control imaging device 200 and focus when user autodynes to obtain the lens location to defocused auto heterodyne image and correspondence;
S012: determine the face area in auto heterodyne image; And
S013: face area is set and is preset area and lens location is predeterminated position.
Refer to Fig. 8, in some embodiments, module 170 is set and includes obtaining in module 172, determine submodule 174 and submodule 176 is set. The sub-step S011 of embodiment of the present invention can be realized in module 172 by acquisition, and sub-step S012 can by determining that submodule 174 realizes, and sub-step S013 can be realized by arranging submodule 176.
In other words, acquisition focuses when user autodynes to obtain the lens location to defocused auto heterodyne image and correspondence for controlling imaging device 200 in module 172. Determine the submodule 174 face area for determining in auto heterodyne image. Submodule 176 is set for arranging face area and be preset area and lens location being predeterminated position.
Specifically, when being absent from preset area, it is possible to face area in the image after successfully of now focusing is set to a new preset area, and corresponding lens location is set to new predeterminated position. In other words, the basis of original preset data defines a new corresponding data. In next time auto heterodyne process, if the area of face drops in the scope of this new preset area in image, it is possible to directly drive lens unit 210 to this new predeterminated position and as initial focusing position.
So, it is possible realization and preset area and corresponding predeterminated position are set.
In some embodiments, sub-step S011 obtains the multiframe multiple lens locations to defocused auto heterodyne image and correspondence. Sub-step S012 determines the multiple face areas in multiframe auto heterodyne image. Sub-step S013 arranges the meansigma methods of multiple face area and is preset area and the mean place arranging multiple lens location is predeterminated position.
In some embodiments, obtain in module 172 for obtaining the multiframe multiple lens locations to defocused auto heterodyne image and correspondence. Determine the submodule 174 multiple face areas for determining in multiframe auto heterodyne image. Submodule 176 is set for arranging the meansigma methods of multiple face area and be preset area and the mean place arranging multiple lens location being predeterminated position.
It is appreciated that and the meansigma methods of the face area in threshold range is set to preset area and the mean place of corresponding lens location is set to predeterminated position, it is possible to improve the degree of accuracy of preset area and predeterminated position.
In some embodiments, preset area includes multiple, and predeterminated position includes multiple, the corresponding predeterminated position of each preset area.
Specifically, the face area that different object distances is corresponding different, the predeterminated position that different face areas is corresponding different.
So, preset area and corresponding predeterminated position can be set in certain object distance range, thus improving Consumer's Experience.
The electronic installation of embodiment of the present invention includes above-mentioned imaging device 200 and controls device 100. Specifically, imaging device 200 includes Front camera and/or rearmounted camera. Electronic installation includes mobile phone or panel computer.
Embodiment of the present invention control device 100 and the not deployed other parts of electronic installation, can refer to the corresponding part of the control method of embodiment of above, be no longer developed in details at this.
In the description of embodiments of the present invention, it will be appreciated that, term " " center ", " longitudinal direction ", " transverse direction ", " length ", " width ", " thickness ", " on ", D score, " front ", " afterwards ", " left side ", " right side ", " vertically ", " level ", " top ", " end ", " interior ", " outward ", " clockwise ", orientation or the position relationship of the instruction such as " counterclockwise " are based on orientation shown in the drawings or position relationship, it is for only for ease of description embodiments of the present invention and simplifies description, rather than the device of instruction or hint indication or element must have specific orientation, with specific azimuth configuration and operation, therefore it is not intended that restriction to embodiments of the present invention. additionally, term " first ", " second " are only for descriptive purposes, and it is not intended that indicate or imply relative importance or the implicit quantity indicating indicated technical characteristic. thus, define " first ", the feature of " second " can express or implicitly include one or more features. in the description of embodiments of the present invention, " multiple " are meant that two or more, unless otherwise expressly limited specifically.
In the description of embodiments of the present invention, it is necessary to explanation, unless otherwise clearly defined and limited, term " installation ", " being connected ", " connection " should be interpreted broadly, for instance, it is possible to it is fixing connection, can also be removably connect, or connect integratedly; Can be mechanically connected, it is also possible to be electrical connection or can communication mutually; Can be joined directly together, it is also possible to be indirectly connected to by intermediary, it is possible to be connection or the interaction relationship of two elements of two element internals. For the ordinary skill in the art, it is possible to understand above-mentioned term concrete meaning in embodiments of the present invention as the case may be.
In embodiments of the present invention, unless otherwise clearly defined and limited, fisrt feature second feature it " on " or D score can include the first and second features and directly contact, it is also possible to include the first and second features and be not directly contact but by the other characterisation contact between them. And, fisrt feature second feature " on ", " top " and " above " include fisrt feature directly over second feature and oblique upper, or be merely representative of fisrt feature level height higher than second feature. Fisrt feature second feature " under ", " lower section " and " below " include fisrt feature directly over second feature and oblique upper, or be merely representative of fisrt feature level height less than second feature.
Following disclosure provides many different embodiments or example for realizing the different structure of embodiments of the present invention. In order to simplify disclosing of embodiments of the present invention, hereinafter parts and setting to specific examples are described. Certainly, they are only merely illustrative, and are not intended to the restriction present invention. Additionally, embodiments of the present invention can in different examples repeat reference numerals and/or reference letter, this repetition is for purposes of simplicity and clarity, the relation between itself not indicating discussed various embodiment and/or arranging. Additionally, the example of the various specific technique that provides of embodiments of the present invention and material, but those of ordinary skill in the art are it can be appreciated that the use of the application of other techniques and/or other materials.
In the description of this specification, specific features, structure, material or feature that the description of reference term " embodiment ", " some embodiments ", " exemplary embodiment ", " example ", " concrete example " or " some examples " etc. means in conjunction with embodiment or example describe are contained at least one embodiment or the example of the present invention. In this manual, the schematic representation of above-mentioned term is not necessarily referring to identical embodiment or example. And, the specific features of description, structure, material or feature can combine in an appropriate manner in any one or more embodiments or example.
Describe in flow chart or in this any process described otherwise above or method and be construed as, represent and include the module of code of executable instruction of one or more step for realizing specific logical function or process, fragment or part, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not press order that is shown or that discuss, including according to involved function by basic mode simultaneously or in the opposite order, performing function, this should be understood by embodiments of the invention person of ordinary skill in the field.
Represent in flow charts or in this logic described otherwise above and/or step, such as, it is considered the sequencing list of executable instruction for realizing logic function, may be embodied in any computer-readable medium, use for instruction execution system, device or equipment (such as computer based system, including the system of processing module or other can from instruction execution system, device or equipment instruction fetch the system performing instruction), or use in conjunction with these instruction execution systems, device or equipment. For the purpose of this specification, " computer-readable medium " can be any can comprise, store, communicate, propagate or transmission procedure is for instruction execution system, device or equipment or the device that uses in conjunction with these instruction execution systems, device or equipment. The example more specifically (non-exhaustive list) of computer-readable medium includes following: have the electrical connection section (electronic installation) of one or more wiring, portable computer diskette box (magnetic device), random access memory (RAM), read only memory (ROM), erasable edit read only memory (EPROM or flash memory), fiber device, and portable optic disk read only memory (CDROM). Additionally, computer-readable medium can even is that can the paper of print routine or other suitable media thereon, because can such as by paper or other media be carried out optical scanning, then carry out editing, interpreting or be processed to electronically obtain program with other suitable methods if desired, be then stored in computer storage.
Should be appreciated that each several part of embodiments of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, multiple steps or method can realize with the storage software or firmware in memory and by suitable instruction execution system execution. Such as, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: there is the discrete logic of logic gates for data signal realizes logic function, there is the special IC of suitable combination logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
Those skilled in the art are appreciated that realizing all or part of step that above-described embodiment method carries can be by the hardware that program carrys out instruction relevant and complete, program can be stored in a kind of computer-readable recording medium, this program upon execution, including the step one or a combination set of of embodiment of the method.
Additionally, each functional unit in various embodiments of the present invention can be integrated in a processing module, it is also possible to be that unit is individually physically present, it is also possible to two or more unit are integrated in a module. Above-mentioned integrated module both can adopt the form of hardware to realize, it would however also be possible to employ the form of software function module realizes. If integrated module is using the form realization of software function module and as independent production marketing or use, it is also possible to be stored in a computer read/write memory medium.
Storage medium mentioned above can be read only memory, disk or CD etc.
Although above it has been shown and described that embodiments of the invention, it is understandable that, above-described embodiment is illustrative of, it is impossible to be interpreted as limitation of the present invention, and above-described embodiment can be changed, revises, replace and modification by those of ordinary skill in the art within the scope of the invention.

Claims (13)

1. a control method, is used for controlling imaging device, and described imaging device includes lens unit, it is characterised in that described control method comprises the following steps:
Process step, process the preview image of described imaging device output to identify the human face region in described preview image;
Calculation procedure, calculates the area of described human face region;
Judge step, it is judged that whether the difference of described area and preset area is less than predetermined threshold value;
Actuation step, drives described lens unit to move to corresponding precalculated position when described difference is less than described predetermined threshold value; And
Rate-determining steps, controls described imaging device and carries out contrast formula focusing with described precalculated position for initial position.
2. control method as claimed in claim 1, it is characterised in that described control method includes:
Detecting step, detects whether there is described preset area, if entering described judgement step, if it is not, enter setting steps; And
Setting steps, arranges described preset area.
3. control method as claimed in claim 2, it is characterised in that described setting steps includes:
Obtain sub-step, control described imaging device and focus when user autodynes to obtain the lens location to defocused auto heterodyne image and correspondence;
Determine sub-step, it is determined that the face area in described auto heterodyne image; And
Sub-step is set, described face area is set and is preset area and described lens location is described predeterminated position.
4. control method as claimed in claim 3, it is characterised in that described acquisition sub-step obtains the multiframe multiple described lens location to defocused described auto heterodyne image and correspondence;
Described determine that sub-step determines the multiple described face area in auto heterodyne image described in multiframe; And
The described sub-step that arranges arranges the meansigma methods of multiple described face area and is described preset area and the mean place arranging multiple described lens location is described predeterminated position.
5. control method as claimed in claim 2, it is characterised in that described preset area includes multiple, and described predeterminated position includes multiple, the corresponding described predeterminated position of each described preset area.
6. controlling a device, be used for controlling imaging device, described imaging device includes lens unit, it is characterised in that described control device includes:
Processing module, the preview image that described processing module exports for processing described imaging device is to identify the human face region in described preview image;
Computing module, described computing module is for calculating the area of described human face region;
Judge module, described judge module is for judging that whether the described area difference with preset area is less than predetermined threshold value;
Driving module, described driving module moves to corresponding precalculated position for driving described lens unit when described difference is less than described predetermined threshold value; And
Controlling module, described control module is used for controlling described imaging device and carries out contrast formula focusing with described precalculated position for initial position.
7. control device as claimed in claim 6, it is characterised in that described control device includes:
Detection module, described detection module, for detecting whether there is described preset area, if so, then notifies that described judge module judges, if it is not, then notify that the described module that arranges is configured; And
Arranging module, the described module that arranges is for arranging described preset area.
8. control device as claimed in claim 7, it is characterised in that the described module that arranges includes:
Obtaining submodule, described acquisition submodule focuses when user autodynes to obtain the lens location to defocused auto heterodyne image and correspondence for controlling described imaging device;
Determine submodule, described determine that submodule is for determining the face area in described auto heterodyne image; And
Arranging submodule, the described submodule that arranges is for arranging described face area and be preset area and described lens location being described predeterminated position.
9. control device as claimed in claim 8, it is characterised in that described acquisition submodule is for obtaining the multiframe multiple described lens location to defocused described auto heterodyne image and correspondence;
Described determine the submodule multiple described face area for determining in auto heterodyne image described in multiframe; And
The described submodule that arranges is for arranging the meansigma methods of multiple described face area and be described preset area and the mean place arranging multiple described lens location being described predeterminated position.
10. controlling device as claimed in claim 9, it is characterised in that described preset area includes multiple, described predeterminated position includes multiple, the corresponding described predeterminated position of each described preset area.
11. an electronic installation, it is characterised in that include described imaging device and the control device as described in claim 6-10 any one.
12. electronic installation as claimed in claim 11, it is characterised in that described electronic installation includes mobile phone or panel computer.
13. electronic installation as claimed in claim 11, it is characterised in that described imaging device includes Front camera and/or rearmounted camera.
CN201610114964.8A 2016-02-29 2016-02-29 Control method, control device and electronic device Pending CN105657276A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610114964.8A CN105657276A (en) 2016-02-29 2016-02-29 Control method, control device and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610114964.8A CN105657276A (en) 2016-02-29 2016-02-29 Control method, control device and electronic device

Publications (1)

Publication Number Publication Date
CN105657276A true CN105657276A (en) 2016-06-08

Family

ID=56492846

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610114964.8A Pending CN105657276A (en) 2016-02-29 2016-02-29 Control method, control device and electronic device

Country Status (1)

Country Link
CN (1) CN105657276A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375671A (en) * 2016-11-22 2017-02-01 广东欧珀移动通信有限公司 Control method, control device and electronic device
CN107172352A (en) * 2017-06-16 2017-09-15 广东欧珀移动通信有限公司 Focusing control method, device, computer can storage medium and mobile terminal
CN111105370A (en) * 2019-12-09 2020-05-05 Oppo广东移动通信有限公司 Image processing method, image processing apparatus, electronic device, and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101452181A (en) * 2007-12-03 2009-06-10 鸿富锦精密工业(深圳)有限公司 Automatic focusing system and method OF electronic device
WO2011107448A2 (en) * 2010-03-05 2011-09-09 Tessera Technologies Ireland Limited Object detection and rendering for wide field of view (wfov) image acquisition systems
CN102314043A (en) * 2010-07-09 2012-01-11 华晶科技股份有限公司 Auxiliary focusing method for human face block
CN104853088A (en) * 2015-04-09 2015-08-19 来安县新元机电设备设计有限公司 Method for rapidly focusing a photographing mobile terminal and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101452181A (en) * 2007-12-03 2009-06-10 鸿富锦精密工业(深圳)有限公司 Automatic focusing system and method OF electronic device
WO2011107448A2 (en) * 2010-03-05 2011-09-09 Tessera Technologies Ireland Limited Object detection and rendering for wide field of view (wfov) image acquisition systems
CN102314043A (en) * 2010-07-09 2012-01-11 华晶科技股份有限公司 Auxiliary focusing method for human face block
CN104853088A (en) * 2015-04-09 2015-08-19 来安县新元机电设备设计有限公司 Method for rapidly focusing a photographing mobile terminal and mobile terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375671A (en) * 2016-11-22 2017-02-01 广东欧珀移动通信有限公司 Control method, control device and electronic device
CN106375671B (en) * 2016-11-22 2020-03-06 Oppo广东移动通信有限公司 Control method, control device and electronic device
CN107172352A (en) * 2017-06-16 2017-09-15 广东欧珀移动通信有限公司 Focusing control method, device, computer can storage medium and mobile terminal
US10951808B2 (en) 2017-06-16 2021-03-16 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for focusing control, mobile terminal and non-transitory storage medium
CN111105370A (en) * 2019-12-09 2020-05-05 Oppo广东移动通信有限公司 Image processing method, image processing apparatus, electronic device, and readable storage medium
CN111105370B (en) * 2019-12-09 2023-10-20 Oppo广东移动通信有限公司 Image processing method, image processing apparatus, electronic device, and readable storage medium

Similar Documents

Publication Publication Date Title
CN100447607C (en) Focus state detection apparatus and optical instrument
EP3007096A1 (en) Depth sensor based auto-focus system for an indicia scanner
CN108985225B (en) Focus following method, device, electronic equipment and storage medium
CN105763798A (en) Control method, control apparatus and electronic apparatus
US20080152334A1 (en) Apparatus and method for controlling camera according to temperature
CN105657276A (en) Control method, control device and electronic device
CN105635571A (en) Shooting control method, shooting control device, and shooting system
JP2010015024A (en) Image pickup apparatus, control method thereof, program and storage medium
CN105554403A (en) Control method, control device and electronic device
US9467604B2 (en) Method and apparatus for calibrating a camera lens flange to sensor distance
CN102025914A (en) Image pickup apparatus and ranging method
CN106713750A (en) Focusing control method and apparatus, electronic device and terminal equipment
CN106101558A (en) camera focusing method, device and terminal
CN105739706A (en) Control method, control device and electronic device
CN106170064A (en) Camera focusing method, system and electronic equipment
CN105657238A (en) Tracking focusing method and apparatus
CN106210527A (en) The PDAF calibration steps moved based on MEMS and device
CN105791685A (en) Control method, control device and electronic device
CN105681668A (en) Control method, control device and electronic device
CN105791680A (en) Control method, control device and electronic device
CN105657279A (en) Control method, control device and electronic device
CN105629630A (en) Control method, control device and electronic device
CN105657274A (en) Control method, control device and electronic device
CN106254855A (en) A kind of three-dimensional modeling method based on zoom range finding and system
CN105704378A (en) Control method, control device and electronic device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20160608