WO2019196075A1 - 电子设备及其面部识别方法 - Google Patents

电子设备及其面部识别方法 Download PDF

Info

Publication number
WO2019196075A1
WO2019196075A1 PCT/CN2018/082894 CN2018082894W WO2019196075A1 WO 2019196075 A1 WO2019196075 A1 WO 2019196075A1 CN 2018082894 W CN2018082894 W CN 2018082894W WO 2019196075 A1 WO2019196075 A1 WO 2019196075A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
screen
state
facial
facial recognition
Prior art date
Application number
PCT/CN2018/082894
Other languages
English (en)
French (fr)
Inventor
田浦延
Original Assignee
深圳阜时科技有限公司
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 深圳阜时科技有限公司 filed Critical 深圳阜时科技有限公司
Priority to PCT/CN2018/082894 priority Critical patent/WO2019196075A1/zh
Priority to CN201880000324.1A priority patent/CN108496173A/zh
Publication of WO2019196075A1 publication Critical patent/WO2019196075A1/zh

Links

Images

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation
    • G06V40/166Detection; Localisation; Normalisation using acquisition arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/168Feature extraction; Face representation
    • G06V40/171Local features and components; Facial parts ; Occluding parts, e.g. glasses; Geometrical relationships
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/172Classification, e.g. identification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2141Access rights, e.g. capability lists, access control lists, access tables, access matrices

Definitions

  • the application relates to an electronic device and a face recognition method thereof.
  • buttons and fingerprint recognition modules cannot be set because the space is limited. Since the fingerprint recognition module cannot be set, in order to realize the identification, the industry has proposed to use the front camera on the front of the mobile phone to obtain facial information and perform facial recognition.
  • embodiments of the present application aim to at least solve one of the technical problems existing in the prior art. To this end, embodiments of the present application need to provide an electronic device and a face recognition method thereof.
  • the present application provides a facial recognition method for an electronic device, including the following steps:
  • control electronic device when the current ambient light intensity is greater than or equal to a preset threshold, the control electronic device performs front fill light
  • S4 Match the collected facial image with a preset facial image template to determine whether the identity of the object in front is legal.
  • the electronic device when facial recognition is required, if the object is in a backlight environment, the electronic device is controlled to fill light, so that the electronic device can collect a clear facial image, improve the facial recognition effect, and improve the user experience.
  • the predetermined threshold is a light intensity threshold for the object to be in a backlighting environment.
  • the fill light in step S2 is performed simultaneously with the acquisition of the facial image in step S3.
  • step S2 when the current ambient light intensity is greater than or equal to a preset threshold, the fill light device on the front side of the control electronic device is turned on to perform front fill light.
  • one or more of the brightness, color temperature, and color of the fill light device are further adjusted when the fill light device on the front of the control electronics is turned on.
  • the fill light device on the front side of the electronic device is located at the top of the front of the electronic device.
  • the step S1 further includes: determining a current working state of the electronic device; determining whether face recognition is required according to the current working state of the electronic device.
  • the current working state of the electronic device includes a state of the screen, a bright screen unlocked state, and a bright screen unlocked state; and determining, according to the current working state of the electronic device, whether facial recognition is required:
  • the screen wake-up operation includes: picking up the electronic device, touching the display of the electronic device, approaching the front preset range of the electronic device, and pressing one or more of the electronic device function buttons.
  • the embodiment of the present application provides an electronic device, including an image sensor, a fill light device, an ambient light sensor, and a processor.
  • the processor is configured to: when the electronic device needs to perform face recognition, determine that the ambient light sensor is collected. Whether the current ambient light intensity is greater than or equal to a preset threshold; when the current ambient light intensity is greater than or equal to a preset threshold, controlling the fill light device to perform front fill light; when the current ambient light intensity is less than a preset threshold, the control center
  • the image sensor collects a facial image of an object in front of the electronic device; and matches the acquired facial image with a preset facial image template to determine whether the identity of the object in front is legal.
  • the electronic device when facial recognition is required, if the object is in a backlight environment, the electronic device is controlled to fill light, so that the electronic device can collect a clear facial image, improve the facial recognition effect, and improve the user experience.
  • the predetermined threshold is a light intensity threshold for the object to be in a backlighting environment.
  • the processor is further configured to directly control the image sensor to acquire a facial image of an object in front of the electronic device when the current ambient light intensity is less than a preset threshold.
  • the image sensor is located at a front end of the electronic device.
  • the fill light device is located at the top end of the electronic device.
  • the fill light device is a flexible light.
  • one or more of the brightness, color temperature, and color of the fill light device are further adjusted when the fill light device is turned on.
  • the processor controls the fill light device to operate simultaneously with the image sensor when the current ambient light intensity is greater than or equal to a predetermined threshold.
  • the processor is further configured to: determine a current working state of the electronic device, and determine whether face recognition is required according to a current working state of the electronic device.
  • the current working state of the electronic device includes a screen state, a bright screen unlocked state, and a bright screen unlocked state; the processor is further configured to:
  • the screen wake-up operation includes: picking up the electronic device, touching the display of the electronic device, approaching the front preset range of the electronic device, and pressing one or more of the electronic device function buttons.
  • FIG. 1 is a schematic flow chart of a face recognition method according to a first embodiment of the present application
  • FIG. 2 is a schematic flow chart of a face recognition method according to a second embodiment of the present application.
  • FIG. 3 is a schematic diagram of functional modules of a mobile terminal according to an embodiment of the present application.
  • first and second are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, features defining “first” or “second” may include one or more of the described features either explicitly or implicitly. In the description of the present application, the meaning of “a plurality” is two or more unless specifically and specifically defined otherwise.
  • Contact or “touch” includes direct or indirect contact.
  • connection In the description of the present application, it should be noted that the terms “installation”, “connected”, and “connected” are to be understood broadly, and may be fixed or detachable, for example, unless otherwise specifically defined and defined. Connected, or integrally connected; may be mechanically connected, or may be electrically connected or may communicate with each other; may be directly connected or indirectly connected through an intermediate medium, may be internal communication of two elements or interaction of two elements relationship.
  • Connected, or integrally connected may be mechanically connected, or may be electrically connected or may communicate with each other; may be directly connected or indirectly connected through an intermediate medium, may be internal communication of two elements or interaction of two elements relationship.
  • the specific meanings of the above terms in the present application can be understood on a case-by-case basis.
  • the facial recognition method refers to collecting facial information of an object through a camera, and matching the collected facial information with the registered facial template. If the matching is successful, the identity of the object is determined to be legal, and if the matching fails, the identity of the object is determined to be illegal.
  • the objects herein include, for example, human bodies or other living organisms.
  • the face information includes, for example, 2D image information or 3D image information.
  • facial recognition is performed based on 2D image information, it can be realized by using an existing camera, and it is not necessary to additionally provide an imaging device.
  • the quality of the facial image collected by the camera is poor, thereby affecting the facial recognition effect, for example, the collected facial image is relatively blurred, which requires a long recognition process, and even cannot realize facial recognition. . In this way, the user experience is also poor.
  • FIG. 1 is a schematic flow chart of a face recognition method according to a first embodiment of the present application.
  • the face recognition method includes the following steps:
  • step S1 when the electronic device needs to perform facial recognition, determine whether the current ambient light intensity is greater than or equal to a preset threshold; when it is determined that the current ambient light intensity is greater than or equal to a preset threshold, step S2 is performed, and when the current environment is determined When the light intensity is less than the preset threshold, step S3 is performed;
  • the facial recognition method operates on an electronic device.
  • the electronic device is, for example, but not limited to, a suitable type of electronic product such as a consumer electronic product, a home-based electronic product, a vehicle-mounted electronic product, or a financial terminal product.
  • consumer electronic products such as mobile phones, tablets, notebook computers, desktop monitors, computer integrated machines.
  • Home-based electronic products such as smart door locks, TVs, refrigerators, wearable devices, etc.
  • Vehicle-mounted electronic products such as car navigation systems, car DVDs, etc.
  • Financial terminal products such as ATM machines, terminals for self-service business, etc.
  • the front side of the electronic device is provided with a corresponding sensing device, such as an ambient light sensor, for collecting the light intensity of the surrounding environment of the electronic device when the electronic device needs facial recognition.
  • a sensing device such as an ambient light sensor
  • the collected light intensity is strong; when the surrounding environment of the electronic device is dark, the collected light intensity is weak.
  • the illumination intensity of the surrounding environment of the electronic device can also be collected by other sensing devices, such as a camera disposed on the front of the electronic device.
  • the preset threshold is used to determine whether to perform the front light supplement of the electronic device, and the preset threshold is a light intensity critical value of the object in a backlight environment.
  • the backlight environment here refers to the situation when the object is facing away from the light source. At this time, the light signal reflected from the object surface is very weak, and the light signal collected by the image sensor is almost all the light signal emitted by the light source, so the clear facial image cannot be collected. Therefore, it is impossible to pass facial recognition. It should be noted that a clear face image refers to a face image that can accurately realize face recognition.
  • the ambient light intensity is less than the preset threshold, it indicates that the electronic device can collect a clear facial image in the current environment to implement facial recognition; if the ambient light intensity is greater than or equal to a preset threshold, it indicates that the electronic device is Facial images cannot be captured in the current environment, causing facial recognition to fail.
  • control electronic device when the current ambient light intensity is greater than or equal to a preset threshold, the control electronic device performs front fill light
  • the control electronic device When the current ambient light intensity is collected, and the current ambient light intensity is greater than or equal to a preset threshold, the control electronic device performs front fill light, so that enough light signals are irradiated onto the object, thereby acquiring a clear facial image. To achieve facial recognition.
  • the image sensor on the front side of the electronic device is, for example, a CCD or a CMOS image sensor, and the front image of the front object can be acquired by using the front camera provided on the front side of the existing electronic device.
  • S4 Match the collected facial image with a preset facial image template to determine whether the identity of the object in front is legal.
  • Image matching for example, adopts facial feature extraction, first extracts corresponding facial features, such as eyes, nose, eyebrows, lips, chin, etc. from the 2D image, and then extracts the extracted facial features and corresponding faces in the 2D image template. The features are compared. If the comparison is consistent, the matching is successful, and the identity of the object in front is legal. If the comparison is inconsistent, the matching fails, and the identity of the object in front is invalid.
  • the electronic device when facial recognition is required, if the object is in a backlight environment, the electronic device is controlled to fill light, so that the electronic device can collect a clear facial image, improve the facial recognition effect, and improve the user experience.
  • the above steps S2 and S3 are performed simultaneously, that is, while the control electronic device performs front fill light, the image sensor on the front side of the electronic device is controlled to collect the facial image. It should be noted that, at the same time, it does not require strict consistency in time, but also has a sequence of time. It's just that the time difference is short, basically negligible, giving people the feeling that the two are at the same time.
  • step S2 further includes: controlling the fill light device on the front side of the electronic device to be turned on when the current ambient light intensity is greater than or equal to the preset threshold. Further, one or more parameters of the brightness, color temperature or color of the light-filling device are also adjusted while controlling the light-filling device on the front side of the electronic device.
  • the fill light device on the front side of the electronic device is located at the top of the front of the electronic device, such as a soft light.
  • the fill light device comprises, for example, a plurality of LEDs or other light emitting elements.
  • the brightness, color and color temperature of the light-emitting element can be controlled as needed.
  • the light signal emitted by the light-filling device is softened, so that when the facial image is collected, the user does not feel too glaring and improves. user experience. It can be understood that the specific values of the foregoing parameters are not limited, and can be flexibly selected according to actual use conditions.
  • FIG. 2 is a schematic flowchart of a face recognition method according to a second embodiment of the present application.
  • the method further includes:
  • Step S5 determining a current working state of the electronic device
  • the current working state is divided according to the display state of the display screen, for example, including the state of the information screen, the unlit state of the bright screen, and the unlocked state of the bright screen.
  • the state of the information screen means that the display screen is not lit and is in an extinguished state.
  • the unlit state of the bright screen means that the display is lit, but the unlocked interface is displayed on the display. In this state, the electronic device is not unlocked and cannot enter the running page of the electronic device.
  • the unlocked state of the bright screen means that the display is lit and the corresponding interface is displayed according to the specific operation. In this state, the electronic device has been unlocked, and the user can use the electronic device normally.
  • Step S6 Determine whether face recognition is required according to the current working state of the electronic device.
  • the user may use the electronic device at any time, so in order to quickly respond to the user's operation, some sensors on the electronic device are still in operation to monitor the electronic device.
  • Some sensors on the electronic device are still in operation to monitor the electronic device.
  • touch sensors, gravity sensors, distance sensors, and the like For example, touch sensors, gravity sensors, distance sensors, and the like.
  • the screen wake-up operation includes picking up one or more of an electronic device, a display screen of the touch electronic device, a preset range of the object near the front of the device, and a function button for pressing the electronic device. It can be understood that the screen wake-up operation of the electronic device can be flexibly set according to the needs of the user.
  • the touch sensor of the control electronic device when the electronic device is in the interest screen state, the touch sensor of the control electronic device performs touch detection, and touch action on the display screen (eg, normal touch operation, pressing operation, sliding operation) Test and respond.
  • the touch sensor When the electronic device is in the interest screen state, the touch sensor will perform touch detection at the first scanning frequency (lower power consumption state).
  • the touch sensor When it is detected that the object touches the display screen, it is determined that face recognition is required.
  • the touch sensor When the electronic device is in the unscreened state of the bright screen or the unlocked state of the bright screen, the touch sensor performs touch detection at the second scanning frequency (higher power consumption state or normal power consumption state), thereby reducing the state of the electronic device Power consumption.
  • the first scanning frequency is less than the second scanning frequency.
  • the touch sensor can also be touch-detected in a normal power consumption state.
  • the user may use the electronic device at any time in this case, so it is determined that face recognition is required, and the process proceeds to step S1.
  • the electronic device When the electronic device is in the bright-screen unlocked state, it is further determined whether there is currently an authentication request initiated by the application to the operating system, for example, the payment application initiates an authentication request for mobile payment. If there is an authentication request, it is determined that face recognition is required, and the process proceeds to step S1, otherwise the electronic device performs a normal operation.
  • the method further comprises: after the face recognition is successful, controlling the electronic device to perform a corresponding operation. For example, controlling electronic device unlocking, performing payment transaction operations, and the like.
  • FIG. 3 is a schematic diagram of functional modules of a mobile terminal according to an embodiment of the present application.
  • the mobile terminal 100 includes an image sensor 101, a fill light device 102, an ambient light sensor 103, a processor 104, and a memory 105.
  • the ambient light sensor 103 is disposed on the front side of the mobile terminal 100 for collecting the light intensity of the environment surrounding the mobile terminal 100.
  • the image sensor 101 is disposed on the front side of the mobile terminal 100 and is configured to collect a facial image of an object in front of the mobile terminal 100.
  • the fill light device 102 is used to fill light when the environment around the mobile terminal 100 is dark to facilitate image acquisition by the image sensor 101.
  • the processor 104 is configured to determine whether the current ambient light intensity is greater than or equal to a preset threshold when the mobile terminal 100 needs to perform facial recognition; and when the current ambient light intensity is greater than or equal to the preset threshold, the mobile terminal 100 is controlled to perform front fill light; When the current ambient light intensity is less than the preset threshold, the image sensor on the front side of the mobile terminal 100 is controlled to collect the facial image of the object in front of the mobile terminal 100; the collected facial image is matched with the preset facial image template to determine the front object. Is the identity legal?
  • one or more component structures may be combined or omitted, for example, the processor 104 and the memory 105 are integrated into a control chip or the like.
  • the mobile terminal 100 can include other components (eg, communication circuitry, power supplies, buses, microphones, cameras, etc.) that are not combined or included in the components shown in FIG. Moreover, for the sake of brevity, only some of the components of the mobile terminal are shown in FIG.
  • the image sensor 101 is disposed on the front side of the mobile terminal 100, and is, for example, a CCD or a CMOS image sensor.
  • the image sensor 101 does not need to be additionally provided.
  • the front camera can be used to collect the facial image.
  • the processor 104 is for including any processing circuitry that is provided to control the operation and performance of the mobile terminal 100.
  • the processor 104 is used to run an operating system, an app, a media playback application, or any other application software, and is used to handle interactions with a user, and the like.
  • the processor 104 is, for example, a control IC in which the processing circuits are integrated, or a processor cluster including distributed processing circuits, for example, a central processing unit CPU for centrally controlling the components of the mobile terminal 100, for moving An image processing GPU that is graphically processed in the terminal 100.
  • processors such as a coprocessor for monitoring the detection results of the sensors of the mobile terminal 100, a baseband processor for communication of the mobile terminal 100, and a face recognition for the face recognition of the mobile terminal 100, may also be provided. Processor and so on.
  • Memory 105 includes one or more computer storage media including hard disks, floppy disks, Flash, ROM, RAM, and any other suitable type of storage component or any combination thereof.
  • the memory 105 is used to store any program code files available to the processor 104, such as an operating system, application software, and functional modules, to name a few.
  • the memory 105 is also used to store processing data processed by the processor 104 and processing results such as application data, user operation information, user setting information, multimedia data, and the like. It will be appreciated that the memory 105 can be provided separately or integrated with the processor 104.
  • the computer storage medium in the memory 105 stores a plurality of program code files for the processor 104 to call to perform the unlock control method described in the foregoing embodiment, thereby implementing the unlock control of the mobile terminal 100 in the screen state. .
  • the mobile terminal 100 when the face recognition is required, if the object is in a backlight environment, the mobile terminal 100 is controlled to fill light, so that the mobile terminal 100 can collect a clear facial image, improve the facial recognition effect, and improve the user experience. .
  • the fill light device 102 is located at the front end of the mobile terminal 100, such as a soft light.
  • the fill light device 102 includes, for example, a plurality of LEDs or other light emitting elements.
  • the light-filling parameters such as brightness, color, and color temperature of the light-emitting element can be controlled as needed.
  • the processor 104 is configured to further adjust one or more parameters of the brightness, color temperature, and color of the light-filling device 102 when the light-filling device 102 is turned on.
  • the processor 104 is further configured to: determine a current working state of the mobile terminal 100, and determine whether face recognition is required according to the current working state of the mobile terminal 100.
  • the current working state is divided according to the display state of the display screen, for example, including the state of the information screen, the unlit state of the bright screen, and the unlocked state of the bright screen.
  • the state of the information screen means that the display screen is not lit and is in an extinguished state.
  • the unlit state of the bright screen means that the display is lit, but the unlocked interface is displayed on the display. In this state, the mobile terminal 100 is not unlocked and cannot enter the main page of the mobile terminal 100.
  • the unlocked state of the bright screen means that the display is lit and the corresponding interface is displayed according to the specific operation. In this state, the mobile terminal 100 has been unlocked, and the user can use the mobile terminal 100 normally.
  • the user may use the mobile terminal 100 at any time, so in order to quickly respond to the user's operation, some sensors on the mobile terminal 100 are still in operation to monitor
  • the use condition of the mobile terminal 100 determines whether there is a screen wake-up operation.
  • touch sensors, gravity sensors, distance sensors, and the like For example, touch sensors, gravity sensors, distance sensors, and the like.
  • the screen wake-up operation includes picking up the mobile terminal 100, touching the display screen of the mobile terminal 100, the object approaching the front preset range of the device, and pressing one or more of the function keys of the mobile terminal 100. It can be understood that the screen wake-up operation of the mobile terminal 100 can be flexibly set according to the needs of the user.
  • the touch sensor 108 of the mobile terminal 100 when the mobile terminal 100 is in the interest screen state, the touch sensor 108 of the mobile terminal 100 is controlled to perform touch detection on a touch surface (for example, Normal touch operation, pressing operation, and sliding operation) detect and respond.
  • a touch surface for example, Normal touch operation, pressing operation, and sliding operation
  • the touch sensor 108 will perform touch detection at the first scanning frequency (lower power consumption state).
  • the touch sensor 108 performs touch detection at the second scanning frequency (higher power consumption state or normal power consumption state), thereby reducing the mobile terminal 100's screen. Power consumption in state. Wherein the first scanning frequency is less than the second scanning frequency.
  • the touch sensor 108 can also be touch-detected in a normal power consumption state at all times.
  • the user may use the mobile terminal 100 at any time in this case, thus determining that face recognition is required.
  • the mobile terminal 100 When the mobile terminal 100 is in the bright-screen unlocked state, it is further determined whether there is currently an authentication request initiated by the application to the operating system, for example, the payment application initiates an authentication request for mobile payment. If there is an authentication request, it is determined that face recognition is required, otherwise the mobile terminal 100 performs a normal operation.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Collating Specific Patterns (AREA)
  • Telephone Function (AREA)

Abstract

本申请公开了一种电子设备及其面部识别方法,该面部识别方法包括:S1,当电子设备需要进行面部识别时,判断当前环境光强度是否大于或等于预设阈值;S2,当当前环境光强度大于或等于预设阈值时,控制电子设备进行正面补光;S3,当当前环境光强度小于预设阈值时,控制电子设备正面的图像传感器,采集电子设备前方物体的面部图像;S4,将所采集的面部图像与预设的面部图像模板进行匹配,以确定前方物体的身份是否合法。该电子设备运行上述面部识别方法。

Description

电子设备及其面部识别方法 技术领域
本申请涉及一种电子设备及其面部识别方法。
背景技术
随着智能手机的全面屏发展趋势,手机正面的屏占比越来越高,因此手机正面因为空间位置受限无法再设置其他组件,例如按键,指纹识别模组等。由于无法设置指纹识别模组,为了实现身份识别,业界提出了采用手机正面的前置摄像头获取面部信息,并进行面部识别。
但是现有的面部识别技术的识别效果还需要提高。
申请内容
本申请实施方式旨在至少解决现有技术中存在的技术问题之一。为此,本申请实施方式需要提供一种电子设备及其面部识别方法。
本申请提供一种电子设备的面部识别方法,包括以下步骤:
S1,当电子设备需要进行面部识别时,判断当前环境光强度是否大于或等于预设阈值;
S2,当当前环境光强度大于或等于预设阈值时,控制电子设备进行正面补光;
S3,当当前环境光强度小于预设阈值时,控制电子设备正面的图像传感器,采集电子设备前方物体的面部图像;
S4,将所采集的面部图像与预设的面部图像模板进行匹配,以确定前方物体的身份是否合法。
本申请实施方式中,在需要进行面部识别时,若物体处于逆光环境下,则控制电子设备进行补光,从而使得电子设备能采集到清晰的面部图像,提高面部识别效果,提升用户体验。
在某些实施方式中,所述预设阈值为物体处于逆光环境下的光强临界值。
在某些实施方式中,所述步骤S2中补光与步骤S3中面部图像的采集同时进行。
在某些实施方式中,在所述步骤S2中:当当前环境光强度大于或等于预设阈值时, 控制电子设备正面的补光装置开启,以进行正面补光。
在某些实施方式中,当控制电子设备正面的补光装置开启时,进一步调整补光装置的亮度、色温和颜色中的一个或几个参数。
在某些实施方式中,所述电子设备正面的补光装置位于电子设备正面顶端。
在某些实施方式中,所述步骤S1之前进一步包括:判断电子设备的当前工作状态;根据电子设备的当前工作状态,确定是否需要进行面部识别。
在某些实施方式中,所述电子设备的当前工作状态包括息屏状态、亮屏未解锁状态、亮屏已解锁状态;所述根据电子设备的当前工作状态,确定是否需要进行面部识别包括:
当电子设备处于息屏状态时,判断是否有屏幕唤醒操作;当确定有屏幕唤醒操作时,确定需要进行面部识别;
当电子设备处于亮屏未解锁状态时,确定需要进行面部识别;
当电子设备处于亮屏已解锁状态时,判断当前是否存在应用程序发起的身份验证请求,若存在身份验证请求,确定需要进行面部识别。
在某些实施方式中,所述屏幕唤醒操作包括:拿起电子设备、触摸电子设备的显示屏、物体靠近电子设备正面预设范围、按压电子设备功能按键中的一种或几种。
本申请实施方式提供了一种电子设备,包括图像传感器、补光装置、环境光传感器、以及处理器;所述处理器用于:在电子设备需要进行面部识别时,判断所述环境光传感器采集到的当前环境光强度是否大于或等于预设阈值;当当前环境光强度大于或等于预设阈值时,控制所述补光装置进行正面补光;当当前环境光强度小于预设阈值时,控制所述图像传感器采集电子设备前方物体的面部图像;将所采集到的面部图像与预设的面部图像模板进行匹配,以确定前方物体的身份是否合法。
本申请实施方式中,在需要进行面部识别时,若物体处于逆光环境下时,则控制电子设备进行补光,从而使得电子设备能采集到清晰的面部图像,提高面部识别效果,提升用户体验。
在某些实施方式中,所述预设阈值为物体处于逆光环境下的光强临界值。
在某些实施方式中,所述处理器进一步用于:当当前环境光强度小于预设阈值时,直接控制所述图像传感器采集电子设备前方物体的面部图像。
在某些实施方式中,所述图像传感器位于所述电子设备的正面顶端。
在某些实施方式中,所述补光装置位于电子设备正面顶端。
在某些实施方式中,所述补光装置为柔性灯。
在某些实施方式中,在控制所述补光装置开启时,进一步调整补光装置的亮度、色温和颜色中的一个或几个参数。
在某些实施方式中,当当前环境光强度大于或等于预设阈值时,所述处理器控制所述补光装置与所述图像传感器同时工作。
在某些实施方式中,所述处理器进一步用于:判断电子设备的当前工作状态,根据电子设备的当前工作状态,确定是否需要进行面部识别。
在某些实施方式中,所述电子设备的当前工作状态包括息屏状态、亮屏未解锁状态、亮屏已解锁状态;所述处理器进一步用于:
当电子设备处于息屏状态时,判断是否有屏幕唤醒操作;当判断有屏幕唤醒操作时,确定需要进行面部识别;
当电子设备处于亮屏未解锁状态时,确定需要进行面部识别;
当电子设备处于亮屏已解锁状态时,判断当前是否存在应用程序发起的身份验证请求,若存在身份验证请求,确定需要进行面部识别。
在某些实施方式中,所述屏幕唤醒操作包括:拿起电子设备、触摸电子设备的显示屏、物体靠近电子设备正面预设范围、按压电子设备功能按键中的一种或几种。
本申请实施方式的附加方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本申请实施方式的实践了解到。
附图说明
本申请实施方式的上述和/或附加的方面和优点从结合下面附图对实施方式的描述中将变得明显和容易理解,其中:
图1是本申请第一实施方式的面部识别方法的流程示意图;
图2是本申请第二实施方式的面部识别方法的流程示意图;
图3是本申请一实施方式的移动终端的功能模块示意图。
具体实施方式
下面详细描述本申请的实施方式,所述实施方式的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施方式是示例性的,仅用于解释本申请,而不能理解为对本申请的限制。
在本申请的描述中,需要理解的是,术语“第一”、“第二”仅用于描述目的,而不能 理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个所述特征。在本申请的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。“接触”或“触摸”包括直接接触或间接接触。
在本申请的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接或可以相互通信;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通或两个元件的相互作用关系。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本申请中的具体含义。
下文的公开提供了许多不同的实施方式或例子用来实现本申请的不同结构。为了简化本申请的公开,下文中对特定例子的部件和设定进行描述。当然,它们仅仅为示例,并且目的不在于限制本申请。此外,本申请可以在不同例子中重复参考数字和/或参考字母,这种重复是为了简化和清楚的目的,其本身不指示所讨论各种实施方式和/或设定之间的关系。此外,本申请提供了的各种特定的工艺和材料的例子,但是本领域普通技术人员可以意识到其他工艺的应用和/或其他材料的使用。
进一步地,所描述的特征、结构可以以任何合适的方式结合在一个或更多实施方式中。在下面的描述中,提供许多具体细节从而给出对本申请的实施方式的充分理解。然而,本领域技术人员应意识到,没有所述特定细节中的一个或更多,或者采用其它的结构、组元等,也可以实践本申请的技术方案。在其它情况下,不详细示出或描述公知结构或者操作以避免模糊本申请。
面部识别方法是指通过摄像头采集物体的面部信息,并将采集到的面部信息与注册的面部模板进行匹配,匹配成功则确定物体的身份合法,匹配失败则确定物体的身份非法。
这里的物体例如包括人体或其他的生物体。面部信息例如包括2D图像信息或3D图像信息。基于2D图像信息进行面部识别时,利用现有的摄像头即可实现,不需要额外设置摄像装置。然而,当该物体处于逆光环境时,该摄像头采集到的面部图像的质量较差,从而影响面部识别效果,例如因采集到的面部图像较模糊而需要较长的识别过程,甚至无法实现面部识别。如此,还造成用户体验较差。
请参照图1,图1是本申请第一实施方式的面部识别方法的流程示意图。该面部识别方法包括以下步骤:
S1,当电子设备需要进行面部识别时,判断当前环境光强度是否大于或等于预设阈值;当判断得知当前环境光强度大于或等于预设阈值时,执行步骤S2,当判断得知当前环境光强度小于预设阈值时,执行步骤S3;
该面部识别方法运行于一电子设备。该电子设备例如但不局限为消费性电子产品、家居式电子产品、车载式电子产品、金融终端产品等合适类型的电子产品。其中,消费性电子产品如为手机、平板电脑、笔记本电脑、桌面显示器、电脑一体机等。家居式电子产品如为智能门锁、电视、冰箱、穿戴式设备等。车载式电子产品如为车载导航仪、车载DVD等。金融终端产品如为ATM机、自助办理业务的终端等。
电子设备正面设有相应的传感设备,例如环境光传感器,用于在电子设备需要进行面部识别时,采集电子设备的周围环境的光照强度。当电子设备的周围环境较亮时,采集到的光照强度则较强;当电子设备的周围环境较暗时,采集到的光照强度则较弱。当然,该电子设备的周围环境的光照强度还可以采用其他的传感设备进行采集,例如电子设备正面设置的摄像头。
本申请实施例中,通过预设阈值来判断是否进行电子设备的正面补光,该预设阈值为物体处于逆光环境下的光强临界值。这里的逆光环境是指物体背对光源时的情况,此时物体面部反射回来的光信号非常弱,图像传感器采集到的光信号几乎都是光源发出的光信号,因此无法采集到清晰的面部图像,从而无法通过面部识别。需要说明的是,清晰的面部图像是指能准确实现面部识别时的面部图像。具体地,若环境光强度小于该预设阈值,则表示电子设备在当前环境下能采集到清晰的面部图像,以实现面部识别;若环境光强度大于或等于预设阈值,则表示电子设备在当前环境下无法采集到清晰的面部图像,造成面部识别失败。
S2,当当前环境光强度大于或等于预设阈值时,控制电子设备进行正面补光;
当采集到当前环境光强度,且该当前环境光强度大于或等于预设阈值时,控制电子设备进行正面补光,从而使得足够多的光信号照射至物体上,进而采集到清晰的面部图像,以实现面部识别。
S3,当当前环境光强度小于预设阈值时,控制电子设备正面的图像传感器,采集电子设备前方物体的面部图像;
电子设备正面的图像传感器例如为CCD、CMOS图像传感器,利用现有电子设备正面设置的前置摄像头即可实现前方物体的面部图像的采集。
S4,将所采集的面部图像与预设的面部图像模板进行匹配,以确定前方物体的身份 是否合法。
电子设备在使用之前,使用者需要进行面部信息注册,形成面部模板,并存储,以用于面部识别时2D图像的匹配。图像匹配例如采用面部特征提取的方式,先从2D图像中提取相应的面部特征,例如眼睛、鼻子、眉毛、嘴唇、下颚等等,然后将该提取到的面部特征与2D图像模板中的相应面部特征进行比对,若比对一致则匹配成功,确认前方物体的身份合法;若比对不一致则匹配失败,确认前方物体的身份不合法。
本申请实施方式中,在需要进行面部识别时,若物体处于逆光环境下,则控制电子设备进行补光,从而使得电子设备能采集到清晰的面部图像,提高面部识别效果,提升用户体验。
在某些实施方式中,上述步骤S2与步骤S3将同时进行,即控制电子设备进行正面补光的同时,控制电子设备正面的图像传感器进行面部图像的采集。需要说明的是,这里说的同时,并不要求时间上的严格一致,也可以有时间上的先后顺序。只是时间相差较短,基本可以忽略不计,给人们的感觉上两者是同时进行。
在某些实施方式中,步骤S2进一步包括:当当前环境光强度大于或等于预设阈值时,控制电子设备正面的补光装置开启。进一步地,在控制电子设备正面的补光装置开启的同时,还调节补光装置的亮度、色温或者颜色中的一个或几个参数。
在某些实施方式中,上述电子设备正面的补光装置位于电子设备正面顶端,例如柔光灯。
进一步地,补光装置例如包括多个LED或其他发光元件。而且该发光元件的亮度、颜色以及色温可以根据需要进行控制。本实施方式中,通过控制LED的亮度、颜色以及色温中的一个或几个参数,使得补光装置发出的光信号更加柔和,从而在进行面部图像采集时,用户不至于感觉太刺眼,提升了用户体验。可以理解的是,前述参数的具体取值不做限定,可根据实际使用情况而灵活选取。
进一步地,参照图2,图2是本申请第二实施方式的面部识别方法的流程示意图。该电子设备的面部识别方法中,在上述步骤S1之前还包括:
步骤S5,判断电子设备的当前工作状态;
当前工作状态按照显示屏的显示状态来分,例如包括息屏状态、亮屏未解锁状态、亮屏已解锁状态三种。其中息屏状态是指显示屏未被点亮而处于熄灭状态。亮屏未解锁状态是指显示屏被点亮,但显示屏上显示未解锁界面。该状态下,电子设备未被解锁,无法进入电子设备的运行页面。亮屏已解锁状态是指显示屏被点亮,并根据具体的操作 显示相应的界面。该状态下电子设备已经解锁,使用者可以正常使用该电子设备。
步骤S6,根据电子设备的当前工作状态,确定是否需要进行面部识别。
具体地,当电子设备处于息屏状态时,使用者随时可能会使用该电子设备,因此为了能快速响应使用者的操作,该电子设备上的某些传感器仍然处于工作状态,以监测电子设备的使用情况,判断是否存在屏幕唤醒操作。例如,触摸传感器、重力传感器、距离传感器等等。屏幕唤醒操作包括拿起电子设备、触摸电子设备的显示屏、物体靠近设备正面预设范围、按压电子设备的功能按键中的一种或几种。可以理解的是,该电子设备的屏幕唤醒操作可根据使用者的需要而灵活设置。
以触摸传感器为例,本申请实施方式中,在电子设备处于息屏状态时,控制电子设备的触摸传感器执行触摸检测,对显示屏上的触摸动作(例如普通触摸操作、按压操作、滑动操作)进行检测及响应。当电子设备处于息屏状态时,该触摸传感器将以第一扫描频率(较低功耗状态)进行触摸检测。当检测到物体触摸显示屏,则确定需要进行面部识别。当电子设备处于亮屏未解锁状态或亮屏已解锁状态时,触摸传感器再以第二扫描频率(较高功耗状态或正常功耗状态)进行触摸检测,从而降低电子设备息屏状态时的功耗。其中第一扫描频率小于第二扫描频率。当然,可变更地,该触摸传感器也可以一直以正常功耗状态进行触摸检测。
当电子设备处于亮屏未解锁状态时,这种情况下使用者随时可能使用该电子设备,因此确定需要进行面部识别,并进入步骤S1。
当电子设备处于亮屏已解锁状态时,则要进一步判断当前是否存在应用程序向操作系统发起的身份验证请求,例如支付应用程序发起用于移动支付的身份验证请求。若存在身份验证请求,则确定需要进行面部识别,并进入步骤S1,否则电子设备进行正常的操作。
在某些实施方式中,上述步骤S4之后进一步包括:当面部识别成功后,控制所述电子设备进行相应的操作。例如控制电子设备解锁、进行支付交易操作等等。
对应地,本申请一实施方式提出一种用以执行上述实施方式的方法的电子设备。该电子设备以移动终端为例,参照图3,图3是本申请一实施方式的移动终端的功能模块示意图。该移动终端100包括图像传感器101、补光装置102、环境光传感器103以及处理器104、存储器105。环境光传感器103设置于移动终端100正面,用于采集移动终端100周围环境的光照强度。图像传感器101设置于移动终端100正面,用于采集移动终端100前方物体的面部图像。补光装置102用于在移动终端100周围环境较暗时进 行补光,以便于图像传感器101的图像采集。处理器104用于在移动终端100需要进行面部识别时,判断当前环境光强度是否大于或等于预设阈值;当当前环境光强度大于或等于预设阈值时,控制移动终端100进行正面补光;当当前环境光强度小于预设阈值时,控制移动终端100正面的图像传感器,采集移动终端100前方物体的面部图像;将所采集的面部图像与预设的面部图像模板进行匹配,以确定前方物体的身份是否合法。
需要说明的是,在一些实施方式中,可以组合或省略一个或多个部件结构,例如处理器104与存储器105集成为一控制芯片等等。另外,该移动终端100可以包括未组合或未包括在图3中所示部件中的其他部件(例如,通信电路、电源、总线、麦克风、摄像头等等)。而且,为了简洁,图3中仅示出了移动终端的部分部件。
具体地,图像传感器101设置于移动终端100正面,例如为CCD、CMOS图像传感器。该图像传感器101不需要额外设置,例如现有移动终端100正面设置前置摄像头时,则可以利用该前置摄像头进行面部图像的采集。当然,也可以根据拍摄需求设置对应拍摄参数的图像传感器,专用于面部识别时进行面部图像的采集。
处理器104用于包括为控制移动终端100的操作和性能而设置的任何处理电路。该处理器104被用于运行操作系统、app应用、媒体播放应用,或者任何其他应用软件,以及被用于处理与用户之间的交互操作等等。该处理器104例如为各处理电路集成在一起的控制IC,或者为包括分布设置的各处理电路的处理器集群,例如用于集中控制移动终端100各元部件的中央处理器CPU、用于移动终端100中图形处理的图像处理器GPU。当然,还可以设置其他专用处理器,例如用于监测移动终端100的各传感器的检测结果的协处理器、用于移动终端100通讯的基带处理器、用于移动终端100进行面部识别的面部识别处理器等等。
存储器105例如包括一个或多个计算机存储介质,该存储介质包括硬盘、软盘、Flash、ROM、RAM,以及任何其他适合类型的存储部件或者它们的任意组合。存储器105用于存储可供处理器104调用的任何程序代码文件,例如操作系统、应用软件以及功能模块等等。该存储器105还用于存储处理器104处理的处理数据以及处理结果,例如应用数据、用户操作信息、用户设置信息,多媒体数据等等。可以理解的是,该存储器105可以单独设置,也可以与处理器104集成在一起。
进一步地,该存储器105中的计算机存储介质存储有多个程序代码文件,以供处理器104调用,用以执行上述实施方式描述的解锁控制方法,从而实现移动终端100息屏状态下的解锁控制。
本申请实施方式中,在需要进行面部识别时,若物体处于逆光环境下,则控制移动终端100进行补光,从而使得移动终端100能采集到清晰的面部图像,提高面部识别效果,提升用户体验。
在某些实施方式中,该补光装置102位于移动终端100正面顶端,例如柔光灯。补光装置102例如包括多个LED或其他发光元件。而且该发光元件的亮度、颜色以及色温等补光参数可以根据需要进行控制。本实施方式中,通过控制LED的亮度、颜色以及色温中的一个或几个补光参数,将使得补光装置发出的光信号更加柔和,从而在进行面部图像采集时,用户不至于感觉太刺眼,提升了用户体验。例如处理器104用于:在控制补光装置102开启时,进一步调整补光装置102的亮度、色温和颜色中的一个或几个参数。
进一步地,上述处理器104还用于:判断移动终端100的当前工作状态,根据移动终端100的当前工作状态,确定是否需要进行面部识别。
当前工作状态按照显示屏的显示状态来分,例如包括息屏状态、亮屏未解锁状态、亮屏已解锁状态三种。其中息屏状态是指显示屏未被点亮而处于熄灭状态。亮屏未解锁状态是指显示屏被点亮,但显示屏上显示未解锁界面。该状态下,移动终端100未被解锁,无法进入移动终端100的主页面。亮屏已解锁状态是指显示屏被点亮,并根据具体的操作显示相应的界面。该状态下移动终端100已经解锁,使用者可以正常使用该移动终端100。
具体地,当移动终端100处于息屏状态时,使用者随时可能会使用该移动终端100,因此为了能快速响应使用者的操作,该移动终端100上的某些传感器仍然处于工作状态,以监测移动终端100的使用情况,判断是否存在屏幕唤醒操作。例如,触摸传感器、重力传感器、距离传感器等等。屏幕唤醒操作包括拿起移动终端100、触摸移动终端100的显示屏、物体靠近设备正面预设范围、按压移动终端100的功能按键的一种或几种。可以理解的是,该移动终端100的屏幕唤醒操作可根据使用者的需要而灵活设置。
以移动终端100上设置的触摸传感器108为例,本申请实施方式中,在移动终端100处于息屏状态时,控制移动终端100的触摸传感器108执行触摸检测,对触摸表面上的触摸动作(例如普通触摸操作、按压操作、滑动操作)进行检测及响应。当移动终端100处于息屏状态时,该触摸传感器108将以第一扫描频率(较低功耗状态)进行触摸检测。当检测到物体触摸该触摸表面,则确定需要进行面部识别。当移动终端100处于亮屏未解锁状态或亮屏已解锁状态时,触摸传感器108再以第二扫描频率(较高功耗状态或正 常功耗状态)进行触摸检测,从而降低移动终端100息屏状态时的功耗。其中第一扫描频率小于第二扫描频率。当然,可变更地,该触摸传感器108也可以一直以正常功耗状态进行触摸检测。
当移动终端100处于亮屏未解锁状态时,这种情况下使用者随时可能使用该移动终端100,因此确定需要进行面部识别。
当移动终端100处于亮屏已解锁状态时,则要进一步判断当前是否存在应用程序向操作系统发起的身份验证请求,例如支付应用程序发起用于移动支付的身份验证请求。若存在身份验证请求,则确定需要进行面部识别,否则移动终端100进行正常的操作。
在本说明书的描述中,参考术语“一个实施方式”、“某些实施方式”、“示意性实施方式”、“示例”、“具体示例”、或“一些示例”等的描述意指结合所述实施方式或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施方式或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施方式或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施方式或示例中以合适的方式结合。
尽管上面已经示出和描述了本申请的实施方式,可以理解的是,上述实施方式是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施方式进行变化、修改、替换和变型。

Claims (19)

  1. 一种电子设备的面部识别方法,包括以下步骤:
    S1,当电子设备需要进行面部识别时,判断当前环境光强度是否大于或等于预设阈值;
    S2,当当前环境光强度大于或等于预设阈值时,控制电子设备进行正面补光;
    S3,当当前环境光强度小于预设阈值时,控制电子设备正面的图像传感器,采集电子设备前方物体的面部图像;
    S4,将所采集的面部图像与预设的面部图像模板进行匹配,以确定前方物体的身份是否合法。
  2. 如权利要求1所述的电子设备的面部识别方法,其特征在于:所述预设阈值为物体处于逆光环境下的光强临界值。
  3. 如权利要求1所述的面部识别方法,其特征在于:所述步骤S2中补光与步骤S3中面部图像的采集同时进行。
  4. 如权利要求1所述的面部识别方法,其特征在于:在所述步骤S2中:当当前环境光强度大于或等于预设阈值时,控制电子设备正面的补光装置开启,以进行正面补光。
  5. 如权利要求4所述的面部识别方法,其特征在于:当控制电子设备正面的补光装置开启时,进一步调整补光装置的亮度、色温和颜色中的一个或几个参数。
  6. 如权利要求4所述的面部识别方法,其特征在于:所述电子设备正面的补光装置位于电子设备正面顶端。
  7. 如权利要求1-6中任意一项所述的面部识别方法,其特征在于:所述步骤S1之前进一步包括:判断电子设备的当前工作状态;根据电子设备的当前工作状态,确定是否需要进行面部识别。
  8. 如权利要求7所述的面部识别方法,其特征在于:所述电子设备的当前工作状态包括息屏状态、亮屏未解锁状态、亮屏已解锁状态;所述根据电子设备的当前工作状态,确定是否需要进行面部识别包括:
    当电子设备处于息屏状态时,判断是否有屏幕唤醒操作;当确定有屏幕唤醒操作时,确定需要进行面部识别;
    当电子设备处于亮屏未解锁状态时,确定需要进行面部识别;
    当电子设备处于亮屏已解锁状态时,判断当前是否存在应用程序发起的身份验证请 求,若存在身份验证请求,确定需要进行面部识别。
  9. 如权利要求8所述的面部识别方法,其特征在于:所述屏幕唤醒操作包括:拿起电子设备、触摸电子设备的显示屏、物体靠近电子设备正面预设范围、按压电子设备功能按键中的一种或几种。
  10. 一种电子设备,包括图像传感器、补光装置、环境光传感器、以及处理器;所述处理器用于:在电子设备需要进行面部识别时,判断所述环境光传感器采集到的当前环境光强度是否大于或等于预设阈值;当当前环境光强度大于或等于预设阈值时,控制所述补光装置进行正面补光;当当前环境光强度小于预设阈值时,控制所述图像传感器采集电子设备前方物体的面部图像;将所采集到的面部图像与预设的面部图像模板进行匹配,以确定前方物体的身份是否合法。
  11. 如权利要求10所述的电子设备,其特征在于:所述预设阈值为物体处于逆光环境下的光强临界值。
  12. 如权利要求10所述的电子设备,其特征在于:所述图像传感器位于所述电子设备的正面顶端。
  13. 如权利要求10所述的电子设备,其特征在于:所述补光装置位于电子设备正面顶端。
  14. 如权利要求13所述的电子设备,其特征在于:所述补光装置为柔性灯。
  15. 如权利要求10所述的电子设备,其特征在于:在控制所述补光装置开启时,进一步调整补光装置的亮度、色温和颜色中的一个或几个参数。
  16. 如权利要求10所述的电子设备,其特征在于:当当前环境光强度大于或等于预设阈值时,所述处理器控制所述补光装置与所述图像传感器同时工作。
  17. 如权利要求10-16中任意一项所述的电子设备,其特征在于:所述处理器进一步用于:判断电子设备的当前工作状态,根据电子设备的当前工作状态,确定是否需要进行面部识别。
  18. 如权利要求17所述的电子设备,其特征在于:所述电子设备的当前工作状态包括息屏状态、亮屏未解锁状态、亮屏已解锁状态;所述处理器进一步用于:
    当电子设备处于息屏状态时,判断是否有屏幕唤醒操作;当判断有屏幕唤醒操作时,确定需要进行面部识别;
    当电子设备处于亮屏未解锁状态时,确定需要进行面部识别;
    当电子设备处于亮屏已解锁状态时,判断当前是否存在应用程序发起的身份验证请 求,若存在身份验证请求,确定需要进行面部识别。
  19. 如权利要求18所述的电子设备,其特征在于:所述屏幕唤醒操作包括:拿起电子设备、触摸电子设备的显示屏、物体靠近电子设备正面预设范围、按压电子设备功能按键中的一种或几种。
PCT/CN2018/082894 2018-04-12 2018-04-12 电子设备及其面部识别方法 WO2019196075A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2018/082894 WO2019196075A1 (zh) 2018-04-12 2018-04-12 电子设备及其面部识别方法
CN201880000324.1A CN108496173A (zh) 2018-04-12 2018-04-12 电子设备及其面部识别方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/082894 WO2019196075A1 (zh) 2018-04-12 2018-04-12 电子设备及其面部识别方法

Publications (1)

Publication Number Publication Date
WO2019196075A1 true WO2019196075A1 (zh) 2019-10-17

Family

ID=63343498

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/082894 WO2019196075A1 (zh) 2018-04-12 2018-04-12 电子设备及其面部识别方法

Country Status (2)

Country Link
CN (1) CN108496173A (zh)
WO (1) WO2019196075A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108229372B (zh) * 2017-12-29 2021-08-10 努比亚技术有限公司 指纹识别方法、移动终端及计算机可读存储介质
CN109194834B (zh) * 2018-09-27 2021-07-13 重庆辉烨物联科技有限公司 手机节电方法、装置、设备及存储介质
CN110223434B (zh) * 2019-07-04 2024-02-02 长虹美菱股份有限公司 一种冰箱安全锁及其控制方法
CN113569721A (zh) * 2021-07-26 2021-10-29 北京科技大学 一种基于分布式智能补光的人脸识别系统及方法

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040218070A1 (en) * 2000-02-24 2004-11-04 Nokia Corporation Method and apparatus for user recognition using CCD cameras
US20050276452A1 (en) * 2002-11-12 2005-12-15 Boland James M 2-D to 3-D facial recognition system
CN103841324A (zh) * 2014-02-20 2014-06-04 小米科技有限责任公司 拍摄处理方法、装置和终端设备
CN106713780A (zh) * 2017-01-16 2017-05-24 维沃移动通信有限公司 一种闪光灯的控制方法及移动终端
CN107220621A (zh) * 2017-05-27 2017-09-29 北京小米移动软件有限公司 终端进行人脸识别的方法及装置
CN107679482A (zh) * 2017-09-27 2018-02-09 广东欧珀移动通信有限公司 解锁控制方法及相关产品

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101320052B1 (ko) * 2012-01-31 2013-10-21 한국과학기술연구원 시역폭 확대를 이용한 무안경식 3차원 영상표시장치
CN107506752A (zh) * 2017-09-18 2017-12-22 艾普柯微电子(上海)有限公司 人脸识别装置及方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040218070A1 (en) * 2000-02-24 2004-11-04 Nokia Corporation Method and apparatus for user recognition using CCD cameras
US20050276452A1 (en) * 2002-11-12 2005-12-15 Boland James M 2-D to 3-D facial recognition system
CN103841324A (zh) * 2014-02-20 2014-06-04 小米科技有限责任公司 拍摄处理方法、装置和终端设备
CN106713780A (zh) * 2017-01-16 2017-05-24 维沃移动通信有限公司 一种闪光灯的控制方法及移动终端
CN107220621A (zh) * 2017-05-27 2017-09-29 北京小米移动软件有限公司 终端进行人脸识别的方法及装置
CN107679482A (zh) * 2017-09-27 2018-02-09 广东欧珀移动通信有限公司 解锁控制方法及相关产品

Also Published As

Publication number Publication date
CN108496173A (zh) 2018-09-04

Similar Documents

Publication Publication Date Title
WO2019200578A1 (zh) 电子设备及其身份识别方法
EP3401772B1 (en) Electronic device including a plurality of input devices and control method thereof
WO2018121428A1 (zh) 一种活体检测方法、装置及存储介质
WO2019196075A1 (zh) 电子设备及其面部识别方法
CN108881604B (zh) 光强检测方法、装置及智能终端
CN106233295B (zh) 显示器集成式用户分类、安全及指纹系统
CN108764015B (zh) 一种待识别指纹图像的获取方法、装置及移动终端
US20180032815A1 (en) Electronic device and method for iris authentication thereof
EP3054399A1 (en) Electronic device with touch sensor and driving method therefor
CN208172794U (zh) 电子设备
CN111310692B (zh) 一种检测对象管理方法、系统、机器可读介质及设备
US11380138B2 (en) Device and method for touchless palm print acquisition
US20120320181A1 (en) Apparatus and method for security using authentication of face
TWI647625B (zh) 判斷使用者之姿勢之影像偵測方法以及影像偵測裝置
WO2016201863A1 (zh) 操作体特征信息识别方法及电子设备、安全设备、掌纹识别装置
CN106775538B (zh) 电子设备及生物识别方法
WO2019134093A1 (zh) 智能终端
WO2019196074A1 (zh) 电子设备及其面部识别方法
CN107091704A (zh) 压力检测方法和装置
CN110597426A (zh) 亮屏处理方法、装置、存储介质及终端
CN111695509A (zh) 一种身份验证方法、装置、机器可读介质及设备
WO2019134094A1 (zh) 电子设备及其面部识别方法
CN110287861B (zh) 指纹识别方法、装置、存储介质及电子设备
CN110928479A (zh) 一种智能终端的解锁方法、解锁设备、以及计算机可读存储介质
CN111104873A (zh) 一种多图像处理装置协同的人脸识别方法、系统、设备和介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18914734

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18914734

Country of ref document: EP

Kind code of ref document: A1