CN107909686A - Method, apparatus, computer-readable recording medium and the electronic equipment of face unlock - Google Patents
Method, apparatus, computer-readable recording medium and the electronic equipment of face unlock Download PDFInfo
- Publication number
- CN107909686A CN107909686A CN201711065922.0A CN201711065922A CN107909686A CN 107909686 A CN107909686 A CN 107909686A CN 201711065922 A CN201711065922 A CN 201711065922A CN 107909686 A CN107909686 A CN 107909686A
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- mode
- face
- camera
- instruction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 230000006870 function Effects 0.000 claims description 71
- 238000001514 detection method Methods 0.000 claims description 61
- 238000012545 processing Methods 0.000 claims description 32
- 238000004590 computer program Methods 0.000 claims description 14
- 230000009471 action Effects 0.000 claims description 9
- 238000003384 imaging method Methods 0.000 description 48
- 230000006641 stabilisation Effects 0.000 description 18
- 238000011105 stabilization Methods 0.000 description 18
- 230000009467 reduction Effects 0.000 description 8
- 239000004065 semiconductor Substances 0.000 description 6
- 238000013461 design Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 229910044991 metal oxide Inorganic materials 0.000 description 4
- 150000004706 metal oxides Chemical class 0.000 description 4
- 238000012937 correction Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000007689 inspection Methods 0.000 description 3
- 230000001360 synchronised effect Effects 0.000 description 3
- 230000003796 beauty Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000000295 complement effect Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000001815 facial effect Effects 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 230000008520 organization Effects 0.000 description 2
- 238000003825 pressing Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 241000208340 Araliaceae Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 239000000872 buffer Substances 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000013135 deep learning Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000000843 powder Substances 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C9/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00563—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys using personal physical data of the operator, e.g. finger prints, retinal images, voicepatterns
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C9/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00571—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit
Abstract
This application involves method, apparatus, computer-readable recording medium and the electronic equipment of a kind of unlock of face, camera by detecting electronic equipment starts, judge whether to receive the instruction of the unlocking motion of the electronic equipment, if judge to receive the instruction of the unlocking motion of the electronic equipment, ISP image-signal processors are controlled to enter the low-power consumption of first mode, recognition of face is carried out using the first mode of low-power consumption, if being verified by the recognition of face, the electronic equipment is unlocked automatically.The recognition of face of progress face unlock is needed during by judging that camera starts, so as to start the first mode that the ISP image-signal processors of the electronic equipment enter low-power consumption, face unlock is carried out by first mode, reduce electronic equipment carry out face unlock when electronic equipment power consumption, face unlock is not influenced, when especially needing frequently to be unlocked, power consumption of the electronic equipment when face unlocks can be substantially reduced.
Description
Technical field
This application involves electronic apparatus application technical field, and method, apparatus, computer more particularly to face unlock can
Read storage medium and electronic equipment.
Background technology
With the development of intelligent electronic device, in order to provide more preferable experience, the mode of electronic equipment unlock is also a variety of more
Sample, than if any unlocked by fingerprint, password unlock etc., with the development of artificial intelligence, face unlock use is also more and more.User
All it is to call the camera of front camera to do recognition of face when face unlocks, in conventional art, then carries out deep learning and work
Physical examination is surveyed etc., is efficiently unlocked with this realizing electronic equipments safety.But when face unlocks, preposition take the photograph will be started each time
As head, cause the face unlock power consumption of electronic equipment excessive.
The content of the invention
The embodiment of the present application provides a kind of method, apparatus, computer-readable recording medium and the electronic equipment of face unlock,
It can realize that electronic equipment carries out reducing face unlock power consumption during face unlock.
A kind of method of face unlock, the described method includes:
If detecting, the camera of electronic equipment starts, and judges whether to receive the finger of the unlocking motion of the electronic equipment
Order;
If judging to receive the instruction of the unlocking motion of the electronic equipment, control ISP image-signal processors enter the
One pattern, the first mode are the low-power consumption modes of the ISP image-signal processors;
Using the first mode, carry out recognition of face, if being verified by the recognition of face, to the electronic equipment into
Row unlock.
A kind of device of face unlock, described device include:
Judgment module, if for detecting that the camera of electronic equipment starts, judges whether to receive the electronic equipment
Unlocking motion instruction;
Starting module, if the instruction of the unlocking motion for judging to receive the electronic equipment, controls ISP picture signals
Processor enters first mode, and the first mode is the low-power consumption mode of the ISP image-signal processors;
Unlocked state, for using the first mode, carries out recognition of face, right if being verified by the recognition of face
The electronic equipment is unlocked.
A kind of computer-readable recording medium, is stored thereon with computer program, and the computer program is held by processor
The step of method is realized during row.
A kind of electronic equipment, including memory and processor, store computer-readable instruction in the memory, described
When instruction is performed by the processor so that the method that the processor performs the face unlock.
Method, apparatus, computer-readable recording medium and the electronic equipment of the face unlock of the embodiment of the present application, pass through inspection
The camera for measuring electronic equipment starts, and judges whether to receive the instruction of the unlocking motion of the electronic equipment, if judging to connect
The instruction of the unlocking motion of the electronic equipment is received, control ISP image-signal processors enter the low-power consumption of first mode, make
Recognition of face is carried out with the first mode of low-power consumption, if being verified by the recognition of face, the electronic equipment is solved automatically
Lock.The recognition of face of progress face unlock is needed during by judging that camera starts, so as to start the ISP figures of the electronic equipment
As signal processor enter low-power consumption first mode, by first mode carry out face unlock, reduce electronic equipment progress
The power consumption of electronic equipment when face unlocks, and face unlock is not influenced.Especially during electronic equipment use, need
When being frequently unlocked, on the basis of without the change original hardware of electronic equipment, it is possible to which the obvious electronic equipment that reduces exists
Power consumption when face unlocks, and do not increase the cost of electronic equipment.
Brief description of the drawings
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, below will be to embodiment or existing
There is attached drawing needed in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of application, for those of ordinary skill in the art, without creative efforts, can be with
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the internal structure schematic diagram of electronic equipment in the application one embodiment;
Fig. 2 is the flow chart of method one embodiment of the application face unlock;
Fig. 3 is the flow chart of another specific embodiment of the method for the application face unlock;
Fig. 4 is the program module Organization Chart of the device one embodiment for the face unlock that the application provides;
Fig. 5 is the block diagram with the part-structure of the relevant mobile phone of electronic equipment provided by the embodiments of the present application.
Embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the object, technical solution and advantage of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the application, and
It is not used in restriction the application.
It is appreciated that term " first " used in this application, " second " etc. can be used to describe various elements herein,
But these elements should not be limited by these terms.These terms are only used to distinguish first element and another element.Citing comes
Say, in the case where not departing from scope of the present application, first mode can be known as to second mode, and similarly, can be by second
Pattern is known as first mode.First mode and second mode both pattern ends, but it is not same pattern.
Fig. 1 is the internal structure schematic diagram of electronic equipment in one embodiment.As shown in Figure 1, the electronic equipment includes leading to
Cross processor, memory and the network interface of system bus connection.Wherein, which, which is used to provide, calculates and starts ability,
Support the operation of whole computer equipment.Memory is used to store data, program etc., and at least one computer is stored on memory
Program, the computer program can be executed by processor, to realize the people suitable for electronic equipment provided in the embodiment of the present application
The method of face unlock.Memory may include that magnetic disc, CD, read-only memory (Read-Only Memory, ROM) etc. are non-easily
The property lost storage medium, or random access memory (Random-Access-Memory, RAM) etc..For example, in one embodiment
In, memory includes non-volatile memory medium and built-in storage.Non-volatile memory medium is stored with operating system and calculating
Machine program.The computer program can be performed by processor, for a kind of realization face that each embodiment is provided below
The method of unlock.Built-in storage provides the operation of cache for the operating system computer program in non-volatile memory medium
Environment.Network interface can be Ethernet card or wireless network card etc., for communicating with exterior computer equipment.The electronics
Equipment can be mobile phone, laptop, tablet computer or personal digital assistant or Wearable etc..
When being unlocked by face, the traditional mode of the electronic equipment is electronic equipment, when the bright screen of the electronic equipment
Afterwards, the camera of the electronic equipment will be started, after the camera starts, whole ISP (Image Signal
Processing, picture signal processing) processor can all start up, and the whole power consumption of so bright screen can all rise violently moment, and
And constantly bright screen unlocks frequency is higher with user, power consumption will just become bigger.Wherein, ISP image-signal processors, also may be used
To be known as ISP processors, the picture signal for being mainly used to the imaging sensor output to the camera of electronic equipment is handled,
To match the image sensor of different vendor.ISP image-signal processors, the circuit that it is integrated are exclusively used in performing and pass image
The image digital signal that sensor captures carries out the processing such as noise reduction, sharpening, ultimately generates a frame color image frame data.
But when electronic equipment carries out face unlock, in order to reduce the power consumption of electronic equipment, it is only necessary to meet that portrait detects
Demand can, after camera starts, all functions of ISP processors do not have to all start, and only need to start related
Function module, such as the detection function of recognition of face, because whole ISP processors all mobilize, nothing is functional
Special demands, the particularly function such as very big noise reduction of power consumption, and whole ISP processors start and are also required to the time, thus into
After the bright screen of row, when electronic equipment judges to need to carry out face unlock, only start the face detection module of ISP processors, without
Will all modules all start, ISP image-signal processor others functions, such as the work(such as stabilization function, decrease of noise functions, sharpening
It is able to can be not turned on when carrying out face unlock, the design based on this technical solution, the embodiment of the present application provides a kind of face solution
The method that powder consumption of electronic equipment is reduced during lock.
Referring to Fig. 2, Fig. 2 is the flow chart of method one embodiment of the application face unlock, the described method includes:
If step 200, detect that the camera of electronic equipment starts, judge whether to receive the unlock of the electronic equipment
The instruction of action.
Specifically, the camera of the electronic equipment, if the electronic equipment be provided with fixed front camera and
Rear camera, can refer to the front camera or rear camera of the electronic equipment;If the electronic equipment is set
There is rotatable camera, especially when the camera can be rotated in face of the angle of the face of face unlock, institute can be referred to
State rotatable camera.In short, the camera of the electronic equipment is the camera for referring to carry out face unlock.
The instruction of the unlocking motion, it is every to trigger display screen unlock circle when referring to electronic equipment and being in bright screen state
The action in face, is included in the range of instructions of the unlocking motion, including presses the instruction of display unlock interface button, or
The instruction of screen is slided, or opens the instruction of the application program set on unlock display interface, such as the application called
Program, or the virtual key of unlock.
If electronic equipment detects that the camera of the electronic equipment starts, show that the electronic equipment is in bright screen shape
State, at this time electronic equipment judge whether to receive the instruction of unlocking motion, such as, if receive press display unlock interface by
The instruction of key, either slides the instruction of screen or opens the instruction of the application program set on unlock display interface, for example dials
The application program made a phone call, or every action that can trigger display screen unlock interface such as virtual key of unlock.
If the electronic equipment judges to receive the instruction of unlocking motion, 220 are entered step.
If step 220, judgement receive the instruction of the unlocking motion of the electronic equipment, control ISP picture signal processing
Device enters first mode, and the first mode is the low-power consumption mode of the ISP image-signal processors.
Specifically, if electronic equipment detects that the camera of the electronic equipment starts, determine whether to receive described
The instruction of the unlocking motion of electronic equipment, shows that the camera of the electronic equipment starts, is to carry out face unlock, then open
Dynamic ISP image-signal processors enter the low-power consumption mode of the first mode of the ISP image-signal processors, so as to fulfill
When electronic equipment carries out face unlock, using the low-power consumption mode of the first mode of the ISP image-signal processors, to detection
To facial image handled, so as to reduce the power consumption of electronic equipment.
If electronic equipment judges to receive the instruction of the unlocking motion of the electronic equipment, show that the electronic equipment will be into
Pedestrian's face unlocks, and starts the low-power consumption mode that ISP image-signal processors enter the ISP image-signal processors at this time, into
Pedestrian's face unlocks, and when carrying out face unlock so as to fulfill electronic equipment, reduces the power consumption of the face unlock of electronic equipment.
Step 240, using the first mode, carry out recognition of face, if being verified by the recognition of face, the electronics
Equipment is unlocked automatically.
Specifically, electronic equipment carries out face knowledge using the low-power consumption of the first mode of the ISP image-signal processors
The processing of other image, if the face information for the face unlock that the face information detected prestores with the electronic equipment matches,
Judgement verifies that the electronic equipment is unlocked automatically, passes through people so as to fulfill the electronic equipment by the recognition of face
When face unlocks, the low-power consumption of electronic equipment is realized.
In one embodiment, the first mode only includes portrait detection function.
Specifically, when electronic equipment is unlocked to realize by face, the power consumption of electronic equipment is reduced, only described in startup
The portrait detection function of ISP image-signal processors, other functions of the ISP image-signal processors are not turned on, such as
The functions such as the noise reductions of the ISP image-signal processors, stabilization, sharpening are not turned on, and the ISP picture signals are reduced with this
Power consumption when processor carries out face unlock and carries out Face datection, so as to reduce whole electronic equipment when carrying out face unlock
Power consumption.
Further, electronic equipment is in the portrait detection function of the ISP image-signal processors, plus one kind or two
Other functions of kind, for example only start the portrait detection function and stabilization function of the ISP image-signal processors, or only start
The portrait detection function of the ISP image-signal processors and decrease of noise functions etc., compared to ISP picture signals described in conventional art
When the function of processor all starts, it can also achieve the purpose that to reduce power consumption.
In one embodiment, the step of control ISP image-signal processors enter first mode includes:
When the ISP image-signal processors start, institute of the ISP image-signal processors in addition to Face datection is controlled
Functional closing.
Specifically, electronic equipment can start the camera of the electronic equipment, the camera when being unlocked by face
After startup, the function of whole ISP image-signal processors can all start up, due to being taken the photograph it is determined that starting the electronic equipment
As head is to carry out face unlock, therefore in order to reduce power consumption when electronic equipment carries out face unlock, it is necessary to control the ISP to scheme
As all functions closing of the signal processor in addition to Face datection, such as the function such as stabilization, sharpening, noise reduction.
In one embodiment, the step of instruction of the unlocking motion for judging whether to receive the electronic equipment is wrapped
Include:
Judge whether to receive the instruction for the corresponding application program of camera for opening the electronic equipment;
If judging not receive the instruction for the corresponding application program of camera for opening the electronic equipment, judge to receive
The instruction of the unlocking motion of the electronic equipment.
Specifically, electronic equipment judges whether to receive the instruction of the unlocking motion of the electronic equipment, except through sentencing
The disconnected instruction for whether receiving the action of triggering display screen unlock interface, for example pressing display unlock interface button, or it is sliding
The instruction of dynamic screen, or the instruction of the application program set on unlock display interface is opened, can also be by judging whether to connect
The instruction for the corresponding application program of camera for opening the electronic equipment is received, for example is related to imaging on the electronic equipment
The application program of head, such as camera, video APP (application program, the abbreviation of Application), live APP or shooting
The application programs such as APP.If electronic equipment judges to receive the finger for the corresponding application program of camera for opening the electronic equipment
Order, the then startup for judging the camera are caused by above application program is opened, otherwise, if electronic equipment judges not receive
The instruction of the corresponding application program of camera of the electronic equipment is opened, then judges that the unlock for receiving the electronic equipment is moved
The instruction of work.
In one embodiment, the method further includes:
If judging to receive the instruction for the corresponding application program of camera for opening the electronic equipment, start the shooting
Head enters second mode, and the power consumption of the second mode is more than the power consumption of the first mode.
Specifically, if electronic equipment judges to receive the finger for the corresponding application program of camera for opening the electronic equipment
Order, the then startup for judging the camera are caused by above application program is opened, in order to meet height of the application program to image
The requirement of quality, for example meet the requirement such as image clearly, beauty, the ISP image-signal processors for starting the camera enter
Second mode, the second mode are contained except the pattern of the outer function of portrait detection, such as the work(such as noise reduction, sharpening and stabilization
Can, therefore the power consumption of the second mode is more than the power consumption of the first mode.
In one embodiment, if the instruction of the unlocking motion for judging to receive the electronic equipment, control ISP figures
Picture signal processor enters first mode, and the first mode is the step of the low-power consumption mode of the ISP image-signal processors
Further included after rapid:
Close the graphics processor GPU of the electronic equipment.
Specifically, graphics processor (English:Graphics Processing Unit, abbreviation:GPU), core is also known as shown
The heart, vision processor, display chip are a kind of specially in PC, work station, game machine and some movement equipment (as put down
Plate computer, smart mobile phone etc.) epigraph operation microprocessor.
Electronic equipment is when carrying out face unlock, in order to further reduce the power consumption of the electronic equipment, due to only needing
Face detection module, it is not necessary to carry out preview data processing, the data of GPU can also close, and close the figure of the electronic equipment
Shape processor GPU, so as to further reduce the power consumption when electronic equipment carries out face unlock.
In one embodiment, the method further includes:
If judging to receive the instruction of the unlocking motion of the electronic equipment, the camera is controlled to enter the third mode,
The third mode is the low-power consumption mode of the camera.
Specifically, imaging sensor, is the important component for forming digital camera.According to the difference of element, can divide
For CCD (Charge Coupled Device, charge coupled cell) and CMOS (Complementary Metal-Oxide
Semiconductor, metal oxide semiconductor device) two major classes.
The power consumption of electronic equipment, can not only believe from the ISP images during in order to reduce electronic equipment progress face unlock
The angle of number processor, starts the low-power consumption mould that the ISP image-signal processors enter the ISP image-signal processors
Formula, while the imaging sensor that from the angle of the imaging sensor of camera, can also start the camera enters the figure
As the low-power consumption mode of sensor.
By taking the front camera of electronic equipment as an example, to the image sensor design both of which of front camera, also may be used
To be known as the both of which of the camera:
(1) the first be the camera low-power consumption mode, referred to as the third mode, described to take the photograph in the embodiment of the present application
As the imaging sensor of head is mainly used for portrait detection, when the camera of the electronic equipment starts, the image of the camera
Other functions of sensor are not opened, for example the stabilization function of described image sensor and decrease of noise functions etc. are not opened, and are only started
The portrait detection function of described image sensor, alternatively, in the portrait detection function of described image sensor, plus a kind of or
Two kinds of other functions, for example only start the portrait detection function and stabilization function of described image sensor, or only described in startup
The portrait detection function of imaging sensor and decrease of noise functions etc..
The pattern of (2) second camera, referred to as the 4th kind of pattern, is referred to as institute in the embodiment of the present application
The normal mode of camera is stated, belongs to high power consumption mode.In order to ensure that the imaging sensor of the camera obtains high quality
Image, meets to take pictures or the needs of video, and the multiple functions of the imaging sensor of the camera are switched on, such as face inspection
Brake, stabilization function and decrease of noise functions etc..
If electronic equipment detects that the camera of the electronic equipment starts, determine whether to receive the electronic equipment
Unlocking motion instruction, show the electronic equipment camera start, be in order to carry out face unlock, then start described in take the photograph
As head enters the low-power consumption mode of the camera, electronic equipment is reduced so as to fulfill in the unlock of electronic equipment conscientious face
Power consumption.
If electronic equipment judges to receive the instruction of the unlocking motion of the electronic equipment, show that the electronic equipment will be into
Pedestrian's face unlocks, and starts the low-power consumption mode that the camera enters the camera at this time, carries out face unlock, so as to fulfill
When electronic equipment carries out face unlock, the power consumption of the face unlock of electronic equipment is reduced.
In one embodiment, the third mode only includes portrait detection function.
Specifically, when electronic equipment is unlocked to realize by face, the power consumption of electronic equipment is reduced, is only taken the photograph described in startup
As the portrait detection function of imaging sensor in head, other functions of the imaging sensor in the camera are not turned on, than
The decrease of noise functions and stabilization function of such as described image sensor are not turned on, and face solution is carried out to reduce the camera with this
Power consumption when locking and carrying out Face datection, so as to reduce power consumption of the whole electronic equipment when carrying out face unlock.
Further, electronic equipment is in the portrait detection function of described image sensor, plus it is one or two kinds of other
Function, for example only start the portrait detection function and stabilization function of described image sensor, or only start described image sensing
The portrait detection function of device and decrease of noise functions etc., when the function compared to imaging sensor described in conventional art all starts, also may be used
To achieve the purpose that to reduce power consumption.
Wherein, the camera of electronic equipment refers to the imaging device of electronic equipment, or referred to as camera, the camera
Mainly include lens and imaging sensor.
In one embodiment, the portrait of the portrait detection of the third mode is dimensioned to be equal to or less than pre-
If dimension threshold.
Specifically, the power consumption of the electronic equipment, can start institute when electronic equipment is in order to further reduce face unlock
The size for stating the portrait of the imaging sensor detection of the camera of electronic equipment is equal to or less than pre-set dimension threshold value, meets people
The needs of face unlock, the pixel of the pre-set dimension threshold value can be 640x480, that is, the image that the portrait detects
Size be less than or equal to 480 pixels of 640x, can be 480 pixels of 640x, or 240 pixels of 320x etc..Due to
The picture size of Face datection starts in default smaller range, the portrait size of the imaging sensor output of the camera
Just become very little, can both meet the needs of portrait detection during face unlock, electronic equipment when can also reduce face unlock
Power consumption, can also improve the image output speed of the electronic equipment of face unlock.
In one embodiment, the image output frame rate of the portrait detection of the first mode is arranged to preset frame rate
Output.
Specifically, frame per second (Frame rate) is to show measuring for frame number for measuring.So-called units of measurement is per second
Show frame number (Frames per Second, abbreviation:) or " hertz " (Hz) FPS.Frame number (fps) per second frame per second table in other words
The number that each second can update when showing graphics processor Treatment stations.If frame per second is excessive, graphics process processor will be wasted
Ability.
Therefore, the power consumption of the electronic equipment, can also start institute when electronic equipment is in order to further reduce face unlock
The frame per second of the image of the imaging sensor output of the camera of electronic equipment is stated, meets the needs of face unlock.The frame
The scope of rate value is 10~20 frame per second, and frame per second can also start in 12~18 frame per second, under normal circumstances, the frame per second choosing
The better balance state for starting and can reaching picture quality and power consumption in 15 frame per second is selected, can also meet to make during face unlock
With requiring, compared to the output frame rate of normal 30 frame per second, the power consumption of the electronic equipment can be substantially reduced.
In one embodiment, the clock frequency of the portrait detection of the third mode is arranged to default ratio in original
Reduced in clock frequency.
Specifically, clock frequency (and is translated:Clock frequency speed, English:Clock rate), refer to clock in synchronous circuit
Base frequency, it is measured with " cycle is per second several times ", and unit uses SI units hertz (Hz).Have in electronic equipment
Various semiconductor chips, each chip work under specific clock frequency.Clock generator provides
Clock signal to chip is a continuous pulse signal, and pulse is equivalent to the pulse of chip, and each subpulse arrives,
Transistor in chip just changes a next state, allows whole chip to complete certain task.
The power consumption of the electronic equipment, can also reduce the electronics when electronic equipment is in order to further reduce face unlock
The imaging sensor of the camera of equipment carries out clock frequency during portrait detection, meets the needs of face unlock.Reduce
The clock frequency of the imaging sensor of the camera of the electronic equipment can utilize IIC (Inter- by programming
Integrated Circuit, IC bus) communication protocol starts the clock frequency of electronic equipment.The first mode
The clock frequency of portrait detection reduced with default ratio in former clock frequency, such as, the portrait detection of the first mode
Clock frequency can reduce by 40% on the basis of former clock frequency, that is, the clock of the portrait detection of the first mode
Frequency is the 60% of the former clock frequency, so as to reduce the speed of the output frequency of image during Face datection, and then reduces institute
State the power consumption of electronic equipment.
Referring to Fig. 3, Fig. 3 is the flow chart of another specific embodiment of the method for the application face unlock, the method
Including:
Step 301, electronic equipment detect that camera starts, and enter step 302;
Step 302, electronic equipment judge whether to receive the instruction of the unlocking motion of the electronic equipment, if the electronics
Equipment receives the instruction of unlocking motion, enters step 303, otherwise enters step 304;
If step 303, electronic equipment judge to receive the instruction of the unlocking motion of the electronic equipment, the electronics is set
Standby ISP processing enters first mode, and the camera of the electronic equipment enters the third mode, and the electronic equipment is with low-power consumption
Pattern carries out the portrait detection of face unlock, and the portrait of the portrait detection of the third mode is dimensioned to be equal to or small
In pre-set dimension threshold value, the frame per second of the image output of the portrait detection of the third mode is arranged to export with preset frame rate,
The clock frequency of the portrait detection of the third mode is arranged to reduce on the basis of former clock frequency with default ratio;
If step 304, electronic equipment judge not receiving the instruction of the unlocking motion of the electronic equipment, the electronics
The ISP processing of equipment enters second mode, and the camera of the electronic equipment enters fourth mode, normally taken pictures or
Video;
Step 305, the ISP processors of the electronic equipment use the first mode, the camera of the electronic equipment
Recognition of face is carried out using the third mode, the people that the recognition of face information detected and the electronic equipment are prestored
The face information of face unlock is matched, and is carried out face verification, is entered step 306;
If the recognition of face that step 306, electronic equipment carry out portrait detection is verified, 307 are entered step, otherwise, is returned
Return step 305;
If the recognition of face that step 307, electronic equipment carry out portrait detection is verified, the electronic equipment carries out automatically
Unlock.
Method, apparatus, computer-readable recording medium and the electronic equipment of the face unlock of the embodiment of the present application, pass through inspection
The camera for measuring electronic equipment starts, and judges whether to receive the instruction of the unlocking motion of the electronic equipment, if judging to connect
The instruction of the unlocking motion of the electronic equipment is received, control ISP image-signal processors enter the low-power consumption of first mode, make
Recognition of face is carried out with the first mode of low-power consumption, if being verified by the recognition of face, the electronic equipment is solved automatically
Lock.The recognition of face of progress face unlock is needed during by judging that camera starts, so as to start the ISP figures of the electronic equipment
As signal processor enter low-power consumption first mode, by first mode carry out face unlock, reduce electronic equipment progress
The power consumption of electronic equipment when face unlocks, and face unlock is not influenced.Especially during electronic equipment use, need
When being frequently unlocked, on the basis of without the change original hardware of electronic equipment, it is possible to which the obvious electronic equipment that reduces exists
Power consumption when face unlocks, and do not increase the cost of electronic equipment.
Referring to Fig. 4, the program module Organization Chart of the device one embodiment for the face unlock that Fig. 4, which is the application, to be provided,
Described device includes:
If judgment module 40, the camera startup for detecting electronic equipment, judge whether that receiving the electronics sets
The instruction of standby unlocking motion.
Specifically, if electronic equipment detects that the camera of the electronic equipment starts, show that the electronic equipment is in
Bright screen state, at this time electronic equipment judge whether to receive the instruction of unlocking motion, such as, if receive press display unlock
The instruction of interface buttons, either slides the instruction of screen or opens the instruction of the application program set on unlock display interface,
Such as the application program called, or every action that can trigger display screen unlock interface such as virtual key of unlock.
If the instruction of starting module 42, unlocking motion for judging to receive the electronic equipment, control ISP images letter
Number processor enters first mode, and the first mode is the low-power consumption mode of the ISP image-signal processors.
Specifically, if electronic equipment detects that the camera of the electronic equipment starts, determine whether to receive described
The instruction of the unlocking motion of electronic equipment, shows that the camera of the electronic equipment starts, is to carry out face unlock, then open
Dynamic ISP image-signal processors enter the low-power consumption mode of the first mode of the ISP image-signal processors, so as to fulfill
When electronic equipment carries out face unlock, using the low-power consumption mode of the first mode of the ISP image-signal processors, to detection
To facial image handled, so as to reduce the power consumption of electronic equipment.
If electronic equipment judges to receive the instruction of the unlocking motion of the electronic equipment, show that the electronic equipment will be into
Pedestrian's face unlocks, and starts the low-power consumption mode that ISP image-signal processors enter the ISP image-signal processors at this time, into
Pedestrian's face unlocks, and when carrying out face unlock so as to fulfill electronic equipment, reduces the power consumption of the face unlock of electronic equipment.
Unlocked state 44, for use the first mode, carry out recognition of face, if being verified by the recognition of face,
The electronic equipment is unlocked automatically.
Specifically, electronic equipment carries out face knowledge using the low-power consumption of the first mode of the ISP image-signal processors
The processing of other image, if the face information for the face unlock that the face information detected prestores with the electronic equipment matches,
Judgement verifies that the electronic equipment is unlocked automatically, passes through people so as to fulfill the electronic equipment by the recognition of face
When face unlocks, the low-power consumption of electronic equipment is realized.
In one embodiment, the first mode only includes portrait detection function.
Specifically, when electronic equipment is unlocked to realize by face, the power consumption of electronic equipment is reduced, only described in startup
The portrait detection function of ISP image-signal processors, other functions of the ISP image-signal processors are not turned on,
For example the function such as the noise reductions of the ISP image-signal processors, stabilization, sharpening is not turned on, the ISP images are reduced with this
Power consumption when signal processor carries out face unlock and carries out Face datection, so that reducing whole electronic equipment is carrying out face solution
Power consumption during lock.
In one embodiment, the starting module 42 includes:
Control unit, when starting for the ISP image-signal processors, controls the ISP image-signal processors to remove
All functions outside Face datection are closed.
Specifically, electronic equipment can start the camera of the electronic equipment, the camera when being unlocked by face
After startup, the function of whole ISP image-signal processors can all start up, due to being taken the photograph it is determined that starting the electronic equipment
As head is to carry out face unlock, therefore in order to reduce power consumption when electronic equipment carries out face unlock, it is necessary to control the ISP to scheme
As all functions closing of the signal processor in addition to Face datection, such as the function such as stabilization, sharpening, noise reduction.
In one embodiment, the judgment module 40 includes:
First judging unit, for judging whether to receive the corresponding application program of camera for opening the electronic equipment
Instruction;
Second judging unit, if for judging not receiving the corresponding application program of camera for opening the electronic equipment
Instruction, judge receive the electronic equipment unlocking motion instruction.
Specifically, electronic equipment judges whether to receive the instruction of the unlocking motion of the electronic equipment, except through sentencing
The disconnected instruction for whether receiving the action of triggering display screen unlock interface, for example pressing display unlock interface button, or it is sliding
The instruction of dynamic screen, or the instruction of the application program set on unlock display interface is opened, can also be by judging whether to connect
The instruction for the corresponding application program of camera for opening the electronic equipment is received, for example is related to imaging on the electronic equipment
The application program of head, such as camera, video APP (application program, the abbreviation of Application), live APP or shooting
The application programs such as APP.If electronic equipment judges to receive the finger for the corresponding application program of camera for opening the electronic equipment
Order, the then startup for judging the camera are caused by above application program is opened, otherwise, if electronic equipment judges not receive
The instruction of the corresponding application program of camera of the electronic equipment is opened, then judges that the unlock for receiving the electronic equipment is moved
The instruction of work.
In one embodiment, described device further includes:
Second mode enters module, if for judging that receiving the camera for opening the electronic equipment corresponding applies journey
The instruction of sequence, starts the camera and enters second mode, the power consumption of the second mode is more than the power consumption of the first mode.
Specifically, if electronic equipment judges to receive the finger for the corresponding application program of camera for opening the electronic equipment
Order, the then startup for judging the camera are caused by above application program is opened, in order to meet height of the application program to image
The requirement of quality, for example meet the requirement such as image clearly, beauty, the ISP image-signal processors for starting the camera enter
Second mode, the second mode are contained except the pattern of the outer function of portrait detection, such as the work(such as noise reduction, sharpening and stabilization
Can, therefore the power consumption of the second mode is more than the power consumption of the first mode.
In one embodiment, described device further includes:
Closedown module, for closing the graphics processor GPU of the electronic equipment.
Specifically, graphics processor (English:Graphics Processing Unit, abbreviation:GPU), core is also known as shown
The heart, vision processor, display chip are a kind of specially in PC, work station, game machine and some movement equipment (as put down
Plate computer, smart mobile phone etc.) epigraph operation microprocessor.
Electronic equipment is when carrying out face unlock, in order to further reduce the power consumption of the electronic equipment, due to only needing
Face detection module, it is not necessary to carry out preview data processing, the data of GPU can also close, and close the figure of the electronic equipment
Shape processor GPU, so as to further reduce the power consumption when electronic equipment carries out face unlock.
In one embodiment, described device further includes:
The third mode enters module, if the instruction of the unlocking motion for judging to receive the electronic equipment, controls institute
State camera and enter the third mode, the third mode is the low-power consumption mode of the camera.
Specifically, imaging sensor, is the important component for forming digital camera.According to the difference of element, can divide
For CCD (Charge Coupled Device, charge coupled cell) and CMOS (Complementary Metal-Oxide
Semiconductor, metal oxide semiconductor device) two major classes.
The power consumption of electronic equipment, can not only believe from the ISP images during in order to reduce electronic equipment progress face unlock
The angle of number processor, starts the low-power consumption mould that the ISP image-signal processors enter the ISP image-signal processors
Formula, at the same from the angle of the imaging sensor of front camera, can also start the imaging sensor of the front camera into
Enter the low-power consumption mode of described image sensor.
To the image sensor design both of which of front camera, the both of which of the camera is referred to as:
(1) the first be the camera low-power consumption mode, referred to as the third mode, described to take the photograph in the embodiment of the present application
As the imaging sensor of head is mainly used for portrait detection, when the camera of the electronic equipment starts, the image of the camera
Other functions of sensor are not opened, for example the stabilization function of described image sensor and decrease of noise functions etc. are not opened, and are only started
The portrait detection function of described image sensor.
(2) be for second the present mode of the camera, in the embodiment of the present application referred to as the 4th kind of pattern, can also
The normal mode of referred to as described camera, belongs to high power consumption mode.In order to ensure that it is high that the imaging sensor of the camera obtains
The image of quality, meets to take pictures or the needs of video, and the multiple functions of the imaging sensor of the camera are switched on, such as
Face datection function, stabilization function and decrease of noise functions etc..
If electronic equipment detects that the camera of the electronic equipment starts, determine whether to receive the electronic equipment
Unlocking motion instruction, show the electronic equipment camera start, be in order to carry out face unlock, then start described in take the photograph
As head enters the low-power consumption mode of the camera, electronic equipment is reduced so as to fulfill in the unlock of electronic equipment conscientious face
Power consumption.
If electronic equipment judges to receive the instruction of the unlocking motion of the electronic equipment, show that the electronic equipment will be into
Pedestrian's face unlocks, and starts the low-power consumption mode that the camera enters the camera at this time, carries out face unlock, so as to fulfill
When electronic equipment carries out face unlock, the power consumption of the face unlock of electronic equipment is reduced.
In one embodiment, the third mode only includes portrait detection function.
Specifically, when electronic equipment is unlocked to realize by face, the power consumption of electronic equipment is reduced, is only taken the photograph described in startup
As the portrait detection function of imaging sensor in head, other functions of the imaging sensor in the camera are not turned on, than
The decrease of noise functions and stabilization function of such as described image sensor are not turned on, and face solution is carried out to reduce the camera with this
Power consumption when locking and carrying out Face datection, so as to reduce power consumption of the whole electronic equipment when carrying out face unlock.
Wherein, the camera of electronic equipment refers to the imaging device of electronic equipment, or referred to as camera, the camera
Mainly include lens and imaging sensor.
In one embodiment, the portrait of the portrait detection of the third mode is dimensioned to be equal to or less than pre-
If dimension threshold.
Specifically, the power consumption of the electronic equipment, can start institute when electronic equipment is in order to further reduce face unlock
The size for stating the portrait of the imaging sensor detection of the camera of electronic equipment is equal to or less than pre-set dimension threshold value, meets people
The needs of face unlock, the pixel of the pre-set dimension threshold value can be 640x480, that is, the image that the portrait detects
Size be less than or equal to 480 pixels of 640x, can be 480 pixels of 640x, or 240 pixels of 320x etc..Due to
The picture size of Face datection starts in default smaller range, the portrait size of the imaging sensor output of the camera
Just become very little, can both meet the needs of portrait detection during face unlock, electronic equipment when can also reduce face unlock
Power consumption, can also improve the image output speed of the electronic equipment of face unlock.
In one embodiment, the image output frame rate of the portrait detection of the first mode is arranged to preset frame rate
Output.
Specifically, frame per second (Frame rate) is to show measuring for frame number for measuring.So-called units of measurement is per second
Show frame number (Frames per Second, abbreviation:) or " hertz " (Hz) FPS.Frame number (fps) per second frame per second table in other words
The number that each second can update when showing graphics processor Treatment stations.If frame per second is excessive, graphics process processor will be wasted
Ability.
Therefore, the power consumption of the electronic equipment, can also start institute when electronic equipment is in order to further reduce face unlock
The frame per second of the image of the imaging sensor output of the camera of electronic equipment is stated, meets the needs of face unlock.The frame
The scope of rate value is 10~20 frame per second, and frame per second can also start in 12~18 frame per second, under normal circumstances, the frame per second choosing
The better balance state for starting and can reaching picture quality and power consumption in 15 frame per second is selected, can also meet to make during face unlock
With requiring, compared to the output frame rate of normal 30 frame per second, the power consumption of the electronic equipment can be substantially reduced.
In one embodiment, the clock frequency of the portrait detection of the third mode is arranged to default ratio in original
Reduced in clock frequency.
Specifically, clock frequency (and is translated:Clock frequency speed, English:Clock rate), refer to clock in synchronous circuit
Base frequency, it is measured with " cycle is per second several times ", and unit uses SI units hertz (Hz).Have in electronic equipment
Various semiconductor chips, each chip work under specific clock frequency.Clock generator provides
Clock signal to chip is a continuous pulse signal, and pulse is equivalent to the pulse of chip, and each subpulse arrives,
Transistor in chip just changes a next state, allows whole chip to complete certain task.
The power consumption of the electronic equipment, can also reduce the electronics when electronic equipment is in order to further reduce face unlock
The imaging sensor of the camera of equipment carries out clock frequency during portrait detection, meets the needs of face unlock.Reduce
The clock frequency of the imaging sensor of the camera of the electronic equipment can utilize IIC (Inter- by programming
Integrated Circuit, IC bus) communication protocol starts the clock frequency of electronic equipment.The first mode
The clock frequency of portrait detection reduced with default ratio in former clock frequency, such as, the portrait detection of the first mode
Clock frequency can reduce by 40% on the basis of former clock frequency, that is, the clock of the portrait detection of the first mode
Frequency is the 60% of the former clock frequency, so as to reduce the speed of the output frequency of image during Face datection, and then reduces institute
State the power consumption of electronic equipment.
The division of modules is only used for for example, in other embodiments, can incite somebody to action in the device of above-mentioned face unlock
The device of face unlock is divided into different modules as required, to complete all or part of work(of the device of above-mentioned face unlock
Energy.
The device of above-mentioned face unlock can be implemented as a kind of form of computer program, and computer program can be in such as Fig. 1
Run on shown electronic equipment.
The embodiment of the present application additionally provides a kind of computer-readable recording medium.One or more includes computer program
Non-volatile computer readable storage medium storing program for executing, when the computer program is executed by one or more processors so that described
Processor performs following steps:
A kind of computer program product for including instruction, when run on a computer so that more than computer performs
The step of method of face unlock described in each embodiment.The embodiment of the present application also provides a kind of electronic equipment.Above-mentioned meter
Calculating machine equipment includes image processing circuit, and image processing circuit can utilize hardware and or software component to realize, it may include fixed
The various processing units of adopted ISP (Image Signal Processing, picture signal processing) pipeline.Fig. 5 is one embodiment
The schematic diagram of middle image processing circuit.As shown in figure 5, for purposes of illustration only, only show with the relevant image of the embodiment of the present application
The various aspects of reason technology.
As shown in figure 5, image processing circuit includes ISP image-signal processors 540 and control logic device 550.Imaging is set
Standby 510 view data caught are handled by ISP image-signal processors 540 first, and ISP image-signal processors 540 are to image
Data are analyzed to be believed with the image statistics for catching the one or more control parameters that can be used for definite and/or imaging device 510
Breath.Imaging device 510 may include the camera with one or more lens 512 and imaging sensor 514.Imaging sensor
514 may include colour filter array (such as Bayer filters), imaging sensor 514 can obtain with imaging sensor 514 it is each into
As luminous intensity and wavelength information that pixel is caught, and provide the one group of original image that can be handled by ISP image-signal processors 540
Data.Sensor 520 (such as gyroscope) can be based on 520 interface type of sensor the image procossing of collection parameter (such as stabilization
Parameter) it is supplied to ISP image-signal processors 540.520 interface of sensor can utilize SMIA (Standard Mobile
Imaging Architecture, Standard Mobile Imager framework) interface, other serial or parallel camera interfaces or above-mentioned interface
Combination.
In addition, raw image data can be also sent to sensor 520 by imaging sensor 514, sensor 520 can be based on passing
Raw image data is supplied to ISP image-signal processors 540 by 520 interface type of sensor, or sensor 520 is by original graph
As data storage is into video memory 530.
ISP image-signal processors 540 handle raw image data pixel by pixel in various formats.For example, each figure
As pixel can have the bit depth of 8,10,12 or 14 bits, ISP image-signal processors 540 can carry out raw image data
The statistical information of one or more image processing operations, collection on view data.Wherein, image processing operations can by identical or
Different bit depth precision carries out.
ISP image-signal processors 540 can also receive view data from video memory 530.For example, sensor 520 connects
Mouthful raw image data is sent to video memory 530, the raw image data in video memory 530 is available to ISP
Image-signal processor 540 is for processing.Video memory 530 can be a part, storage device or the electronics of storage arrangement
Independent private memory in equipment, and may include DMA (Direct Memory Access, direct direct memory access (DMA))
Feature.
When receiving from 514 interface of imaging sensor or from 520 interface of sensor or from video memory 930
During raw image data, ISP image-signal processors 540 can carry out one or more image processing operations, such as time-domain filtering.Place
View data after reason can be transmitted to video memory 530, to carry out other processing before shown.ISP images are believed
Number processor 540 receives processing data from video memory 530, and the processing data are carried out in original domain and RGB and
Image real time transfer in YCbCr color spaces.View data after the processing of ISP image-signal processors 540 may be output to aobvious
Show device 570, so that user watches and/or by graphics engine or GPU (Graphics Processing Unit, graphics processor)
Further processing.In addition, the output of ISP image-signal processors 540 also can be transmitted to video memory 530, and display 570
View data can be read from video memory 530.In one embodiment, video memory 530 can be configured as realizing one
Or multiple frame buffers.In addition, the output of ISP image-signal processors 540 can be transmitted to encoder/decoder 560, to compile
Code/decoding view data.The view data of coding can be saved, and be decompressed before being shown in 570 equipment of display.Compile
Code device/decoder 560 can be realized by CPU or GPU or coprocessor.
The definite statistics of ISP image-signal processors 540, which can be transmitted, gives control logic device Unit 550.For example, statistics
Data may include automatic exposure, automatic white balance, automatic focusing, flicker detection, black level compensation, 512 shadow correction of lens etc.
514 statistical information of imaging sensor.Control logic device 550 may include the processor for performing one or more routines (such as firmware)
And/or microcontroller, one or more routines according to the statistics of reception, can determine imaging device 510 control parameter and
The control parameter of ISP image-signal processors 540.For example, the control parameter of imaging device 510 may include that sensor 520 controls
Parameter (such as gain, the time of integration of spectrum assignment, stabilization parameter etc.), camera flash control parameter, the control ginseng of lens 512
The combination of number (such as focusing or zoom focal length) or these parameters.ISP control parameters may include to be used for automatic white balance and face
The gain level and color correction matrix of color adjustment (for example, during RGB processing), and 512 shadow correction parameter of lens.
It is the step of realizing the method for face unlock with image processing techniques in Fig. 5 below:
If detecting, the camera of electronic equipment starts, and judges whether to receive the finger of the unlocking motion of the electronic equipment
Order;
If judging to receive the instruction of the unlocking motion of the electronic equipment, control ISP image-signal processors enter the
One pattern, the first mode are the low-power consumption modes of the ISP image-signal processors;
Using the first mode, carry out recognition of face, if being verified by the recognition of face, to the electronic equipment into
Row unlock.
In one embodiment, the step of instruction of the unlocking motion for judging whether to receive the electronic equipment is wrapped
Include:
Judge whether to receive the instruction for the corresponding application program of camera for opening the electronic equipment;
If judging not receive the instruction for the corresponding application program of camera for opening the electronic equipment, judge to receive
The instruction of the unlocking motion of the electronic equipment.
In one embodiment, the method further includes:
If judging to receive the instruction for the corresponding application program of camera for opening the electronic equipment, start the ISP
Image-signal processor enters second mode, and the power consumption of the second mode is more than the power consumption of the first mode.
In one embodiment, if the instruction of the unlocking motion for judging to receive the electronic equipment, control ISP figures
Picture signal processor enters first mode, and the first mode is the step of the low-power consumption mode of the ISP image-signal processors
Further included after rapid:
Close the graphics processor GPU of the electronic equipment.
In one embodiment, the step of control ISP image-signal processors enter first mode includes:
When the ISP image-signal processors start, institute of the ISP image-signal processors in addition to Face datection is controlled
Functional closing.
In one embodiment, the method further includes:
If judging to receive the instruction of the unlocking motion of the electronic equipment, the camera is controlled to enter the third mode,
The third mode is the low-power consumption mode of the camera.
In one embodiment, the third mode only includes portrait detection function.
In one embodiment, the portrait of the portrait detection of the third mode is dimensioned to be equal to or less than pre-
If dimension threshold.
In one embodiment, the image output frame rate of the portrait detection of the third mode is arranged to preset frame rate
Output.
In one embodiment, the clock frequency of the portrait detection of the third mode is arranged to default ratio in original
Reduced in clock frequency.
The embodiment of the present application additionally provides a kind of computer program product.A kind of computer program product for including instruction,
When run on a computer so that computer performs the step of the method for the face unlock described in the various embodiments described above
Suddenly.
Any reference to memory, storage, database or other media used in this application may include non-volatile
And/or volatile memory.Suitable nonvolatile memory may include read-only storage (ROM), programming ROM (PROM),
Electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include arbitrary access
Memory (RAM), it is used as external cache.By way of illustration and not limitation, RAM is available in many forms, such as
It is static RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDR SDRAM), enhanced
SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM).
Embodiment described above only expresses the several embodiments of the application, its description is more specific and detailed, but simultaneously
Therefore the limitation to the application the scope of the claims cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art
For, on the premise of the application design is not departed from, various modifications and improvements can be made, these belong to the guarantor of the application
Protect scope.Therefore, the protection domain of the application patent should be determined by the appended claims.
Claims (12)
1. a kind of method of face unlock, the described method includes:
If detecting, the camera of electronic equipment starts, and judges whether to receive the instruction of the unlocking motion of the electronic equipment;
If judging to receive the instruction of the unlocking motion of the electronic equipment, control ISP image-signal processors enter the first mould
Formula, the first mode are the low-power consumption modes of the ISP image-signal processors;
Using the first mode, recognition of face is carried out, if being verified by the recognition of face, the electronic equipment is solved
Lock.
2. the according to the method described in claim 1, it is characterized in that, unlock for judging whether to receive the electronic equipment
The step of instruction of action, includes:
Judge whether to receive the instruction for the corresponding application program of camera for opening the electronic equipment;
If judging not receive the instruction for the corresponding application program of camera for opening the electronic equipment, judgement receives described
The instruction of the unlocking motion of electronic equipment.
3. according to the method described in claim 2, it is characterized in that, the method further includes:
If judging to receive the instruction for the corresponding application program of camera for opening the electronic equipment, start the ISP images
Signal processor enters second mode, and the power consumption of the second mode is more than the power consumption of the first mode.
4. according to claim 1 or claim 2, it is characterised in that if the judgement receives the electronic equipment
The instruction of unlocking motion, starts ISP image-signal processors and enters first mode, the first mode is the ISP images letter
Further included after the step of low-power consumption mode of number processor:
Close the graphics processor GPU of the electronic equipment.
5. according to claim 1 or claim 2, it is characterised in that the startup ISP image-signal processors enter the
The step of one pattern, includes:
When the ISP image-signal processors start, control the ISP image-signal processors all in addition to Face datection
Function is closed.
6. according to claim 1 or claim 2, it is characterised in that the method further includes:
If judging to receive the instruction of the unlocking motion of the electronic equipment, start the camera and enter the third mode, it is described
The third mode is the low-power consumption mode of the camera.
7. according to the method described in claim 6, it is characterized in that, the portrait size of the portrait detection of the third mode is set
It is set to and is equal to or less than pre-set dimension threshold value.
8. the according to the method described in claim 6, it is characterized in that, image output frame rate of the portrait detection of the third mode
It is arranged to export with preset frame rate.
9. according to the method described in claim 6, it is characterized in that, the clock frequency of the portrait detection of the third mode is set
Be set to is reduced with default ratio in former clock frequency.
10. a kind of device of face unlock, it is characterised in that described device includes:
Judgment module, if for detecting that the camera of electronic equipment starts, judges whether to receive the solution of the electronic equipment
The instruction of lock action;
Starting module, if the instruction of the unlocking motion for judging to receive the electronic equipment, control ISP picture signal processing
Device enters first mode, and the first mode is the low-power consumption mode of the ISP image-signal processors;
Unlocked state, for using the first mode, carries out recognition of face, if being verified by the recognition of face, to described
Electronic equipment is unlocked.
11. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program
The step of method as claimed in any one of claims 1-9 wherein is realized when being executed by processor.
12. a kind of electronic equipment, including memory and processor, computer-readable instruction is stored in the memory, it is described
When instruction is performed by the processor so that the processor performs face unlock as claimed in any one of claims 1-9 wherein
Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711065922.0A CN107909686B (en) | 2017-11-02 | 2017-11-02 | Method and device for unlocking human face, computer readable storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711065922.0A CN107909686B (en) | 2017-11-02 | 2017-11-02 | Method and device for unlocking human face, computer readable storage medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107909686A true CN107909686A (en) | 2018-04-13 |
CN107909686B CN107909686B (en) | 2021-02-02 |
Family
ID=61843245
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711065922.0A Expired - Fee Related CN107909686B (en) | 2017-11-02 | 2017-11-02 | Method and device for unlocking human face, computer readable storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107909686B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108875344A (en) * | 2018-06-25 | 2018-11-23 | Oppo(重庆)智能科技有限公司 | A kind of electronic equipment control method, electronic appliance controlling device and electronic equipment |
CN110225258A (en) * | 2018-04-28 | 2019-09-10 | Oppo广东移动通信有限公司 | Data processing method, device, computer readable storage medium and electronic equipment |
CN110493519A (en) * | 2019-08-19 | 2019-11-22 | 惠州Tcl移动通信有限公司 | Image-pickup method, computer-readable medium and the computer equipment of mobile terminal |
CN110874463A (en) * | 2018-08-31 | 2020-03-10 | Oppo广东移动通信有限公司 | Screen unlocking method and electronic equipment |
CN110969053A (en) * | 2018-09-29 | 2020-04-07 | 深圳市神州云海智能科技有限公司 | Lottery buyer classification method and device and lottery robot |
WO2023246783A1 (en) * | 2022-06-24 | 2023-12-28 | 华为技术有限公司 | Method for adjusting device power consumption and electronic device |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202135331U (en) * | 2011-06-25 | 2012-02-01 | 北京播思软件技术有限公司 | Mobile terminal with power saving management mode |
CN103077087A (en) * | 2013-01-10 | 2013-05-01 | 惠州Tcl移动通信有限公司 | Method for application program to automatically adapt to multi-core processor mode and mobile equipment |
CN103733189A (en) * | 2011-07-01 | 2014-04-16 | 英特尔公司 | Image signal processor architecture optimized for low-power, processing flexibility, and user experience |
CN104284004A (en) * | 2013-07-02 | 2015-01-14 | 华为终端有限公司 | Screen unlocking method and mobile terminal |
CN104410785A (en) * | 2014-11-17 | 2015-03-11 | 联想(北京)有限公司 | An information processing method and electronic device |
CN104424156A (en) * | 2013-09-09 | 2015-03-18 | 中兴通讯股份有限公司 | Core processing method and device of processor and terminal |
CN104468969A (en) * | 2014-10-23 | 2015-03-25 | 深圳市金立通信设备有限公司 | Photographing method |
CN104601888A (en) * | 2015-01-19 | 2015-05-06 | 联想(北京)有限公司 | Control method and electronic equipment |
CN104704810A (en) * | 2012-07-12 | 2015-06-10 | 高途乐公司 | Image capture accelerator |
US20150356802A1 (en) * | 2014-06-10 | 2015-12-10 | Center For Integrated Smart Sensors Foundation | Low Power Door-Lock Apparatus Based On Battery Using Face Recognition |
CN105807893A (en) * | 2016-03-11 | 2016-07-27 | 联想(北京)有限公司 | Information processing method and electronic device |
US20160323510A1 (en) * | 2013-10-01 | 2016-11-03 | Gopro, Inc. | Camera System Dual-Encoder Architecture |
CN106341571A (en) * | 2016-08-18 | 2017-01-18 | 深圳市金立通信设备有限公司 | Image processing method and terminal |
CN107172345A (en) * | 2017-04-07 | 2017-09-15 | 深圳市金立通信设备有限公司 | A kind of image processing method and terminal |
-
2017
- 2017-11-02 CN CN201711065922.0A patent/CN107909686B/en not_active Expired - Fee Related
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202135331U (en) * | 2011-06-25 | 2012-02-01 | 北京播思软件技术有限公司 | Mobile terminal with power saving management mode |
CN103733189A (en) * | 2011-07-01 | 2014-04-16 | 英特尔公司 | Image signal processor architecture optimized for low-power, processing flexibility, and user experience |
CN104704810A (en) * | 2012-07-12 | 2015-06-10 | 高途乐公司 | Image capture accelerator |
CN103077087A (en) * | 2013-01-10 | 2013-05-01 | 惠州Tcl移动通信有限公司 | Method for application program to automatically adapt to multi-core processor mode and mobile equipment |
CN104284004A (en) * | 2013-07-02 | 2015-01-14 | 华为终端有限公司 | Screen unlocking method and mobile terminal |
CN104424156A (en) * | 2013-09-09 | 2015-03-18 | 中兴通讯股份有限公司 | Core processing method and device of processor and terminal |
US20160323510A1 (en) * | 2013-10-01 | 2016-11-03 | Gopro, Inc. | Camera System Dual-Encoder Architecture |
US20150356802A1 (en) * | 2014-06-10 | 2015-12-10 | Center For Integrated Smart Sensors Foundation | Low Power Door-Lock Apparatus Based On Battery Using Face Recognition |
CN104468969A (en) * | 2014-10-23 | 2015-03-25 | 深圳市金立通信设备有限公司 | Photographing method |
CN104410785A (en) * | 2014-11-17 | 2015-03-11 | 联想(北京)有限公司 | An information processing method and electronic device |
CN104601888A (en) * | 2015-01-19 | 2015-05-06 | 联想(北京)有限公司 | Control method and electronic equipment |
CN105807893A (en) * | 2016-03-11 | 2016-07-27 | 联想(北京)有限公司 | Information processing method and electronic device |
CN106341571A (en) * | 2016-08-18 | 2017-01-18 | 深圳市金立通信设备有限公司 | Image processing method and terminal |
CN107172345A (en) * | 2017-04-07 | 2017-09-15 | 深圳市金立通信设备有限公司 | A kind of image processing method and terminal |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110225258A (en) * | 2018-04-28 | 2019-09-10 | Oppo广东移动通信有限公司 | Data processing method, device, computer readable storage medium and electronic equipment |
CN108875344A (en) * | 2018-06-25 | 2018-11-23 | Oppo(重庆)智能科技有限公司 | A kind of electronic equipment control method, electronic appliance controlling device and electronic equipment |
CN110874463A (en) * | 2018-08-31 | 2020-03-10 | Oppo广东移动通信有限公司 | Screen unlocking method and electronic equipment |
CN110969053A (en) * | 2018-09-29 | 2020-04-07 | 深圳市神州云海智能科技有限公司 | Lottery buyer classification method and device and lottery robot |
CN110969053B (en) * | 2018-09-29 | 2023-12-22 | 深圳市神州云海智能科技有限公司 | Method and device for classifying players and lottery robot |
CN110493519A (en) * | 2019-08-19 | 2019-11-22 | 惠州Tcl移动通信有限公司 | Image-pickup method, computer-readable medium and the computer equipment of mobile terminal |
CN110493519B (en) * | 2019-08-19 | 2021-03-23 | 惠州Tcl移动通信有限公司 | Image acquisition method of mobile terminal, computer readable medium and computer device |
WO2023246783A1 (en) * | 2022-06-24 | 2023-12-28 | 华为技术有限公司 | Method for adjusting device power consumption and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN107909686B (en) | 2021-02-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107657167A (en) | Method, apparatus, computer-readable recording medium and the electronic equipment of face unblock | |
CN107909686A (en) | Method, apparatus, computer-readable recording medium and the electronic equipment of face unlock | |
US8401328B2 (en) | Image processing apparatus and image processing method | |
CN107592473A (en) | Exposure parameter method of adjustment, device, electronic equipment and readable storage medium storing program for executing | |
CN107945107A (en) | Image processing method, device, computer-readable recording medium and electronic equipment | |
CN109005364A (en) | Image formation control method, device, electronic equipment and computer readable storage medium | |
CN107818305A (en) | Image processing method, device, electronic equipment and computer-readable recording medium | |
CN110149482A (en) | Focusing method, device, electronic equipment and computer readable storage medium | |
CN107862274A (en) | U.S. face method, apparatus, electronic equipment and computer-readable recording medium | |
CN107862657A (en) | Image processing method, device, computer equipment and computer-readable recording medium | |
CN107730446A (en) | Image processing method, device, computer equipment and computer-readable recording medium | |
CN107766831A (en) | Image processing method, device, mobile terminal and computer-readable recording medium | |
CN108989700A (en) | Image formation control method, device, electronic equipment and computer readable storage medium | |
CN107454322A (en) | Photographic method, device, computer can storage medium and mobile terminals | |
CN103098078A (en) | Smile detection systems and methods | |
CN108108415A (en) | Image processing method, device, storage medium and electronic equipment | |
CN110536068A (en) | Focusing method and device, electronic equipment, computer readable storage medium | |
CN108769508B (en) | Data processing method, device, computer readable storage medium and electronic equipment | |
CN109672819A (en) | Image processing method, device, electronic equipment and computer readable storage medium | |
CN108419012A (en) | Photographic method, device, storage medium and electronic equipment | |
CN108022207A (en) | Image processing method, device, storage medium and electronic equipment | |
CN109089041A (en) | Recognition methods, device, electronic equipment and the storage medium of photographed scene | |
CN109685853A (en) | Image processing method, device, electronic equipment and computer readable storage medium | |
CN107395991A (en) | Image combining method, device, computer-readable recording medium and computer equipment | |
CN108683863A (en) | Image formation control method, device, electronic equipment and readable storage medium storing program for executing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20210202 |