白丝美女被狂躁免费视频网站,500av导航大全精品,yw.193.cnc爆乳尤物未满,97se亚洲综合色区,аⅴ天堂中文在线网官网

Control method, electronic device and computer-readable storage medium

專(zhuān)利號(hào)
US11176354B2
公開(kāi)日期
2021-11-16
申請(qǐng)人
GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD.(CN Guangdong)
發(fā)明人
Shangbo Lin
IPC分類(lèi)
G06K9/00; G06F21/32; G06K9/20
技術(shù)領(lǐng)域
infrared,light,face,camera,iris,source,turned,image,electronic,or
地域: Guangdong

摘要

Disclosed is a control method for an infrared light source assembly (10). The method is used for an electronic device (100), wherein the electronic device (100) comprises a camera (20). The infrared light source assembly (10) comprises at least two infrared light sources (12) having different illumination ranges. The control method comprises: (S32) controlling the camera (20) so that same collects a face image; (S34) processing the face image to acquire face position information; and (S36) starting, according to the face position information, an infrared light source (12) having an illumination range corresponding to that into which a face falls, and turning off other infrared light sources (12) or keeping some turned off. Further disclosed are an electronic device (100) and a computer-readable storage medium (800).

說(shuō)明書(shū)

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a national phase of International Application No. PCT/CN2018/090625 filed on Jun. 11, 2018, which claims priority and benefit to Chinese Patent Application No. 201710552517.5 filed on Jul. 7, 2017. The disclosures of these applications are hereby incorporated by reference in their entirety.

TECHNICAL FIELD

The disclosure relates to electronic devices, and more particularly to a control method, an electronic device and a computer-readable storage medium.

BACKGROUND

Iris recognition generally requires an infrared light source to assist an infrared camera to acquire a clear iris image. However, an illumination range of the infrared light source is limited, which results in a limited working range for the iris recognition.

SUMMARY

The embodiments of the disclosure provide a control method, an electronic device and a computer-readable storage medium.

A control method for an infrared light source assembly according to the embodiments of the disclosure may be used in an electronic device. The electronic device may include a camera. The infrared light source assembly may include at least two infrared light sources having different illumination ranges. The control method may include the following operations.

The camera is controlled to acquire an image of a face.

The image of the face is processed to obtain position information of the face.

權(quán)利要求

1
What is claimed is:1. A control method for an infrared light source assembly, used in an electronic device, wherein the electronic device comprises a camera, the infrared light source assembly comprises at least two infrared light sources having different illumination ranges, and the control method comprises:controlling the camera to acquire an image of a face;processing the image of the face to obtain position information of the face; anddetermining, according to the position information of the face, whether an infrared light source, that has an illumination range into which the face falls, is present; andwhen the infrared light source, that has the illumination range into which the face falls, is present turning on the infrared light source that has the illumination range into which the face falls, and turning off other infrared light sources;when the infrared light source, that has the illumination range into which the face falls, is absent, sending reminding information.2. The control method according to claim 1, wherein the electronic device comprises a mobile phone, a notebook computer, a tablet computer, a smart watch, or smart glasses.3. The control method according to claim 1, wherein the camera comprises an infrared camera, the electronic device comprises an iris recognition module, and the iris recognition module comprises the infrared light source assembly and the infrared camera.4. The control method according to claim 3, wherein controlling the camera to acquire the image of the face comprises:turning off or keeping turning off the at least two infrared light sources; andcontrolling the infrared camera to acquire the image of the face.5. The control method according to claim 3, wherein controlling the camera to acquire the image of the face comprises:turning on at least one of the at least two infrared light sources, and turning off or keeping turning off other infrared light sources except the at least one infrared light source; andcontrolling the infrared camera to acquire the image of the face.6. The control method according to claim 1, wherein the camera comprises a visible light camera, the electronic device comprises an iris recognition module, and the iris recognition module comprises the infrared light source assembly and an infrared camera.7. The control method according to claim 6, wherein the electronic device comprises a housing, the housing comprises a front surface, and the iris recognition module and the visible light camera are disposed in the housing and exposed from the front surface.8. The control method according to claim 6, wherein an illumination range of an infrared light source, a field of view of the infrared camera and a field of view of the visible light camera at least partially overlap.9. An electronic device, comprising:an infrared light source assembly, comprising at least two infrared light sources having different illumination ranges;a camera;one or more processors;a memory; andone or more programs, which are stored in the memory and are configured to be executed by the one or more processors to perform the control method according to claim 1.10. A non-transitory computer-readable storage medium having a computer program for use in conjunction with an electronic device, wherein the computer program is executed by a processor to perform the control method according to claim 1.11. An electronic device, comprising: an infrared light source assembly, comprising at least two infrared light sources having different illumination ranges; a camera, configured to acquire an image of a face; and a processor, configured to: determine, according to position information of the face in the image of the face that is acquired by the camera, whether an infrared light source, that has an illumination range into which the face falls, is present; and when the infrared light source, that has the illumination range into which the face falls, is present, turn on the infrared light source that has the illumination range into which the face falls, and turn in off other infrared light sources; when the infrared light source, that has the illumination range into which the face falls, is absent, send reminding information.12. The electronic device according to claim 11, wherein the electronic device comprises a mobile phone, a notebook computer, a tablet computer, a smart watch, or smart glasses.13. The electronic device according to claim 11, wherein the camera comprises an infrared camera, the electronic device comprises an iris recognition module, and the iris recognition module comprises the infrared light source assembly and the infrared camera.14. The electronic device according to claim 13, wherein the processor is configured to:turn off or keep turning off the at least two the infrared light sources; andcontrol the infrared camera to acquire the image of the face.15. The electronic device according to claim 13, wherein the processor is configured to:turn on at least one of the at least two infrared light sources, and turn off or keep turning off other infrared light sources except the at least one infrared light source; andcontrol the infrared camera to acquire the image of the face.16. The electronic device according to claim 11, wherein the camera comprises a visible light camera, the electronic device comprises an iris recognition module, and the iris recognition module comprises the infrared light source assembly and an infrared camera.17. The electronic device according to claim 16, wherein the electronic device comprises a housing, the housing comprises a front surface, and the iris recognition module and the visible light camera are disposed in the housing and exposed from the front surface.18. The electronic device according to claim 16, wherein an illumination range of an infrared light source, a field of view of the infrared camera and a field of view of the visible light camera at least partially overlap.
微信群二維碼
意見(jiàn)反饋