CN109688335A - Control method and device, the unlocking method and a device of terminal, mobile phone of camera - Google Patents

Control method and device, the unlocking method and a device of terminal, mobile phone of camera Download PDF

Info

Publication number
CN109688335A
CN109688335A CN201811472394.5A CN201811472394A CN109688335A CN 109688335 A CN109688335 A CN 109688335A CN 201811472394 A CN201811472394 A CN 201811472394A CN 109688335 A CN109688335 A CN 109688335A
Authority
CN
China
Prior art keywords
camera
intensity
illumination
facial image
terminal
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
CN201811472394.5A
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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201811472394.5A priority Critical patent/CN109688335A/en
Publication of CN109688335A publication Critical patent/CN109688335A/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/70Circuitry for compensating brightness variation in the scene
    • H04N23/71Circuitry for evaluating the brightness variation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/73Circuitry for compensating brightness variation in the scene by influencing the exposure time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/75Circuitry for compensating brightness variation in the scene by influencing optical camera components

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Studio Devices (AREA)
  • Telephone Function (AREA)

Abstract

The present invention proposes the control method and device, the unlocking method and a device of terminal, mobile phone of a kind of camera, wherein the control method of camera, comprising: when camera is not opened, the intensity of illumination of environment where monitoring camera;The exposure parameter of camera is determined according to intensity of illumination;Camera shooting image is controlled according to exposure parameter when camera is opened and monitors intensity of illumination when camera is not opened, so that the quick output for realizing camera exposes correct image, realizes fast face identification.

Description

Control method and device, the unlocking method and a device of terminal, mobile phone of camera
Technical field
The present invention relates to field of photography, the in particular to control method of camera and device, the unlocking method of terminal and dress It sets, mobile phone.
Background technique
As smart phone popularity rate is higher and higher, mobile phone application scenarios are more and more, and convenience is higher and higher, user's body The requirement tested is also higher and higher, and the unlocking manner of mobile phone is various, outside the unlocking manners such as figure, number since most, also refers to The quick releases mode such as line and face unlock.Since experience requirements are higher and higher, the speed of performance of face unlock is also user pass One emphasis of note.The quick opening of camera, fast imaging are the key that realize fast face unlock.
Therefore, the opening speed for improving camera is this field urgent problem to be solved.
Summary of the invention
The present invention provides a kind of control methods of camera and device, the unlocking method and a device of terminal, mobile phone, are used for Improve the opening speed of camera.
To solve the above-mentioned problems, as one aspect of the present invention, a kind of control method of camera is provided, is wrapped It includes:
When camera is not opened, the intensity of illumination of environment where monitoring camera;
The exposure parameter of camera is determined according to intensity of illumination;
Camera is controlled according to exposure parameter when camera is opened and shoots image.
Optionally, the intensity of illumination of environment where monitoring camera, comprising:
An intensity of illumination is obtained every first time.
Optionally, intensity of illumination is monitored using light sensor.
Optionally, when camera is not opened, the intensity of illumination of environment where monitoring camera, comprising:
Detect whether the shelter for being less than first distance with light sensor spacing;
If without shelter, the intensity of illumination of environment where obtaining camera.
Optionally, exposure parameter includes time for exposure and gain intensity.
The application also proposes a kind of unlocking method of terminal, comprising:
The control method of the camera of any one proposed using the application shoots facial image;
Judge whether facial image meets preset condition;
If facial image meets preset condition, terminal is unlocked.
Optionally, judge whether facial image meets preset condition, comprising:
Face characteristic information is obtained from facial image;
If face characteristic information is consistent with pre-stored characteristics information, facial image meets preset condition;
If face characteristic information and pre-stored characteristics information are inconsistent, facial image is unsatisfactory for preset condition.
The application also proposes a kind of control device of camera, comprising:
Monitoring unit, for when camera is not opened, monitoring the intensity of illumination of camera place environment;
Parameters unit, for determining the exposure parameter of camera according to intensity of illumination;
Control unit shoots image for controlling camera according to exposure parameter when camera is opened.
Optionally, the intensity of illumination of environment where monitoring unit monitoring camera, comprising:
An intensity of illumination is obtained every first time.
Optionally, monitoring unit includes light sensor, monitors intensity of illumination using light sensor.
Optionally, monitoring unit is not when camera is opened, the intensity of illumination of environment where monitoring camera, comprising:
Detect whether the shelter for being less than first distance with light sensor spacing;
If without shelter, the intensity of illumination of environment where obtaining camera.
Optionally, exposure parameter includes time for exposure and gain intensity.
The application also proposes a kind of tripper of terminal, comprising:
The control device of the camera for any one that the application proposes, for controlling camera shooting facial image;
Judging unit, for judging whether facial image meets preset condition;
Unlocking unit, for unlocking terminal when facial image meets preset condition.
Optionally, judging unit judges whether facial image meets preset condition, comprising:
Face characteristic information is obtained from facial image;
If face characteristic information is consistent with pre-stored characteristics information, facial image meets preset condition;
If face characteristic information and pre-stored characteristics information are inconsistent, facial image is unsatisfactory for preset condition.
The application also proposes a kind of mobile phone, including processor, memory and storage on a memory can be on a processor The program of operation, processor realizes the control method for any camera that the application proposes when executing program, or realizes the application The step of unlocking method of any one terminal of proposition.
The application also proposes a kind of mobile phone, the control device of the camera of any one including the application proposition, or including The tripper for any terminal that the application proposes.
The invention proposes a kind of control method of camera and device, the unlocking method and a device of terminal, mobile phone, In, intensity of illumination is monitored when camera is not opened, so that realizing camera quickly exports the correct image of exposure, quick people Face identification.
Detailed description of the invention
Fig. 1 is a kind of flow chart of the control method of camera in the embodiment of the present invention;
Fig. 2 is a kind of flow chart of the unlocking method of terminal in the embodiment of the present invention;
Fig. 3 is a kind of composition figure of the control device of camera in the embodiment of the present invention;
Fig. 4 is a kind of composition figure of the tripper of terminal in the embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with the specific embodiment of the invention and Technical solution of the present invention is clearly and completely described in corresponding attached drawing.Obviously, described embodiment is only the present invention one Section Example, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not doing Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Covering non-exclusive includes to be not necessarily limited to for example, containing the process, method of a series of steps or units, device, product or electric appliance Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that electric appliance is intrinsic.
When in the prior art, using terminals such as recognition of face unlock mobile phone, plates, need to shoot face using camera The opening speed of image, camera determines the speed of recognition of face, if it is possible to which the opening speed for improving camera can be shown The speed for improving recognition of face is write, a kind of control method of camera is proposed based on this application, referring to FIG. 1, the application mentions The control method of camera out includes:
S11: when camera is not opened, the intensity of illumination of environment where monitoring camera.
Specifically, the control method for the camera that the application proposes can be used for the intelligent terminals such as mobile phone, plate, herein Camera can be mobile phone, the camera on plate, when camera is not opened, i.e., when camera is not used by, and monitoring camera shooting The intensity of illumination of environment where head, such as on smart phone, usually there is light sensor, it herein can be on calling mobile phone Light sensor monitors the intensity of illumination of environment, and it is strong that specific monitoring process can be illumination of acquisition at regular intervals Degree.
S12: the exposure parameter of camera is determined according to intensity of illumination;
Specifically, camera needs to adjust the exposure parameters such as light exposure, exposure parameter and ring when camera is taken pictures The intensity of illumination in border is related.Such as the intensity of illumination of environment is too strong, then needs suitably to reduce exposure, influence the principal element of exposure Including aperture, shutter and sensitivity.The rental of aperture is embodied in the size by adjusting aperture openings aperture to control photosensitive member The light of part.The device of camera photosensitive element time for exposure is controlled when shutter, shutter speed is faster, and light-inletting quantity is fewer, sensitivity It is the ability of the photosensitive element induction light inside camera, sensitivity is higher, the photoperceptivity the strong more easy to be photosensitive.Herein Exposure parameter may include shutter speed and time for exposure.
S13: camera is controlled according to exposure parameter when camera is opened and shoots image.
Specifically, the application is to detect the intensity of illumination of environment when camera is not opened to calculate exposure ginseng in advance Number, to accelerate camera unlatching.In the prior art, when camera is opened since automatic exposure algorithm does not know camera The intensity of illumination of outside, image output need to undergo from secretly to bright process, that is, needing gradually since short exposure and low gain Gradually increase time for exposure and gain intensity, this meeting so that the camera output process that exposes normal image is more slow, and Because just obtaining the intensity of illumination of environment in advance in the application, without experience from secretly to bright process, directly Correct exposure parameter is got, quickly to adjust camera, improves the speed of shooting image, even if the intensity of illumination obtained There are slight deviations with practical intensity of illumination, need the control chip of camera to adjust again, still mention compared to the prior art The high speed of shooting image.
Optionally, the intensity of illumination of environment where monitoring camera, comprising: it is strong to obtain an illumination every first time Degree.
Specifically, can set is 3 minutes or 5 minutes at the first time, every the illumination of acquisition in 3 minutes or 5 minutes Intensity, it is preferable that the method that the application proposes is used for smart machine, such as mobile phone, is provided with vibrating sensor in smart machine, After vibrating sensor detects vibration, the intensity of illumination of environment is detected, because user is carried out using smart machines such as mobile phones It takes pictures or necessarily to will cause the smart machines such as mobile phone mobile when recognition of face unlocks, is i.e. generation vibration values, it is preferred that in order to anti- Only wrong identification detects vibration values using vibrating sensor, obtains intensity of illumination when vibration values are greater than the first vibration values.
Optionally, intensity of illumination is monitored using light sensor.The method that the application proposes can be used on mobile phone, usually The front camera of mobile phone is nearby provided with range sensor and light sensor, with detecting distance and light.Under normal conditions It needs to pick up mobile phone when user is using camera, it is therefore preferred that when the method that the application proposes is used for mobile phone, on mobile phone Infrared detecting device is set, starts the intensity of illumination for obtaining environment when infrared detecting device detects that user holds mobile phone, with The speed for opening camera is improved, and can not detect intensity of illumination when user does not hold mobile phone, to save electric energy.
Optionally, when camera is not opened, the intensity of illumination of environment where monitoring camera, comprising:
Detect whether the shelter for being less than first distance with light sensor spacing;
If without shelter, the intensity of illumination of environment where obtaining camera.
Specifically, infrared sensor can be arranged by light sensor, infrared sensor is by transmitting infrared ray and connects The infrared ray for receiving reflection judges whether there is shelter, this shelter can hinder the light of camera, causes in camera reality Intensity of illumination when work and intensity of illumination at this time can have a deviation, therefore preferably shut out the light sensor in no shelter When obtain camera where environment intensity of illumination, to guarantee that the intensity of illumination that detects is accurate enough.
Optionally, the intensity of illumination that can also obtain environment with camera in this application is strong with camera acquisition illumination Degree is more accurate compared to light sensor, because being to carry out the adjusting of aperture by camera to change when actual photographed image Exposure parameter.
In this application, exposure parameter includes time for exposure and gain intensity.In previous camera control method, because Not know ambient future, need to be stepped up exposure and gain, to adjust time for exposure and gain intensity, the application because To obtain extraneous intensity of illumination in advance, therefore time for exposure and gain intensity can be directly determined, quickly output exposure is correct Image.
The application also proposes a kind of unlocking method of terminal, please refers to Fig. 2, comprising:
S21: the control method of any camera proposed using the application shoots facial image;
Specifically, the terminal in the application can be the smart machine that mobile phone, plate, computer etc. have camera, because The unlocking method for the terminal that the application proposes uses the control method for any camera that the application proposes, therefore in terminal Camera opening to shoot the intensity of illumination that can detect environment before facial image, to determine exposure parameter in advance, in this way When opening camera and obtaining facial image without adjusting or only needing that exposure parameter is adjusted slightly, taken the photograph to accelerate unlatching As the speed of head acquisition facial image, reduce time loss.
S22: judge whether facial image meets preset condition;
Specifically, the unlocking method for the terminal that the application proposes is used for recognition of face, i.e., first obtain terminal shooting at this time Whether facial image meets preset condition further according to facial image, and the preset condition in the application can be to be made in the prior art The decision condition of recognition of face, such as may is that the similarity of the facial image that judgement obtains with the facial image prestored, In the case where similarity is greater than the first similarity value, it is believed that the facial image of terminal camera shooting meets preset condition;It needs It should be noted that the facial image in the application not only includes photo, it also may include short-sighted frequency, such as the memory in terminal In be stored in advance 3 seconds and prestore short-sighted frequency, prestore and have recorded user in short-sighted frequency and specifically act or expression, will be to end It is first short-sighted wait judge using the control method control camera of the camera in the application shooting 3 seconds when end is unlocked Frequently, the similarity wait judge short-sighted frequency He prestore short-sighted frequency is then compared, at this point, preset condition can be wait judge in short-sighted frequency It the movement of user and expression and prestores the movement of user and expression similarity in short-sighted frequency and is greater than threshold value.
S23: if facial image meets preset condition, terminal is unlocked.
Specifically, after facial image meets preset condition, then unlock terminal allow using.Optionally, in order to prevent Mobile phone is taken by people after losing and is not given back, pseudo- interface can be pre-stored in the terminal proposed in this application, such as work as mobile phone Pseudo- interface can be entered when continuously can not all be opened using gesture, password or facial image identification three times, prestored in pseudo- interface False data and application, each application can normal use, but there is no the truthful data of user in false data, at this point, Camera silence opens the people for shooting currently used terminal, and the photo of the people is sent to preset mailbox or website, And positioning function is opened, location data is also sent to preset mailbox and website.Mailbox and website herein can be The pre-set mailbox of user and website.
Compared with prior art, in the unlocking method for applying for the terminal proposed, because first being obtained in the unlock of unused face The intensity of illumination of environment has been taken, therefore can quickly obtain facial image when carrying out face unlock with camera, to accelerate The speed of face unlock.
Optionally, judge whether facial image meets preset condition, comprising:
Face characteristic information is obtained from facial image;
If face characteristic information is consistent with pre-stored characteristics information, facial image meets preset condition;
If face characteristic information and pre-stored characteristics information are inconsistent, facial image is unsatisfactory for preset condition.
Specifically, pre-stored characteristics information can be and most start user and prestore the special information stored when facial image, this A little characteristic informations can be the characteristic point in facial image, such as when user prestores the image of recognition of face at the beginning has taken one It opens and prestores photo, then prestored from this and obtain multiple characteristic points in photo, as characteristic set, then carry out people afterwards When face identification unlock, face head portrait is had taken after that with camera, and the characteristic point that corresponding position is obtained from facial image is made For face characteristic information, face characteristic information is compared with each characteristic set prestored in photo prestored, if the two It is consistent, then assert that facial image meets preset condition.
Referring to FIG. 3, the application also proposes a kind of control device of camera, comprising: detection unit 10, parameters unit 20 With control unit 30.
Monitoring unit 10, for when camera is not opened, monitoring the intensity of illumination of camera place environment;
Specifically, the control device for the camera that the application proposes can be used for the intelligent terminals such as mobile phone, plate, herein Camera can be mobile phone, the camera on plate, when camera is not opened, i.e., when camera is not used by, and monitoring camera shooting The intensity of illumination of environment where head, such as on smart phone, usually there is light sensor, monitoring unit 10 can be herein Light sensor on the smart machines such as mobile phone, to monitor the intensity of illumination of environment, specific monitoring process can be every Certain time obtains an intensity of illumination.
Parameters unit 20, for determining the exposure parameter of camera according to intensity of illumination;
Specifically, camera needs to adjust the exposure parameters such as light exposure, exposure parameter and ring when camera is taken pictures The intensity of illumination in border is related.Such as the intensity of illumination of environment is too strong, then needs suitably to reduce exposure, influence the principal element of exposure Including aperture, shutter and sensitivity.The rental of aperture is embodied in the size by adjusting aperture openings aperture to control photosensitive member The light of part.The device of camera photosensitive element time for exposure is controlled when shutter, shutter speed is faster, and light-inletting quantity is fewer, sensitivity It is the ability of the photosensitive element induction light inside camera, sensitivity is higher, the photoperceptivity the strong more easy to be photosensitive.Herein Exposure parameter may include shutter speed and time for exposure
Control unit 30 shoots image for controlling camera according to exposure parameter when camera is opened.
Specifically, the control device that the application proposes is to detect the intensity of illumination of environment when camera is not opened in advance Exposure parameter is calculated, to accelerate camera unlatching.In the prior art, when camera is opened due to automatic exposure algorithm The intensity of illumination outside camera is not known, image output needs to undergo from secretly to bright process, that is, needing gradually from short exposure Start to gradually increase time for exposure and gain intensity with low gain, this meeting is so that camera output exposes the process of normal image More slowly, and because just obtaining the intensity of illumination of environment in advance in the application, without experience from secretly to bright process, Correct exposure parameter can be directly got, quickly to adjust camera, improves the speed of shooting image, even if obtaining Intensity of illumination there are slight deviations with practical intensity of illumination, need the control chip of camera to adjust again, compared to it is existing Technology still improves the speed of shooting image.
Optionally, the intensity of illumination of environment where monitoring unit 10 monitors camera, comprising: obtain one every first time Secondary intensity of illumination.It can set at the first time as 3 minutes or 5 minutes, every the intensity of illumination of acquisition in 3 minutes or 5 minutes, Preferably, the control device that the application proposes is used for smart machine, such as mobile phone, is provided with vibrating sensor in smart machine, After vibrating sensor detects vibration, the intensity of illumination of environment is detected, because user is carried out using smart machines such as mobile phones It takes pictures or necessarily to will cause the smart machines such as mobile phone mobile when recognition of face unlocks, is i.e. generation vibration values, it is preferred that in order to anti- Only wrong identification detects vibration values using vibrating sensor, obtains intensity of illumination when vibration values are greater than the first vibration values.
Optionally, monitoring unit further includes light sensor, detects intensity of illumination using light sensor, the application proposes Method can be used on mobile phone, the front camera of usual mobile phone is nearby provided with range sensor and light sensor, with Detecting distance and light.Under normal conditions user using camera when need to pick up mobile phone, it is therefore preferred that when the application propose Control device be used for mobile phone when, infrared detecting device is set on mobile phone, when detect user hold mobile phone when start to obtain The intensity of illumination of environment, with improve open camera speed, and can when user does not hold mobile phone not detection light shine Intensity, to save electric energy.
Optionally, monitoring unit 10 is not when camera is opened, the intensity of illumination of environment where monitoring camera, comprising:
Detect whether the shelter for being less than first distance with light sensor spacing;
If without shelter, the intensity of illumination of environment where obtaining camera.
Specifically, the distance if there is distance light sensor is less than the shelter of first distance, then this shelter meeting The light for entering light sensor is hindered, can be existed partially in the intensity of illumination of camera in actual work and intensity of illumination at this time Difference, therefore the intensity of illumination of environment where preferably obtaining camera in no shelter, to guarantee the intensity of illumination that detects It is accurate enough.
Optionally, it can also include camera in the application monitoring unit, the intensity of illumination of environment is obtained with camera, is used Camera acquisition intensity of illumination is more accurate compared to light sensor, because being to be carried out when actual photographed image by camera The adjusting of aperture is to change exposure parameter.
In the quick unlatching cam device that the application proposes, exposure parameter may include time for exposure and gain intensity. It in previous camera shooting head controlling device, because not knowing ambient future, needs to be stepped up exposure and gain, to adjust Time for exposure and gain intensity, the application can directly determine the time for exposure because obtaining extraneous intensity of illumination in advance With gain intensity, quickly output exposes correct image.
The application also proposes a kind of tripper of terminal, as described in Figure 4, comprising:
The control device 30 of camera, for controlling camera shooting facial image;
Specifically, the terminal in the application can be the smart machine that mobile phone, plate, computer etc. have camera, because The tripper for the terminal that the application proposes uses the control device for any camera that the application proposes, therefore in terminal Camera opening to shoot the intensity of illumination that can detect environment before facial image, to determine exposure parameter in advance, in this way When opening camera and obtaining facial image without adjusting or only needing that exposure parameter is adjusted slightly, taken the photograph to accelerate unlatching As the speed of head acquisition facial image, reduce time loss.
Judging unit 40, for judging whether facial image meets preset condition;
Specifically, the tripper for the terminal that the application proposes is used for recognition of face, i.e., first obtain terminal shooting at this time Whether facial image meets preset condition further according to facial image, and the preset condition in the application can be to be made in the prior art The decision condition of recognition of face, such as may is that the similarity of the facial image that judgement obtains with the facial image prestored, In the case where similarity is greater than the first similarity value, it is believed that the facial image of terminal camera shooting meets preset condition;It needs It should be noted that the facial image in the application not only includes photo, it also may include short-sighted frequency, such as the memory in terminal In be stored in advance 3 seconds and prestore short-sighted frequency, prestore and have recorded user in short-sighted frequency and specifically act or expression, will be to end It is first short-sighted wait judge using the control method control camera of the camera in the application shooting 3 seconds when end is unlocked Frequently, the similarity wait judge short-sighted frequency He prestore short-sighted frequency is then compared, at this point, preset condition can be wait judge in short-sighted frequency It the movement of user and expression and prestores the movement of user and expression similarity in short-sighted frequency and is greater than threshold value.
Unlocking unit 50, for unlocking terminal when facial image meets preset condition.
Specifically, after facial image meets preset condition, then unlock terminal allow using.Optionally, in order to prevent Mobile phone is taken by people after losing and is not given back, pseudo- interface can be pre-stored in the terminal proposed in this application, such as work as mobile phone The tripper of terminal can controlling terminal entrance when continuously can not all be opened using gesture, password or facial image identification three times Pseudo- interface, prestores false data and application in pseudo- interface, each application can normal use, but do not have in false data The truthful data of user at this point, camera silence opens the people for shooting currently used terminal, and the photo of the people is sent to pre- The mailbox first set or website, and positioning function is opened, location data is also sent to preset mailbox and website.Herein Mailbox and website can be the pre-set mailbox of user and website.
Compared with prior art, in the tripper for applying for the terminal proposed, because first being obtained in the unlock of unused face The intensity of illumination of environment has been taken, therefore can quickly obtain facial image when carrying out face unlock with camera, to accelerate The speed of face unlock.
Optionally, judging unit 40 judges whether facial image meets preset condition, comprising:
Face characteristic information is obtained from facial image;
If face characteristic information is consistent with pre-stored characteristics information, facial image meets preset condition;
If face characteristic information and pre-stored characteristics information are inconsistent, facial image is unsatisfactory for preset condition.
Specifically, pre-stored characteristics information can be and most start user and prestore the special information stored when facial image, this A little characteristic informations can be the characteristic point in facial image, such as when user prestores the image of recognition of face at the beginning has taken one It opens and prestores photo, then prestored from this and obtain multiple characteristic points in photo, as characteristic set, then carry out people afterwards When face identification unlock, face head portrait is had taken after that with camera, and the characteristic point that corresponding position is obtained from facial image is made For face characteristic information, face characteristic information is compared with each characteristic set prestored in photo prestored, if the two It is consistent, then assert that facial image meets preset condition.
The application also proposes a kind of mobile phone, including processor, memory and storage on a memory can be on a processor The program of operation, processor realizes the control method for any camera that the application proposes when executing program, or realizes the application The step of unlocking method of any one terminal of proposition.
The application also proposes a kind of mobile phone, which is characterized in that the control of the camera of any one including the application proposition Device, or the tripper of any terminal including the application proposition.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (16)

1. a kind of control method of camera characterized by comprising
When camera is not opened, the intensity of illumination of environment where monitoring the camera;
The exposure parameter of the camera is determined according to the intensity of illumination;
The camera is controlled according to the exposure parameter when the camera is opened and shoots image.
2. the control method of camera according to claim 1, which is characterized in that the illumination of environment where monitoring camera Intensity, comprising:
The primary intensity of illumination is obtained every first time.
3. the control method of -2 described in any item cameras according to claim 1, which is characterized in that
The intensity of illumination is monitored using light sensor.
4. the control method of camera according to claim 3, which is characterized in that when camera is not opened, monitoring is taken the photograph The intensity of illumination of environment as where head, comprising:
Detect whether the shelter for being less than first distance with the light sensor spacing;
If without shelter, the intensity of illumination of environment where obtaining the camera.
5. quick unlatching camera method according to claim 1-4, which is characterized in that
The exposure parameter includes time for exposure and gain intensity.
6. a kind of unlocking method of terminal characterized by comprising
Facial image is shot using the control method of camera as described in any one in claim 1-5;
Judge whether the facial image meets preset condition;
If the facial image meets preset condition, the terminal is unlocked.
7. the unlocking method of terminal according to claim 6, which is characterized in that it is pre- to judge whether the facial image meets If condition, comprising:
Face characteristic information is obtained from the facial image;
If the face characteristic information is consistent with pre-stored characteristics information, the facial image meets preset condition;
If the face characteristic information and pre-stored characteristics information are inconsistent, the facial image is unsatisfactory for preset condition.
8. a kind of control device of camera characterized by comprising
Monitoring unit, the intensity of illumination for environment where when camera is not opened, monitoring the camera;
Parameters unit, for determining the exposure parameter of the camera according to the intensity of illumination;
Control unit shoots image for controlling the camera according to the exposure parameter when the camera is opened.
9. the control device of camera according to claim 8, which is characterized in that the monitoring unit monitors camera institute In the intensity of illumination of environment, comprising:
The primary intensity of illumination is obtained every first time.
10. according to the control device of the described in any item cameras of claim 8-9, which is characterized in that
The monitoring unit includes light sensor, monitors the intensity of illumination using light sensor.
11. the control device of camera according to claim 10, which is characterized in that the monitoring unit camera not When unlatching, the intensity of illumination of environment where monitoring camera, comprising:
Detect whether the shelter for being less than first distance with the light sensor spacing;
If without shelter, the intensity of illumination of environment where obtaining the camera.
12. according to the described in any item quick unlatching cam devices of claim 8-11, which is characterized in that
The exposure parameter includes time for exposure and gain intensity.
13. a kind of tripper of terminal characterized by comprising
Such as the control device of the described in any item cameras of claim 8-12, facial image is shot for controlling camera;
Judging unit, for judging whether the facial image meets preset condition;
Unlocking unit, for unlocking the terminal when the facial image meets preset condition.
14. the tripper of terminal according to claim 13, which is characterized in that the judging unit judges the face Whether image meets preset condition, comprising:
Face characteristic information is obtained from the facial image;
If the face characteristic information is consistent with pre-stored characteristics information, the facial image meets preset condition;
If the face characteristic information and pre-stored characteristics information are inconsistent, the facial image is unsatisfactory for preset condition.
15. a kind of mobile phone, which is characterized in that can be transported on a processor on a memory including processor, memory and storage Capable program, the processor realize the control method of any camera of claim 1-5 when executing described program, or real The step of any one of existing claim 6-7 unlocking method of the terminal.
16. a kind of mobile phone, which is characterized in that the control device including such as described in any item cameras of claim 8-12, or Tripper including the terminal as described in claim 13-14 is any.
CN201811472394.5A 2018-12-04 2018-12-04 Control method and device, the unlocking method and a device of terminal, mobile phone of camera Pending CN109688335A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811472394.5A CN109688335A (en) 2018-12-04 2018-12-04 Control method and device, the unlocking method and a device of terminal, mobile phone of camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811472394.5A CN109688335A (en) 2018-12-04 2018-12-04 Control method and device, the unlocking method and a device of terminal, mobile phone of camera

Publications (1)

Publication Number Publication Date
CN109688335A true CN109688335A (en) 2019-04-26

Family

ID=66186595

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811472394.5A Pending CN109688335A (en) 2018-12-04 2018-12-04 Control method and device, the unlocking method and a device of terminal, mobile phone of camera

Country Status (1)

Country Link
CN (1) CN109688335A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111049983A (en) * 2019-12-13 2020-04-21 上海展扬通信技术有限公司 Terminal control method and terminal
CN112889271A (en) * 2019-05-29 2021-06-01 华为技术有限公司 Image processing method and device
CN113037983A (en) * 2021-03-25 2021-06-25 华勤技术股份有限公司 Shooting method, shooting system, wearable device, terminal and storage medium
CN115118886A (en) * 2021-03-22 2022-09-27 Oppo广东移动通信有限公司 Image processing chip, application processing chip, electronic device and image processing method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108830061A (en) * 2018-05-25 2018-11-16 努比亚技术有限公司 Terminal unlock method, mobile terminal and readable storage medium storing program for executing based on recognition of face
CN108924414A (en) * 2018-06-27 2018-11-30 维沃移动通信有限公司 A kind of image pickup method and terminal device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108830061A (en) * 2018-05-25 2018-11-16 努比亚技术有限公司 Terminal unlock method, mobile terminal and readable storage medium storing program for executing based on recognition of face
CN108924414A (en) * 2018-06-27 2018-11-30 维沃移动通信有限公司 A kind of image pickup method and terminal device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112889271A (en) * 2019-05-29 2021-06-01 华为技术有限公司 Image processing method and device
CN112889271B (en) * 2019-05-29 2022-06-07 华为技术有限公司 Image processing method and device
CN111049983A (en) * 2019-12-13 2020-04-21 上海展扬通信技术有限公司 Terminal control method and terminal
CN111049983B (en) * 2019-12-13 2024-02-27 上海传英信息技术有限公司 Terminal control method, terminal and computer readable storage medium
CN115118886A (en) * 2021-03-22 2022-09-27 Oppo广东移动通信有限公司 Image processing chip, application processing chip, electronic device and image processing method
CN113037983A (en) * 2021-03-25 2021-06-25 华勤技术股份有限公司 Shooting method, shooting system, wearable device, terminal and storage medium

Similar Documents

Publication Publication Date Title
CN109688335A (en) Control method and device, the unlocking method and a device of terminal, mobile phone of camera
CN108288044B (en) Electronic device, face recognition method and related product
CN110458062A (en) Face identification method and device, electronic equipment and storage medium
CN105245775B (en) camera imaging method, mobile terminal and device
CN105139470B (en) Work attendance method, apparatus and system based on recognition of face
CN103024165B (en) Method and device for automatically setting shooting mode
US7248300B1 (en) Camera and method of photographing good image
WO2016176989A1 (en) Image exposure method and image exposure system of mobile terminals based on eyeprint recognition
CN109427124A (en) A kind of binocular camera recognition of face access control equipment and its control method
EP1703442A1 (en) Object identifying device, mobile phone, object identifying method, program executable on computer for operating the object identifying device and computer-readable medium including the program
US20100272328A1 (en) Face authentication system and authentication method thereof
CN104869322A (en) Eyeprint identification based mobile terminal camera self-adaptation adjustment method and system
CN109993863A (en) A kind of access control system and its control method based on recognition of face
US20160283770A1 (en) Non-contact palmprint authentication method, device and mobile terminal
TWI752105B (en) Feature image acquisition method, acquisition device, and user authentication method
CN105472170A (en) Display screen brightness adjusting method, and mobile terminal
CN110287672A (en) Verification method and device, electronic equipment and storage medium
US20150143538A1 (en) Portable Eye-Controlled Device, Verification Device and Method, Computer Readable Recording Medium and Computer Program Product
CN105809139A (en) Acquisition method and device of eyeball information
CN109639991A (en) A kind of photographic method, device, terminal and storage medium
CN107294915A (en) Image-pickup method, system and terminal
CN110225258A (en) Data processing method, device, computer readable storage medium and electronic equipment
CN108446654A (en) A kind of face recognition method based on image
KR101588225B1 (en) Iris data Registration and Authentication device and the method in the camera of a mobile
CN105282444A (en) Specific area capturing method for intelligent cat eye and intelligent cat eye

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

Application publication date: 20190426

RJ01 Rejection of invention patent application after publication