CN107657167A - Face unlocking method, device, computer-readable storage medium and electronic device - Google Patents
Face unlocking method, device, computer-readable storage medium and electronic device Download PDFInfo
- Publication number
- CN107657167A CN107657167A CN201711065924.XA CN201711065924A CN107657167A CN 107657167 A CN107657167 A CN 107657167A CN 201711065924 A CN201711065924 A CN 201711065924A CN 107657167 A CN107657167 A CN 107657167A
- Authority
- CN
- China
- Prior art keywords
- electronic device
- camera
- mode
- face
- unlocking
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/32—User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/324—Power saving characterised by the action undertaken by lowering clock frequency
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Studio Devices (AREA)
- Telephone Function (AREA)
Abstract
Description
技术领域technical field
本申请涉及电子设备应用技术领域,特别是涉及人脸解锁的方法、装置、计算机可读存储介质和电子设备。The present application relates to the technical field of electronic equipment application, and in particular to a face unlocking method, device, computer-readable storage medium and electronic equipment.
背景技术Background technique
随着智能电子设备的发展,为了提供更好的体验,电子设备解锁的方式也多种多样,比如有指纹解锁、密码解锁等,随着人工智能的发展,人脸解锁使用也越来越多。使用人脸解锁时,传统技术中都是调用前置相机的摄像头来做人脸识别,再进行深度学习和活体检测等,以此来实现电子设备安全而快捷的解锁。但人脸解锁时,每一次都要启动前置相机,导致电子设备的人脸解锁功耗过大。With the development of smart electronic devices, in order to provide a better experience, there are various ways to unlock electronic devices, such as fingerprint unlocking, password unlocking, etc. With the development of artificial intelligence, face unlocking is also used more and more . When using face unlocking, in the traditional technology, the camera of the front camera is used for face recognition, and then deep learning and liveness detection are performed, so as to realize the safe and fast unlocking of electronic devices. However, when the face is unlocked, the front camera must be activated every time, resulting in excessive power consumption of the face unlock of the electronic device.
发明内容Contents of the invention
本申请实施例提供一种人脸解锁的方法、装置、计算机可读存储介质和电子设备,可以实现电子设备进行人脸解锁时,降低电子设备人脸解锁的功耗。Embodiments of the present application provide a face unlocking method, device, computer-readable storage medium, and electronic device, which can reduce power consumption of the electronic device for face unlocking when the electronic device performs face unlocking.
一种人脸解锁的方法,所述方法包括:A method for face unlocking, the method comprising:
若检测到电子设备的摄像头启动,判断是否接收到所述电子设备的解锁动作的指令;If it is detected that the camera of the electronic device is activated, it is judged whether an instruction for unlocking the electronic device is received;
若判断接收到所述电子设备的解锁动作的指令,控制所述摄像头进入第一模式,所述第一模式是所述摄像头的低功耗模式;If it is judged that an instruction to unlock the electronic device is received, control the camera to enter a first mode, where the first mode is a low power consumption mode of the camera;
使用所述第一模式,进行人脸识别,若通过所述人脸识别验证,所述电子设备自动进行解锁。Using the first mode, face recognition is performed, and if the face recognition verification is passed, the electronic device is automatically unlocked.
一种人脸解锁的装置,所述装置包括:A face unlocking device, said device comprising:
判断模块,用于若检测到电子设备的摄像头启动,判断是否接收到所述电子设备的解锁动作的指令;A judging module, configured to judge whether an instruction to unlock the electronic device is received if it is detected that the camera of the electronic device is activated;
启动模块,用于若判断接收到所述电子设备的解锁动作的指令,控制所述摄像头进入第一模式,所述第一模式是所述摄像头的低功耗模式;A starting module, configured to control the camera to enter a first mode if it is judged that an unlocking action instruction of the electronic device is received, and the first mode is a low power consumption mode of the camera;
解锁模块,用于使用所述第一模式,进行人脸识别,若通过所述人脸识别验证,所述电子设备自动进行解锁。The unlocking module is configured to use the first mode to perform face recognition, and if the face recognition verification is passed, the electronic device is automatically unlocked.
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现所述的方法的步骤。A computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method are realized.
一种电子设备,包括存储器及处理器,所述存储器中储存有计算机可读指令,所述指令被所述处理器执行时,使得所述处理器执行所述的人脸解锁的方法。An electronic device includes a memory and a processor, wherein computer-readable instructions are stored in the memory, and when the instructions are executed by the processor, the processor executes the face unlocking method.
本申请实施例的人脸解锁的人脸解锁的方法、装置、计算机可读存储介质和电子设备,通过检测到电子设备的摄像头启动,判断是否接收到所述电子设备的解锁动作的指令,若判断接收到所述电子设备的解锁动作的指令,控制所述摄像头进入低功耗的第一模式,使用低功耗的第一模式进行人脸识别,若通过所述人脸识别验证,所述电子设备自动进行解锁,通过判断摄像头启动时需要进行人脸解锁的人脸识别,从而控制所述电子设备的摄像头进入低功耗的第一模式,通过第一模式进行人脸解锁,降低了电子设备进行人脸解锁时的电子设备的功耗,而又不影响人脸解锁。在不改动电子设备原来硬件的基础上,尤其是在电子设备使用的过程中,需要频繁进行解锁时,明显降低了电子设备在人脸解锁时的功耗,不增加电子设备的成本。The face unlocking method, device, computer-readable storage medium, and electronic device of the embodiments of the present application determine whether an instruction to unlock the electronic device has been received by detecting that the camera of the electronic device is activated. Judging that the instruction for unlocking the electronic device has been received, controlling the camera to enter the first mode with low power consumption, and using the first mode with low power consumption to perform face recognition, if the face recognition verification is passed, the The electronic device is automatically unlocked, and the camera of the electronic device is controlled to enter the first mode of low power consumption by judging that the camera needs to be unlocked when the camera is started. The power consumption of the electronic device when the device performs face unlocking without affecting the face unlocking. On the basis of not changing the original hardware of the electronic device, especially when the electronic device needs to be unlocked frequently during the use of the electronic device, the power consumption of the electronic device during face unlocking is significantly reduced, and the cost of the electronic device is not increased.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present application. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1为本申请一个实施例中电子设备的内部结构示意图;FIG. 1 is a schematic diagram of the internal structure of an electronic device in an embodiment of the present application;
图2为本申请人脸解锁的方法一个实施例的流程图;Fig. 2 is a flowchart of an embodiment of the applicant's face unlocking method;
图3为本申请人脸解锁的方法另一个具体实施例的流程图;Fig. 3 is a flow chart of another specific embodiment of the applicant's face unlocking method;
图4为本申请提供的人脸解锁的装置一个实施例的程序模块架构图;FIG. 4 is a program module architecture diagram of an embodiment of the face unlocking device provided by the present application;
图5为与本申请实施例提供的电子设备相关的手机的部分结构的框图。Fig. 5 is a block diagram of a partial structure of a mobile phone related to the electronic device provided by the embodiment of the present application.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.
可以理解,本申请所使用的术语“第一”、“第二”等可在本文中用于描述各种元件,但这些元件不受这些术语限制。这些术语仅用于将第一个元件与另一个元件区分。举例来说,在不脱离本申请的范围的情况下,可以将第一模式称为第二模式,且类似地,可将第二模式称为第一模式。第一模式和第二模式两者都是模式端,但其不是同一模式。It can be understood that the terms "first", "second" and the like used in this application may be used to describe various elements herein, but these elements are not limited by these terms. These terms are only used to distinguish one element from another element. For example, a first mode could be termed a second mode, and, similarly, a second mode could be termed a first mode, without departing from the scope of the present application. Both the first mode and the second mode are mode ends, but they are not the same mode.
图1为一个实施例中电子设备的内部结构示意图。如图1所示,该电子设备包括通过系统总线连接的处理器、存储器和网络接口。其中,该处理器用于提供计算和控制能力,支撑整个计算机设备的运行。存储器用于存储数据、程序等,存储器上存储至少一个计算机程序,该计算机程序可被处理器执行,以实现本申请实施例中提供的适用于电子设备的人脸解锁的方法。存储器可包括磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等非易失性存储介质,或随机存储记忆体(Random-Access-Memory,RAM)等。例如,在一个实施例中,存储器包括非易失性存储介质及内存储器。非易失性存储介质存储有操作系统和计算机程序。该计算机程序可被处理器所执行,以用于实现以下各个实施例所提供的一种人脸解锁的方法。内存储器为非易失性存储介质中的操作系统计算机程序提供高速缓存的运行环境。网络接口可以是以太网卡或无线网卡等,用于与外部的计算机设备进行通信。该电子设备可以是手机、笔记本电脑、平板电脑或者个人数字助理或穿戴式设备等。Fig. 1 is a schematic diagram of the internal structure of an electronic device in one embodiment. As shown in FIG. 1, the electronic device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor is used to provide calculation and control capabilities, and support the operation of the entire computer equipment. The memory is used to store data, programs, etc., and at least one computer program is stored on the memory, and the computer program can be executed by the processor to implement the face unlocking method suitable for electronic devices provided in the embodiments of the present application. The memory may include a non-volatile storage medium such as a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random-access-memory (Random-Access-Memory, RAM). For example, in one embodiment, the memory includes non-volatile storage media and internal memory. Nonvolatile storage media store operating systems and computer programs. The computer program can be executed by a processor, so as to implement a face unlocking method provided in the following embodiments. The internal memory provides a high-speed running environment for the operating system computer program in the non-volatile storage medium. The network interface can be an Ethernet card or a wireless network card, etc., and is used for communicating with external computer equipment. The electronic device may be a mobile phone, a notebook computer, a tablet computer, a personal digital assistant, a wearable device, or the like.
电子设备在通过人脸解锁时,所述电子设备传统的方式是,当所述电子设备亮屏后,就会启动所述电子设备的前置摄像头,所述前置摄像头启动后,整个ISP(Image SignalProcessing,图像信号处理)处理器都会启动起来,这样亮屏的整个功耗都会瞬间飙升,而且随着用户不断地亮屏解锁频率越高,功耗就将变得越大。其中,ISP处理器,也可以称为ISP图像信号处理器,主要用来对电子设备的摄像头的图像传感器输出的图像信号进行处理,以匹配不同厂商的图象传感器。When an electronic device is unlocked by face, the traditional method of the electronic device is that when the screen of the electronic device is turned on, the front camera of the electronic device will be started, and after the front camera is started, the entire ISP ( Image Signal Processing, image signal processing) processors will be started, so that the entire power consumption of the bright screen will soar instantly, and as the user continues to brighten the screen and unlock the higher the frequency, the power consumption will become greater. Wherein, the ISP processor, which may also be called an ISP image signal processor, is mainly used to process the image signal output by the image sensor of the camera of the electronic device, so as to match the image sensors of different manufacturers.
图像传感器,是组成数字摄像头的重要组成部分。根据元件的不同,可分为CCD(Charge Coupled Device,电荷耦合元件)和CMOS(Complementary Metal-OxideSemiconductor,金属氧化物半导体元件)两大类。为了降低电子设备进行人脸解锁时电子设备的功耗,以前置摄像头为例,对前置摄像头的图像传感器设计两种模式,也可以称为所述摄像头的两种模式:The image sensor is an important part of a digital camera. According to the different components, it can be divided into two categories: CCD (Charge Coupled Device, charge-coupled device) and CMOS (Complementary Metal-Oxide Semiconductor, metal oxide semiconductor device). In order to reduce the power consumption of the electronic device when the electronic device performs face unlocking, taking the front camera as an example, two modes are designed for the image sensor of the front camera, which can also be referred to as the two modes of the camera:
(1)第一种是所述摄像头的低功耗模式,在本申请实施例中称为第一模式,所述摄像头的图像传感器主要用于人像检测,所述电子设备的摄像头启动时,所述摄像头的图像传感器的其它功能均不开,比如所述图像传感器的防抖功能和降噪功能等都不开,只启动所述图像传感器的人像检测功能,或者,在所述图像传感器的人像检测功能上,加上一种或两种其他功能,比如只启动所述图像传感器的人像检测功能和防抖功能,或者只启动所述图像传感器的人像检测功能和降噪功能等。(1) The first type is the low power consumption mode of the camera, which is called the first mode in the embodiment of this application. The image sensor of the camera is mainly used for portrait detection. When the camera of the electronic device is started, the Other functions of the image sensor of the above-mentioned camera are not turned on, such as the anti-shake function and the noise reduction function of the image sensor are not turned on, and only the portrait detection function of the image sensor is turned on, or the portrait detection function of the image sensor is turned on. On the detection function, add one or two other functions, such as only starting the portrait detection function and anti-shake function of the image sensor, or only starting the portrait detection function and noise reduction function of the image sensor.
(2)第二种所述摄像头的模式,在本申请实施例中称为第二模式,也可以称为所述摄像头的正常模式,属于高功耗模式。为了保证所述摄像头的图像传感器获取高质量的图像,满足拍照或者视频的需求,所述摄像头的图像传感器的多种功能都开启,比如人脸检测功能、防抖功能和降噪功能等。(2) The second mode of the camera, referred to as the second mode in the embodiment of the present application, may also be called the normal mode of the camera, which belongs to the high power consumption mode. In order to ensure that the image sensor of the camera acquires high-quality images and meet the needs of taking pictures or videos, various functions of the image sensor of the camera are turned on, such as face detection, anti-shake and noise reduction.
请参阅图2,图2为本申请人脸解锁的方法一个实施例的流程图,所述方法包括:Please refer to Figure 2, Figure 2 is a flowchart of an embodiment of the applicant's face unlocking method, the method includes:
步骤200、若检测到电子设备的摄像头启动,判断是否接收到所述电子设备的解锁动作的指令。Step 200, if it is detected that the camera of the electronic device is activated, determine whether an instruction to unlock the electronic device is received.
具体地,所述电子设备的摄像头,如果所述电子设备设置有固定的前置摄像头和后置摄像头,可以指所述电子设备的前置摄像头或者后置摄像头;如果所述电子设备设置有可旋转的摄像头,尤其当所述摄像头可旋转到面对人脸解锁的人脸的角度时,可以指所述可旋转的摄像头。总之,所述电子设备的摄像头是指能够进行人脸解锁的摄像头。Specifically, the camera of the electronic device, if the electronic device is provided with a fixed front camera and rear camera, may refer to the front camera or the rear camera of the electronic device; if the electronic device is provided with a fixed A rotatable camera, especially when the camera is rotatable to face the face of the face unlocker, may refer to the rotatable camera. In short, the camera of the electronic device refers to a camera capable of face unlocking.
所述解锁动作的指令,指电子设备处于亮屏状态时,凡是能触发显示屏幕解锁界面的动作,都包含在所述解锁动作的指令范围内,包括按下显示解锁界面按键的指令,或者滑动屏幕的指令,或者打开解锁显示界面上设置的应用程序的指令,比如拨打电话的应用程序,或者解锁的虚拟按键。The instruction of the unlocking action refers to that when the electronic device is in the bright screen state, any action that can trigger the display of the screen unlocking interface is included in the instruction range of the unlocking action, including the instruction of pressing the display unlocking interface button, or sliding An instruction on the screen, or an instruction to open an application set on the unlocking display interface, such as an application for making a call, or an unlocked virtual key.
若电子设备检测到所述电子设备的摄像头启动,表明所述电子设备处于亮屏状态,此时电子设备判断是否接收到解锁动作的指令,比如,是否接收到按下显示解锁界面按键的指令,或者滑动屏幕的指令,或者打开解锁显示界面上设置的应用程序的指令,比如拨打电话的应用程序,或者解锁的虚拟按键等凡是能触发显示屏幕解锁界面的动作。If the electronic device detects that the camera of the electronic device is activated, it indicates that the electronic device is in a bright screen state. At this time, the electronic device judges whether an unlocking action instruction has been received, for example, whether it has received an instruction to press and display an unlock interface button, Or an instruction to slide the screen, or an instruction to open an application program set on the unlocking display interface, such as an application program for making a call, or a virtual key for unlocking, etc., which can trigger the display of the screen unlocking interface.
若所述电子设备判断接收到解锁动作的指令,进入步骤220。If the electronic device determines that an unlocking instruction is received, go to step 220 .
步骤220、若判断接收到所述电子设备的解锁动作的指令,控制所述摄像头进入第一模式,所述第一模式是所述摄像头的低功耗模式。Step 220: If it is determined that an instruction to unlock the electronic device is received, control the camera to enter a first mode, where the first mode is a low power consumption mode of the camera.
具体地,若电子设备检测到所述电子设备的摄像头启动,进一步判断接收到所述电子设备的解锁动作的指令,表明所述电子设备的摄像头启动,是为了进行人脸解锁,则启动所述摄像头进入所述摄像头的低功耗模式,利用所述摄像头的第一模式的低功耗模式,对检测到的人脸图像进行处理,从而实现在电子设备进行人脸解锁时,降低电子设备的功耗。Specifically, if the electronic device detects that the camera of the electronic device is activated, and further judges that an instruction to unlock the electronic device has been received, indicating that the camera of the electronic device is activated for face unlocking, then the electronic device is activated. The camera enters the low power consumption mode of the camera, and uses the low power consumption mode of the first mode of the camera to process the detected face image, thereby reducing the power consumption of the electronic device when the electronic device performs face unlocking. power consumption.
若电子设备判断接收到所述电子设备的解锁动作的指令,表明所述电子设备要进行人脸解锁,此时启动所述摄像头进入所述摄像头的低功耗模式,进行人脸解锁,从而实现电子设备进行人脸解锁时,降低电子设备的人脸解锁的功耗。If the electronic device judges that it has received the instruction of the unlocking action of the electronic device, it indicates that the electronic device will perform face unlocking, and at this time start the camera to enter the low power consumption mode of the camera to perform face unlocking, thereby realizing When the electronic device performs face unlocking, the power consumption of the electronic device for face unlocking is reduced.
步骤240、使用所述第一模式,进行人脸识别,若通过所述人脸识别验证,所述电子设备自动进行解锁。Step 240, use the first mode to perform face recognition, and if the face recognition verification is passed, the electronic device is automatically unlocked.
具体地,电子设备使用所述摄像头的第一模式的低功耗,进行人脸识别的图像的处理,若检测到的人脸信息与所述电子设备预存的人脸解锁的人脸信息匹配,判断通过所述人脸识别验证,所述电子设备自动进行解锁,从而实现所述电子设备通过人脸解锁时,实现电子设备的低功耗。Specifically, the electronic device uses the low power consumption of the first mode of the camera to process the image for face recognition, and if the detected face information matches the face information for face unlocking pre-stored in the electronic device, It is determined that the electronic device is automatically unlocked through the face recognition verification, so that when the electronic device is unlocked by the face, low power consumption of the electronic device is realized.
在一个实施例中,所述第一模式只包括人像检测功能。In one embodiment, the first mode only includes the portrait detection function.
具体地,电子设备为了实现通过人脸解锁时,降低电子设备的功耗,只启动所述摄像头中图像传感器的人像检测功能,所述摄像头中的图像传感器的其他功能均不开启,比如所述图像传感器的降噪功能和防抖功能等均不开启,以此来降低所述摄像头进行人脸解锁而进行人脸检测时的功耗,从而降低整个电子设备在进行人脸解锁时的功耗。Specifically, in order to reduce the power consumption of the electronic device when the electronic device is unlocked by the face, only the portrait detection function of the image sensor in the camera is enabled, and other functions of the image sensor in the camera are not enabled, such as the The noise reduction function and the anti-shake function of the image sensor are not turned on, so as to reduce the power consumption of the camera for face unlocking and face detection, thereby reducing the power consumption of the entire electronic device when performing face unlocking .
进一步地,电子设备在所述图像传感器的人像检测功能上,加上一种或两种其他功能,比如只启动所述图像传感器的人像检测功能和防抖功能,或者只启动所述图像传感器的人像检测功能和降噪功能等,相比传统技术中所述图像传感器的功能都启动时,也可以达到降低功耗的目的。Further, the electronic device adds one or two other functions to the portrait detection function of the image sensor, such as only enabling the portrait detection function and anti-shake function of the image sensor, or only enabling the The portrait detection function and noise reduction function, etc., can also achieve the purpose of reducing power consumption compared with when the functions of the image sensor described in the traditional technology are activated.
其中,电子设备的摄像头是指电子设备的成像设备,或者称为照相机,所述摄像头主要包括透镜和图像传感器。Wherein, the camera of the electronic device refers to an imaging device of the electronic device, or called a camera, and the camera mainly includes a lens and an image sensor.
在一个实施例中,所述判断是否接收到所述电子设备的解锁动作的指令的步骤包括:In one embodiment, the step of judging whether an instruction to unlock the electronic device is received includes:
判断是否接收到打开所述电子设备的摄像头对应的应用程序的指令;judging whether an instruction to open the application program corresponding to the camera of the electronic device is received;
若判断未接收到打开所述电子设备的摄像头对应的应用程序的指令,判断接收到所述电子设备的解锁动作的指令。If it is determined that the instruction to open the application program corresponding to the camera of the electronic device is not received, it is determined that an instruction to unlock the electronic device is received.
具体地,电子设备判断是否接收到所述电子设备的解锁动作的指令,除了通过判断是否接收到触发显示屏幕解锁界面的动作,比如按下显示解锁界面按键的指令,或者滑动屏幕的指令,或者打开解锁显示界面上设置的应用程序的指令,还可以通过判断是否接收到打开所述电子设备的摄像头对应的应用程序的指令,比如所述电子设备上涉及到摄像头的应用程序,比如照相机、视频APP(应用程序,Application的缩写)、直播APP、或者摄像APP等应用程序。若电子设备判断接收到打开所述电子设备的摄像头对应的应用程序的指令,则判断所述摄像头的启动是上述应用程序打开引起的,否则,若电子设备判断未接收到打开所述电子设备的摄像头对应的应用程序的指令,则判断接收到所述电子设备的解锁动作的指令。Specifically, the electronic device judges whether an instruction to unlock the electronic device has been received, in addition to judging whether an action that triggers the display of the screen unlock interface is received, such as an instruction to press a button to display the unlock interface, or an instruction to slide the screen, or The command to open the application program set on the unlock display interface can also be determined by judging whether to receive the command to open the application program corresponding to the camera of the electronic device, such as the application program related to the camera on the electronic device, such as camera, video APP (application program, the abbreviation of Application), live broadcast APP, or camera APP and other applications. If the electronic device determines that it has received an instruction to open the application program corresponding to the camera of the electronic device, then it is determined that the camera is started due to the opening of the above application program; otherwise, if the electronic device determines that it has not received the instruction to open the electronic device If the instruction of the application program corresponding to the camera is used, it is determined that the instruction of the unlocking action of the electronic device is received.
在一个实施例中,所述方法还包括:In one embodiment, the method also includes:
若判断接收到打开所述电子设备的摄像头对应的应用程序的指令,启动所述摄像头进入第二模式,所述第二模式的功耗大于所述第一模式的功耗。If it is determined that an instruction to open the application program corresponding to the camera of the electronic device is received, the camera is started to enter a second mode, and the power consumption of the second mode is greater than the power consumption of the first mode.
具体地,若电子设备判断接收到打开所述电子设备的摄像头对应的应用程序的指令,则判断所述摄像头的启动是上述应用程序打开引起的,为了满足应用程序对图像的高质量的要求,比如满足图像清晰、美观等要求,启动所述摄像头的图像传感器进入第二模式,所述第二模式是包含了除人像检测外功能的模式,比如降噪功能和防抖功能等,因此所述第二模式的功耗大于所述第一模式的功耗。Specifically, if the electronic device determines that an instruction to open the application program corresponding to the camera of the electronic device is received, it is determined that the camera is started due to the opening of the above-mentioned application program. In order to meet the high-quality requirements of the application program for images, For example, to meet the requirements of clear and beautiful images, start the image sensor of the camera to enter the second mode. The second mode is a mode that includes functions other than portrait detection, such as noise reduction and anti-shake functions. Therefore, the The power consumption of the second mode is greater than the power consumption of the first mode.
在一个实施例中,所述第一模式的人像检测的人像尺寸被设置为等于或者小于预设尺寸阈值。In one embodiment, the portrait size of the portrait detection in the first mode is set to be equal to or smaller than a preset size threshold.
具体地,电子设备为了进一步降低人脸解锁时所述电子设备的功耗,可以控制所述电子设备的摄像头的图像传感器检测的人像的尺寸等于或者小于预设尺寸阈值,满足人脸解锁的需要即可,所述预设尺寸阈值的像素可以为640x480,也就是所述人像检测的图像的尺寸小于或者等于640x 480像素,可以为640x 480像素,也可以为320x 240像素等。由于人脸检测的图像尺寸控制在预设的较小范围内,所述摄像头的图像传感器输出的人像尺寸就变得很小,既可以满足人脸解锁时人像检测的需要,也可以降低人脸解锁时电子设备的功耗,还可以提高人脸解锁的电子设备的图像输出速度。Specifically, in order to further reduce the power consumption of the electronic device when the face is unlocked, the electronic device can control the size of the portrait detected by the image sensor of the camera of the electronic device to be equal to or smaller than the preset size threshold to meet the needs of face unlocking. That is, the pixels of the preset size threshold may be 640x480, that is, the size of the image detected by the portrait is less than or equal to 640x480 pixels, may be 640x480 pixels, or may be 320x240 pixels. Since the image size of face detection is controlled within a preset small range, the image size output by the image sensor of the camera becomes very small, which can not only meet the needs of face detection when face unlocking, but also reduce the size of the face. The power consumption of the electronic device when unlocking can also increase the image output speed of the electronic device for face unlocking.
在一个实施例中,所述第一模式的人像检测的图像输出帧率被设置为以预设帧率输出。In one embodiment, the image output frame rate of the portrait detection in the first mode is set to be output at a preset frame rate.
具体地,帧率(Frame rate)是用于测量显示帧数的量度。所谓的测量单位为每秒显示帧数(Frames per Second,简称:FPS)或“赫兹”(Hz)。每秒的帧数(fps)或者说帧率表示图形处理器处理场时每秒钟能够更新的次数。如果帧率过高,就会浪费图形处理处理器的能力。Specifically, frame rate (Frame rate) is a metric used to measure the number of displayed frames. The so-called measurement unit is the number of display frames per second (Frames per Second, referred to as: FPS) or "Hertz" (Hz). Frames per second (fps), or frame rate, indicates how many times per second the graphics processor can update a field. If the frame rate is too high, the power of the graphics processing processor will be wasted.
因此,电子设备为了进一步降低人脸解锁时所述电子设备的功耗,还可以控制所述电子设备的摄像头的图像传感器输出的图像的帧率,满足人脸解锁的需要即可。所述帧率取值的范围为每秒10~20帧,帧率也可以控制在每秒12~18帧,一般情况下,所述帧率选择控制在每秒15帧可以达到图像质量和功耗的较佳平衡状态,也可以满足人脸解锁时的使用要求,相比正常的每秒30帧的输出帧率,可以大大降低所述电子设备的功耗。Therefore, in order to further reduce the power consumption of the electronic device during face unlocking, the electronic device may also control the frame rate of the image output by the image sensor of the camera of the electronic device to meet the needs of face unlocking. The frame rate ranges from 10 to 20 frames per second, and the frame rate can also be controlled at 12 to 18 frames per second. In general, the frame rate selection is controlled at 15 frames per second to achieve image quality and performance. The better balanced state of power consumption can also meet the use requirements of face unlocking. Compared with the normal output frame rate of 30 frames per second, the power consumption of the electronic device can be greatly reduced.
在一个实施例中,所述第一模式的人像检测的时钟频率被设置为以预设比值在原时钟频率上降低。In one embodiment, the clock frequency of the portrait detection in the first mode is set to be lower than the original clock frequency by a preset ratio.
具体地,时钟频率(又译:时钟频率速度,英语:clock rate),是指同步电路中时钟的基础频率,它以“若干次周期每秒”来度量,量度单位采用SI单位赫兹(Hz)。电子设备中有许许多多的半导体芯片,每个芯片都是在特定的时钟频率下进行工作的。时钟发生器提供给芯片的时钟信号是一个连续的脉冲信号,而脉冲就相当于芯片的脉搏,每一次脉冲到来,芯片内的晶体管就改变一次状态,让整个芯片完成一定任务。Specifically, the clock frequency (also translated: clock frequency speed, English: clock rate) refers to the basic frequency of the clock in the synchronous circuit, which is measured by "several cycles per second", and the measurement unit adopts the SI unit Hertz (Hz) . There are many semiconductor chips in electronic equipment, and each chip works at a specific clock frequency. The clock signal provided by the clock generator to the chip is a continuous pulse signal, and the pulse is equivalent to the pulse of the chip. Every time a pulse arrives, the transistor in the chip changes state once, allowing the entire chip to complete a certain task.
电子设备为了进一步降低人脸解锁时所述电子设备的功耗,还可以降低所述电子设备的摄像头的图像传感器进行人像检测时的时钟频率,满足人脸解锁的需要即可。降低所述电子设备的摄像头的图像传感器的时钟频率可以通过编程利用IIC(Inter-Integrated Circuit,集成电路总线)通信协议来控制电子设备的时钟频率。所述第一模式的人像检测的时钟频率被设置为以预设比值在原时钟频率上降低,比如,所述第一模式的人像检测的时钟频率可以在原时钟频率的基础上降低40%,也就是所述第一模式的人像检测的时钟频率为所述原时钟频率的60%,从而降低人脸检测时图像的输出频率的速度,进而降低所述电子设备的功耗。In order to further reduce the power consumption of the electronic device when the face is unlocked, the electronic device can also reduce the clock frequency of the image sensor of the camera of the electronic device when performing portrait detection, so as to meet the needs of the face unlock. Reducing the clock frequency of the image sensor of the camera of the electronic device can control the clock frequency of the electronic device by using an IIC (Inter-Integrated Circuit, integrated circuit bus) communication protocol through programming. The clock frequency of the portrait detection in the first mode is set to be reduced from the original clock frequency by a preset ratio, for example, the clock frequency of the portrait detection in the first mode can be reduced by 40% on the basis of the original clock frequency, that is The clock frequency of the portrait detection in the first mode is 60% of the original clock frequency, thereby reducing the speed of image output frequency during face detection, thereby reducing the power consumption of the electronic device.
请参阅图3,图3为本申请人脸解锁的方法另一个具体实施例的流程图,所述方法包括:Please refer to Figure 3, Figure 3 is a flowchart of another specific embodiment of the applicant's face unlocking method, the method includes:
步骤301、电子设备检测到摄像头启动,进入步骤302;Step 301, the electronic device detects that the camera is started, and enters step 302;
步骤302、电子设备判断是否接收到所述电子设备的解锁动作的指令,若所述电子设备接收到解锁动作的指令,进入步骤303,否则进入步骤304;Step 302, the electronic device judges whether it has received an instruction to unlock the electronic device, if the electronic device has received an instruction to unlock the electronic device, go to step 303, otherwise go to step 304;
步骤303、若电子设备判断接收到所述电子设备的解锁动作的指令,则控制电子设备的摄像头进入第一模式,进行人脸解锁的人像检测,所述第一模式的人像检测的人像尺寸被设置为等于或者小于预设尺寸阈值,所述第一模式的人像检测的图像输出的帧率以预设帧率输出,所述第一模式的人像检测的时钟频率以预设比值在原时钟频率的基础上降低;Step 303: If the electronic device judges that an instruction to unlock the electronic device has been received, control the camera of the electronic device to enter the first mode to perform portrait detection for face unlocking. The portrait size of the portrait detection in the first mode is determined by Set to be equal to or less than the preset size threshold, the frame rate of the image output of the portrait detection in the first mode is output at the preset frame rate, and the clock frequency of the portrait detection in the first mode is equal to the original clock frequency by a preset ratio lower on the basis;
步骤304、若电子设备判断未接收到所述电子设备的解锁动作的指令,则电子设备的摄像头进入第二模式,进行正常的拍照或者视频;Step 304, if the electronic device judges that the instruction for unlocking the electronic device has not been received, the camera of the electronic device enters the second mode to take photos or videos normally;
步骤305、所述电子设备的摄像头使用所述第一模式进行人脸识别,将检测到的人脸识别信息与所述电子设备预先存储的人脸解锁的人脸信息进行匹配,进行人脸验证,进入步骤306;Step 305, the camera of the electronic device uses the first mode to perform face recognition, and matches the detected face recognition information with the face information of face unlocking pre-stored in the electronic device to perform face verification , go to step 306;
步骤306、若电子设备进行人像检测的人脸识别验证通过,进入步骤307,否则,返回步骤305;Step 306, if the electronic device passes the face recognition verification of portrait detection, go to step 307, otherwise, go back to step 305;
步骤307、若电子设备进行人像检测的人脸识别验证通过,所述电子设备自动进行解锁。Step 307: If the electronic device passes the face recognition verification of the portrait detection, the electronic device is automatically unlocked.
本申请实施例的人脸解锁的方法,通过检测到电子设备的摄像头启动,判断是否接收到所述电子设备的解锁动作的指令,若判断接收到所述电子设备的解锁动作的指令,控制所述摄像头进入低功耗的第一模式,使用低功耗的第一模式进行人脸识别,若通过所述人脸识别验证,所述电子设备自动进行解锁,通过判断摄像头启动时需要进行人脸解锁的人脸识别,从而控制所述电子设备的摄像头进入低功耗的第一模式,通过第一模式进行人脸解锁,降低了电子设备进行人脸解锁时的电子设备的功耗,而又不影响人脸解锁。在不改动电子设备原来硬件的基础上,尤其是在电子设备使用的过程中,需要频繁进行解锁时,明显降低了电子设备在人脸解锁时的功耗,不增加电子设备的成本。In the face unlocking method of the embodiment of the present application, by detecting that the camera of the electronic device is activated, it is judged whether an instruction to unlock the electronic device has been received, and if it is determined that an instruction to unlock the electronic device has been received, the control unit The camera enters the first mode of low power consumption, and uses the first mode of low power consumption to perform face recognition. If the face recognition verification is passed, the electronic device is automatically unlocked. By judging that the camera needs to perform face recognition when it is started, Face recognition for unlocking, thereby controlling the camera of the electronic device to enter the first mode of low power consumption, and performing face unlocking through the first mode, which reduces the power consumption of the electronic device when the electronic device performs face unlocking, and Does not affect face unlock. On the basis of not changing the original hardware of the electronic device, especially when the electronic device needs to be unlocked frequently during the use of the electronic device, the power consumption of the electronic device during face unlocking is significantly reduced, and the cost of the electronic device is not increased.
请参阅图4,图4为本申请提供的人脸解锁的装置一个实施例的程序模块架构图,所述装置包括:Please refer to Figure 4, Figure 4 is a program module architecture diagram of an embodiment of the face unlocking device provided by the present application, the device includes:
判断模块40、用于若检测到电子设备的摄像头启动,判断是否接收到所述电子设备的解锁动作的指令。The judging module 40 is configured to judge whether an instruction of an unlocking action of the electronic device is received if it is detected that the camera of the electronic device is activated.
具体地,所述电子设备的摄像头,如果所述电子设备设置有固定的前置摄像头,可以指所述电子设备的前置摄像头;如果所述电子设备设置有可旋转的摄像头,尤其当所述摄像头可旋转到面对人脸解锁的人脸的角度时,可以指所述可旋转的摄像头。总之,所述电子设备的摄像头是指能够进行人脸解锁的摄像头。Specifically, the camera of the electronic device, if the electronic device is provided with a fixed front camera, may refer to the front camera of the electronic device; if the electronic device is provided with a rotatable camera, especially when the When the camera can be rotated to an angle facing the face for face unlocking, it may refer to the rotatable camera. In short, the camera of the electronic device refers to a camera capable of face unlocking.
所述解锁动作的指令,指电子设备处于亮屏状态时,凡是能触发显示屏幕解锁界面的动作,都包含在所述解锁动作的指令范围内,包括按下显示解锁界面按键的指令,或者滑动屏幕的指令,或者打开解锁显示界面上设置的应用程序的指令,比如拨打电话的应用程序,或者解锁的虚拟按键。The instruction of the unlocking action refers to that when the electronic device is in the bright screen state, any action that can trigger the display of the screen unlocking interface is included in the instruction range of the unlocking action, including the instruction of pressing the display unlocking interface button, or sliding An instruction on the screen, or an instruction to open an application set on the unlocking display interface, such as an application for making a call, or an unlocked virtual key.
若电子设备检测到所述电子设备的摄像头启动,表明所述电子设备处于亮屏状态,此时电子设备判断是否接收到解锁动作的指令,比如,是否接收到按下显示解锁界面按键的指令,或者滑动屏幕的指令,或者打开解锁显示界面上设置的应用程序的指令,比如拨打电话的应用程序,或者解锁的虚拟按键等凡是能触发显示屏幕解锁界面的动作。If the electronic device detects that the camera of the electronic device is activated, it indicates that the electronic device is in a bright screen state. At this time, the electronic device judges whether an unlocking action instruction has been received, for example, whether it has received an instruction to press and display an unlock interface button, Or an instruction to slide the screen, or an instruction to open an application program set on the unlocking display interface, such as an application program for making a call, or a virtual key for unlocking, etc., which can trigger the display of the screen unlocking interface.
启动模块42、若判断接收到所述电子设备的解锁动作的指令,控制所述摄像头进入第一模式,所述第一模式是所述摄像头的低功耗模式。The starting module 42, if it is determined that an instruction of an unlocking action of the electronic device is received, controls the camera to enter a first mode, and the first mode is a low power consumption mode of the camera.
具体地,若电子设备检测到所述电子设备的摄像头启动,进一步判断接收到所述电子设备的解锁动作的指令,表明所述电子设备的摄像头启动,是为了进行人脸解锁,则启动所述摄像头进入所述摄像头的低功耗模式,利用所述摄像头的第一模式的低功耗模式,对检测到的人脸图像进行处理,从而实现在电子设备进行人脸解锁时,降低电子设备的功耗。Specifically, if the electronic device detects that the camera of the electronic device is activated, and further judges that an instruction to unlock the electronic device has been received, indicating that the camera of the electronic device is activated for face unlocking, then the electronic device is activated. The camera enters the low power consumption mode of the camera, and uses the low power consumption mode of the first mode of the camera to process the detected face image, thereby reducing the power consumption of the electronic device when the electronic device performs face unlocking. power consumption.
若电子设备判断接收到所述电子设备的解锁动作的指令,表明所述电子设备要进行人脸解锁,此时启动所述摄像头进入所述摄像头的低功耗模式,进行人脸解锁,从而实现电子设备进行人脸解锁时,降低电子设备的人脸解锁的功耗。If the electronic device judges that it has received the instruction of the unlocking action of the electronic device, it indicates that the electronic device will perform face unlocking, and at this time start the camera to enter the low power consumption mode of the camera to perform face unlocking, thereby realizing When the electronic device performs face unlocking, the power consumption of the electronic device for face unlocking is reduced.
解锁模块44、使用所述第一模式,进行人脸识别,若通过所述人脸识别验证,所述电子设备自动进行解锁。The unlocking module 44 uses the first mode to perform face recognition, and if the face recognition verification is passed, the electronic device is automatically unlocked.
具体地,电子设备使用所述摄像头的第一模式的低功耗,进行人脸识别的图像的处理,若检测到的人脸信息与所述电子设备预存的人脸解锁的人脸信息匹配,判断通过所述人脸识别验证,所述电子设备自动进行解锁,从而实现所述电子设备通过人脸解锁时,实现电子设备的低功耗。Specifically, the electronic device uses the low power consumption of the first mode of the camera to process the image for face recognition, and if the detected face information matches the face information for face unlocking pre-stored in the electronic device, It is determined that the electronic device is automatically unlocked through the face recognition verification, so that when the electronic device is unlocked by the face, low power consumption of the electronic device is realized.
在一个实施例中,所述第一模式只包括人像检测功能。In one embodiment, the first mode only includes the portrait detection function.
具体地,电子设备为了实现通过人脸解锁时,降低电子设备的功耗,只启动所述摄像头中图像传感器的人像检测功能,所述摄像头中的图像传感器的其他功能均不开启,比如所述图像传感器的降噪功能和防抖功能等均不开启,以此来降低所述摄像头进行人脸解锁而进行人脸检测时的功耗,从而降低整个电子设备在进行人脸解锁时的功耗。Specifically, in order to reduce the power consumption of the electronic device when the electronic device is unlocked by the face, only the portrait detection function of the image sensor in the camera is enabled, and other functions of the image sensor in the camera are not enabled, such as the The noise reduction function and the anti-shake function of the image sensor are not turned on, so as to reduce the power consumption of the camera for face unlocking and face detection, thereby reducing the power consumption of the entire electronic device when performing face unlocking .
其中,电子设备的摄像头是指电子设备的成像设备,或者称为照相机,所述摄像头主要包括透镜和图像传感器。Wherein, the camera of the electronic device refers to an imaging device of the electronic device, or called a camera, and the camera mainly includes a lens and an image sensor.
在一个实施例中,判断模块40包括:In one embodiment, the judging module 40 includes:
第一判断单元,用于判断是否接收到打开所述电子设备的摄像头对应的应用程序的指令;A first judging unit, configured to judge whether an instruction to open an application program corresponding to the camera of the electronic device is received;
第二判断单元,用于若判断未接收到打开所述电子设备的摄像头对应的应用程序的指令,判断接收到所述电子设备的解锁动作的指令。The second judging unit is configured to judge that an instruction to unlock the electronic device is received if it is judged that the instruction to open the application program corresponding to the camera of the electronic device is not received.
具体地,电子设备判断是否接收到所述电子设备的解锁动作的指令,除了通过判断是否接收到触发显示屏幕解锁界面的动作,比如按下显示解锁界面按键的指令,或者滑动屏幕的指令,或者打开解锁显示界面上设置的应用程序的指令,还可以通过判断是否接收到打开所述电子设备的摄像头对应的应用程序的指令,比如所述电子设备上涉及到摄像头的应用程序,比如照相机、视频APP(应用程序,Application的缩写)、直播APP、或者摄像APP等应用程序。若电子设备判断接收到打开所述电子设备的摄像头对应的应用程序的指令,则判断所述摄像头的启动是上述应用程序打开引起的,否则,若电子设备判断未接收到打开所述电子设备的摄像头对应的应用程序的指令,则判断接收到所述电子设备的解锁动作的指令。Specifically, the electronic device judges whether an instruction to unlock the electronic device has been received, in addition to judging whether an action that triggers the display of the screen unlock interface is received, such as an instruction to press a button to display the unlock interface, or an instruction to slide the screen, or The command to open the application program set on the unlock display interface can also be determined by judging whether to receive the command to open the application program corresponding to the camera of the electronic device, such as the application program related to the camera on the electronic device, such as camera, video APP (application program, the abbreviation of Application), live broadcast APP, or camera APP and other applications. If the electronic device determines that it has received an instruction to open the application program corresponding to the camera of the electronic device, then it is determined that the camera is started due to the opening of the above application program; otherwise, if the electronic device determines that it has not received the instruction to open the electronic device If the instruction of the application program corresponding to the camera is used, it is determined that the instruction of the unlocking action of the electronic device is received.
在一个实施例中,所述方法还包括:In one embodiment, the method also includes:
第二模式进入模块,用于若判断接收到打开所述电子设备的摄像头对应的应用程序的指令,启动所述摄像头进入第二模式,所述第二模式的功耗大于所述第一模式的功耗。The second mode entry module is used to start the camera to enter the second mode if it is determined that an application program corresponding to the camera of the electronic device is received, and the power consumption of the second mode is greater than that of the first mode. power consumption.
具体地,若电子设备判断接收到打开所述电子设备的摄像头对应的应用程序的指令,则判断所述摄像头的启动是上述应用程序打开引起的,为了满足应用程序对图像的高质量的要求,比如满足图像清晰、美观等要求,启动所述摄像头的图像传感器进入第二模式,所述第二模式是包含了除人像检测外功能的模式,比如降噪功能和防抖功能等,因此所述第二模式的功耗大于所述第一模式的功耗。Specifically, if the electronic device determines that an instruction to open the application program corresponding to the camera of the electronic device is received, it is determined that the camera is started due to the opening of the above-mentioned application program. In order to meet the high-quality requirements of the application program for images, For example, to meet the requirements of clear and beautiful images, start the image sensor of the camera to enter the second mode. The second mode is a mode that includes functions other than portrait detection, such as noise reduction and anti-shake functions. Therefore, the The power consumption of the second mode is greater than the power consumption of the first mode.
在一个实施例中,所述第一模式的人像检测的人像尺寸被设置为等于或者小于预设尺寸阈值。In one embodiment, the portrait size of the portrait detection in the first mode is set to be equal to or smaller than a preset size threshold.
具体地,电子设备为了进一步降低人脸解锁时所述电子设备的功耗,可以控制所述电子设备的摄像头的图像传感器检测的人像的尺寸等于或者小于预设尺寸阈值,满足人脸解锁的需要即可,所述预设尺寸阈值的像素可以为640x480,也就是所述人像检测的图像的尺寸小于或者等于640x 480像素,可以为640x 480像素,也可以为320x 240像素等。由于人脸检测的图像尺寸控制在预设的较小范围内,所述摄像头的图像传感器输出的人像尺寸就变得很小,既可以满足人脸解锁时人像检测的需要,也可以降低人脸解锁时电子设备的功耗,还可以提高人脸解锁的电子设备的图像输出速度。Specifically, in order to further reduce the power consumption of the electronic device when the face is unlocked, the electronic device can control the size of the portrait detected by the image sensor of the camera of the electronic device to be equal to or smaller than the preset size threshold to meet the needs of face unlocking. That is, the pixels of the preset size threshold may be 640x480, that is, the size of the image detected by the portrait is less than or equal to 640x480 pixels, may be 640x480 pixels, or may be 320x240 pixels. Since the image size of face detection is controlled within a preset small range, the image size output by the image sensor of the camera becomes very small, which can not only meet the needs of face detection when face unlocking, but also reduce the size of the face. The power consumption of the electronic device when unlocking can also increase the image output speed of the electronic device for face unlocking.
在一个实施例中,所述第一模式的人像检测的图像输出帧率被设置为以预设帧率输出。In one embodiment, the image output frame rate of the portrait detection in the first mode is set to be output at a preset frame rate.
具体地,帧率(Frame rate)是用于测量显示帧数的量度。所谓的测量单位为每秒显示帧数(Frames per Second,简称:FPS)或“赫兹”(Hz)。每秒的帧数(fps)或者说帧率表示图形处理器处理场时每秒钟能够更新的次数。如果帧率过高,就会浪费图形处理处理器的能力。Specifically, frame rate (Frame rate) is a metric used to measure the number of displayed frames. The so-called measurement unit is the number of display frames per second (Frames per Second, referred to as: FPS) or "Hertz" (Hz). Frames per second (fps), or frame rate, indicates how many times per second the graphics processor can update a field. If the frame rate is too high, the power of the graphics processing processor will be wasted.
因此,电子设备为了进一步降低人脸解锁时所述电子设备的功耗,还可以控制所述电子设备的摄像头的图像传感器输出的图像的帧率,满足人脸解锁的需要即可。所述帧率取值的范围为每秒10~20帧,帧率也可以控制在每秒12~18帧,一般情况下,所述帧率选择控制在每秒15帧可以达到图像质量和功耗的较佳平衡状态,也可以满足人脸解锁时的使用要求,相比正常的每秒30帧的输出帧率,可以大大降低所述电子设备的功耗。Therefore, in order to further reduce the power consumption of the electronic device during face unlocking, the electronic device may also control the frame rate of the image output by the image sensor of the camera of the electronic device to meet the needs of face unlocking. The frame rate ranges from 10 to 20 frames per second, and the frame rate can also be controlled at 12 to 18 frames per second. In general, the frame rate selection is controlled at 15 frames per second to achieve image quality and performance. The better balanced state of power consumption can also meet the use requirements of face unlocking. Compared with the normal output frame rate of 30 frames per second, the power consumption of the electronic device can be greatly reduced.
在一个实施例中,所述第一模式的人像检测的时钟频率被设置为以预设比值在原时钟频率上降低。In one embodiment, the clock frequency of the portrait detection in the first mode is set to be lower than the original clock frequency by a preset ratio.
具体地,时钟频率(又译:时钟频率速度,英语:clock rate),是指同步电路中时钟的基础频率,它以“若干次周期每秒”来度量,量度单位采用SI单位赫兹(Hz)。电子设备中有许许多多的半导体芯片,每个芯片都是在特定的时钟频率下进行工作的。时钟发生器提供给芯片的时钟信号是一个连续的脉冲信号,而脉冲就相当于芯片的脉搏,每一次脉冲到来,芯片内的晶体管就改变一次状态,让整个芯片完成一定任务。Specifically, the clock frequency (also translated: clock frequency speed, English: clock rate) refers to the basic frequency of the clock in the synchronous circuit, which is measured by "several cycles per second", and the measurement unit adopts the SI unit Hertz (Hz) . There are many semiconductor chips in electronic equipment, and each chip works at a specific clock frequency. The clock signal provided by the clock generator to the chip is a continuous pulse signal, and the pulse is equivalent to the pulse of the chip. Every time a pulse arrives, the transistor in the chip changes state once, allowing the entire chip to complete a certain task.
电子设备为了进一步降低人脸解锁时所述电子设备的功耗,还可以降低所述电子设备的摄像头的图像传感器进行人像检测时的时钟频率,满足人脸解锁的需要即可。降低所述电子设备的摄像头的图像传感器的时钟频率可以通过编程利用IIC(Inter-Integrated Circuit,集成电路总线)通信协议来控制电子设备的时钟频率。所述第一模式的人像检测的时钟频率被设置为以预设比值在原时钟频率上降低,比如,所述第一模式的人像检测的时钟频率可以在原时钟频率的基础上降低40%,也就是所述第一模式的人像检测的时钟频率为所述原时钟频率的60%,从而降低人脸检测时图像的输出频率的速度,进而降低所述电子设备的功耗。In order to further reduce the power consumption of the electronic device when the face is unlocked, the electronic device can also reduce the clock frequency of the image sensor of the camera of the electronic device when performing portrait detection, so as to meet the needs of the face unlock. Reducing the clock frequency of the image sensor of the camera of the electronic device can control the clock frequency of the electronic device by using an IIC (Inter-Integrated Circuit, integrated circuit bus) communication protocol through programming. The clock frequency of the portrait detection in the first mode is set to be reduced from the original clock frequency by a preset ratio, for example, the clock frequency of the portrait detection in the first mode can be reduced by 40% on the basis of the original clock frequency, that is The clock frequency of the portrait detection in the first mode is 60% of the original clock frequency, thereby reducing the speed of image output frequency during face detection, thereby reducing the power consumption of the electronic device.
上述人脸解锁的装置中各个模块的划分仅用于举例说明,在其他实施例中,可将人脸解锁的装置按照需要划分为不同的模块,以完成上述人脸解锁的装置的全部或部分功能。The division of each module in the above-mentioned face unlocking device is only for illustration. In other embodiments, the face unlocking device can be divided into different modules according to needs, so as to complete all or part of the above-mentioned face unlocking device. Function.
上述人脸解锁的装置可以实现为一种计算机程序的形式,计算机程序可在如图1所示的电子设备上运行。The above-mentioned face unlocking device can be implemented in the form of a computer program, and the computer program can run on the electronic device as shown in FIG. 1 .
本申请实施例还提供了一种计算机可读存储介质。一个或多个包含计算机程序的非易失性计算机可读存储介质,当所述计算机程序被一个或多个处理器执行时,使得所述处理器执行以下步骤:The embodiment of the present application also provides a computer-readable storage medium. One or more non-transitory computer-readable storage media containing a computer program that, when executed by one or more processors, causes the processors to:
一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行以上各实施例中所描述的人脸解锁的方法的步骤。A computer program product containing instructions, when running on a computer, causes the computer to execute the steps of the face unlocking method described in the above embodiments.
本申请实施例还提供一种电子设备。上述计算机设备中包括图像处理电路,图像处理电路可以利用硬件和/或软件组件实现,可包括定义ISP(Image Signal Processing,图像信号处理)管线的各种处理单元。图5为一个实施例中图像处理电路的示意图。如图5所示,为便于说明,仅示出与本申请实施例相关的图像处理技术的各个方面。The embodiment of the present application also provides an electronic device. The above computer equipment includes an image processing circuit, which may be implemented by hardware and/or software components, and may include various processing units defining an ISP (Image Signal Processing, image signal processing) pipeline. Fig. 5 is a schematic diagram of an image processing circuit in one embodiment. As shown in FIG. 5 , for ease of description, only various aspects of the image processing technology related to the embodiment of the present application are shown.
如图5所示,图像处理电路包括ISP图像信号处理器540和控制逻辑器550。成像设备510捕捉的图像数据首先由ISP图像信号处理器540处理,ISP图像信号处理器540对图像数据进行分析以捕捉可用于确定和/或成像设备510的一个或多个控制参数的图像统计信息。成像设备510可包括具有一个或多个透镜512和图像传感器514的照相机。图像传感器514可包括色彩滤镜阵列(如Bayer滤镜),图像传感器514可获取用图像传感器514的每个成像像素捕捉的光强度和波长信息,并提供可由ISP图像信号处理器540处理的一组原始图像数据。传感器520(如陀螺仪)可基于传感器520接口类型把采集的图像处理的参数(如防抖参数)提供给ISP图像信号处理器540。传感器520接口可以利用SMIA(Standard MobileImaging Architecture,标准移动成像架构)接口、其它串行或并行照相机接口或上述接口的组合。As shown in FIG. 5 , the image processing circuit includes an ISP image signal processor 540 and a control logic 550 . Image data captured by imaging device 510 is first processed by ISP image signal processor 540, which analyzes the image data to capture image statistics that can be used to determine and/or control one or more parameters of imaging device 510 . Imaging device 510 may include a camera having one or more lenses 512 and an image sensor 514 . The image sensor 514 can include a color filter array (such as a Bayer filter), and the image sensor 514 can obtain light intensity and wavelength information captured by each imaging pixel of the image sensor 514, and provide a color filter that can be processed by the ISP image signal processor 540. Group raw image data. The sensor 520 (such as a gyroscope) can provide the collected image processing parameters (such as anti-shake parameters) to the ISP image signal processor 540 based on the interface type of the sensor 520 . The interface of the sensor 520 may utilize a SMIA (Standard Mobile Imaging Architecture, Standard Mobile Imaging Architecture) interface, other serial or parallel camera interfaces, or a combination of the above interfaces.
此外,图像传感器514也可将原始图像数据发送给传感器520,传感器520可基于传感器520接口类型把原始图像数据提供给ISP图像信号处理器540,或者传感器520将原始图像数据存储到图像存储器530中。In addition, the image sensor 514 can also send raw image data to the sensor 520, and the sensor 520 can provide the raw image data to the ISP image signal processor 540 based on the interface type of the sensor 520, or the sensor 520 can store the raw image data in the image memory 530 .
ISP图像信号处理器540按多种格式逐个像素地处理原始图像数据。例如,每个图像像素可具有8、10、12或14比特的位深度,ISP图像信号处理器540可对原始图像数据进行一个或多个图像处理操作、收集关于图像数据的统计信息。其中,图像处理操作可按相同或不同的位深度精度进行。The ISP image signal processor 540 processes raw image data pixel by pixel in various formats. For example, each image pixel may have a bit depth of 8, 10, 12, or 14 bits, and the ISP image signal processor 540 may perform one or more image processing operations on raw image data, collect statistical information about the image data. Among other things, image processing operations can be performed with the same or different bit depth precision.
ISP图像信号处理器540还可从图像存储器530接收图像数据。例如,传感器520接口将原始图像数据发送给图像存储器530,图像存储器530中的原始图像数据再提供给ISP图像信号处理器540以供处理。图像存储器530可为存储器装置的一部分、存储设备、或电子设备内的独立的专用存储器,并可包括DMA(Direct Memory Access,直接直接存储器存取)特征。The ISP image signal processor 540 may also receive image data from the image memory 530 . For example, the sensor 520 interface sends the original image data to the image memory 530, and the original image data in the image memory 530 is provided to the ISP image signal processor 540 for processing. The image memory 530 may be a part of a memory device, a storage device, or an independent dedicated memory in an electronic device, and may include a DMA (Direct Memory Access, Direct Memory Access) feature.
当接收到来自图像传感器514接口或来自传感器520接口或来自图像存储器930的原始图像数据时,ISP图像信号处理器540可进行一个或多个图像处理操作,如时域滤波。处理后的图像数据可发送给图像存储器530,以便在被显示之前进行另外的处理。ISP图像信号处理器540从图像存储器530接收处理数据,并对所述处理数据进行原始域中以及RGB和YCbCr颜色空间中的图像数据处理。ISP图像信号处理器540处理后的图像数据可输出给显示器570,以供用户观看和/或由图形引擎或GPU(Graphics Processing Unit,图形处理器)进一步处理。此外,ISP图像信号处理器540的输出还可发送给图像存储器530,且显示器570可从图像存储器530读取图像数据。在一个实施例中,图像存储器530可被配置为实现一个或多个帧缓冲器。此外,ISP图像信号处理器540的输出可发送给编码器/解码器560,以便编码/解码图像数据。编码的图像数据可被保存,并在显示于显示器570设备上之前解压缩。编码器/解码器560可由CPU或GPU或协处理器实现。When receiving raw image data from the image sensor 514 interface or from the sensor 520 interface or from the image memory 930, the ISP image signal processor 540 may perform one or more image processing operations, such as temporal filtering. The processed image data may be sent to image memory 530 for additional processing before being displayed. The ISP image signal processor 540 receives processed data from the image memory 530 and performs image data processing in the original domain and in the RGB and YCbCr color spaces on the processed data. The image data processed by the ISP image signal processor 540 may be output to the display 570 for viewing by the user and/or for further processing by a graphics engine or a GPU (Graphics Processing Unit, graphics processor). In addition, the output of the ISP image signal processor 540 may also be sent to the image memory 530 , and the display 570 may read image data from the image memory 530 . In one embodiment, image memory 530 may be configured to implement one or more frame buffers. Also, the output of the ISP image signal processor 540 may be sent to an encoder/decoder 560 for encoding/decoding image data. The encoded image data may be saved and decompressed prior to display on the display 570 device. Encoder/decoder 560 may be implemented by a CPU or GPU or a coprocessor.
ISP图像信号处理器540确定的统计数据可发送给控制逻辑器550单元。例如,统计数据可包括自动曝光、自动白平衡、自动聚焦、闪烁检测、黑电平补偿、透镜512阴影校正等图像传感器514统计信息。控制逻辑器550可包括执行一个或多个例程(如固件)的处理器和/或微控制器,一个或多个例程可根据接收的统计数据,确定成像设备510的控制参数及ISP图像信号处理器540的控制参数。例如,成像设备510的控制参数可包括传感器520控制参数(例如增益、曝光控制的积分时间、防抖参数等)、照相机闪光控制参数、透镜512控制参数(例如聚焦或变焦用焦距)、或这些参数的组合。ISP控制参数可包括用于自动白平衡和颜色调整(例如,在RGB处理期间)的增益水平和色彩校正矩阵,以及透镜512阴影校正参数。The statistical data determined by the ISP image signal processor 540 may be sent to the control logic 550 unit. For example, statistical data may include image sensor 514 statistical information such as auto exposure, auto white balance, auto focus, flicker detection, black level compensation, lens 512 shading correction, and the like. Control logic 550 may include a processor and/or microcontroller executing one or more routines (e.g., firmware) that may determine control parameters for imaging device 510 and ISP image based on received statistical data. Control parameters of the signal processor 540 . For example, the control parameters of the imaging device 510 may include sensor 520 control parameters (such as gain, integration time for exposure control, anti-shake parameters, etc.), camera flash control parameters, lens 512 control parameters (such as focal length for focusing or zooming), or these combination of parameters. ISP control parameters may include gain levels and color correction matrices for automatic white balance and color adjustment (eg, during RGB processing), as well as lens 512 shading correction parameters.
以下为运用图5中图像处理技术实现人脸解锁的方法的步骤:The following are the steps of using the image processing technology in Figure 5 to realize the method of face unlocking:
若检测到电子设备的摄像头启动,判断是否接收到所述电子设备的解锁动作的指令;If it is detected that the camera of the electronic device is activated, it is judged whether an instruction for unlocking the electronic device is received;
若判断接收到所述电子设备的解锁动作的指令,控制所述摄像头进入第一模式,所述第一模式是所述摄像头的低功耗模式;If it is judged that an instruction to unlock the electronic device is received, control the camera to enter a first mode, where the first mode is a low power consumption mode of the camera;
使用所述第一模式,进行人脸识别,若通过所述人脸识别验证,所述电子设备自动进行解锁。Using the first mode, face recognition is performed, and if the face recognition verification is passed, the electronic device is automatically unlocked.
在一个实施例中,所述判断是否接收到所述电子设备的解锁动作的指令的步骤包括:In one embodiment, the step of judging whether an instruction to unlock the electronic device is received includes:
判断是否接收到打开所述电子设备的摄像头对应的应用程序的指令;judging whether an instruction to open the application program corresponding to the camera of the electronic device is received;
若判断未接收到打开所述电子设备的摄像头对应的应用程序的指令,判断接收到所述电子设备的解锁动作的指令。If it is determined that the instruction to open the application program corresponding to the camera of the electronic device is not received, it is determined that an instruction to unlock the electronic device is received.
在一个实施例中,所述方法还包括:In one embodiment, the method also includes:
若判断接收到打开所述电子设备的摄像头对应的应用程序的指令,启动所述摄像头进入第二模式,所述第二模式的功耗大于所述第一模式的功耗。If it is determined that an instruction to open the application program corresponding to the camera of the electronic device is received, the camera is started to enter a second mode, and the power consumption of the second mode is greater than the power consumption of the first mode.
在一个实施例中,所述第一模式只包括人像检测。In one embodiment, the first mode includes only portrait detection.
在一个实施例中,所述第一模式的人像检测的人像尺寸被设置为等于或者小于预设尺寸阈值。In one embodiment, the portrait size of the portrait detection in the first mode is set to be equal to or smaller than a preset size threshold.
在一个实施例中,所述第一模式的人像检测的图像输出帧率被设置为以预设帧率输出。In one embodiment, the image output frame rate of the portrait detection in the first mode is set to be output at a preset frame rate.
在一个实施例中,所述第一模式的人像检测的时钟频率被设置为以预设比值在原时钟频率上降低。In one embodiment, the clock frequency of the portrait detection in the first mode is set to be lower than the original clock frequency by a preset ratio.
本申请实施例还提供了一种计算机程序产品。一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述各实施例中所描述的人脸解锁的方法的步骤。The embodiment of the present application also provides a computer program product. A computer program product containing instructions, when running on a computer, causes the computer to execute the steps of the face unlocking method described in the above embodiments.
本申请所使用的对存储器、存储、数据库或其它介质的任何引用可包括非易失性和/或易失性存储器。合适的非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM),它用作外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDR SDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)。Any reference to memory, storage, database, or other medium as used herein may include non-volatile and/or volatile memory. Suitable nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in many forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), Synchronous Synchlink DRAM (SLDRAM), Memory Bus (Rambus) Direct RAM (RDRAM), Direct Memory Bus Dynamic RAM (DRDRAM), and Memory Bus Dynamic RAM (RDRAM).
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation modes of the present application, and the description thereof is relatively specific and detailed, but should not be construed as limiting the patent scope of the present application. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the scope of protection of the patent application should be based on the appended claims.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711065924.XA CN107657167A (en) | 2017-11-02 | 2017-11-02 | Face unlocking method, device, computer-readable storage medium and electronic device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711065924.XA CN107657167A (en) | 2017-11-02 | 2017-11-02 | Face unlocking method, device, computer-readable storage medium and electronic device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN107657167A true CN107657167A (en) | 2018-02-02 |
Family
ID=61096407
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201711065924.XA Pending CN107657167A (en) | 2017-11-02 | 2017-11-02 | Face unlocking method, device, computer-readable storage medium and electronic device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107657167A (en) |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108573138A (en) * | 2018-03-30 | 2018-09-25 | 广东欧珀移动通信有限公司 | Electronic device, unlocking control method, and related products |
| CN108875344A (en) * | 2018-06-25 | 2018-11-23 | Oppo(重庆)智能科技有限公司 | A kind of electronic equipment control method, electronic appliance controlling device and electronic equipment |
| CN109683698A (en) * | 2018-12-25 | 2019-04-26 | Oppo广东移动通信有限公司 | Payment verification method, apparatus, electronic equipment and computer readable storage medium |
| CN110933294A (en) * | 2019-11-04 | 2020-03-27 | 深圳传音控股股份有限公司 | An image processing method, terminal and computer storage medium |
| WO2020077523A1 (en) * | 2018-10-16 | 2020-04-23 | 华为技术有限公司 | Method used for recognizing user behavior, chip and terminal |
| CN111511002A (en) * | 2020-04-23 | 2020-08-07 | Oppo广东移动通信有限公司 | Method and device for adjusting detection frame rate, terminal and readable storage medium |
| CN112351194A (en) * | 2020-08-31 | 2021-02-09 | 华为技术有限公司 | Service processing method and device |
| CN112929469A (en) * | 2018-06-12 | 2021-06-08 | Oppo广东移动通信有限公司 | Sliding mechanism control method, sliding mechanism control device, electronic equipment and storage medium |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105959530A (en) * | 2016-04-26 | 2016-09-21 | 乐视控股(北京)有限公司 | Method and system for invoking a camera function according to an individualized property of an application |
| CN107172345A (en) * | 2017-04-07 | 2017-09-15 | 深圳市金立通信设备有限公司 | A kind of image processing method and terminal |
-
2017
- 2017-11-02 CN CN201711065924.XA patent/CN107657167A/en active Pending
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105959530A (en) * | 2016-04-26 | 2016-09-21 | 乐视控股(北京)有限公司 | Method and system for invoking a camera function according to an individualized property of an application |
| CN107172345A (en) * | 2017-04-07 | 2017-09-15 | 深圳市金立通信设备有限公司 | A kind of image processing method and terminal |
Cited By (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108573138B (en) * | 2018-03-30 | 2020-04-21 | Oppo广东移动通信有限公司 | Electronic device, unlocking control method and related products |
| CN108573138A (en) * | 2018-03-30 | 2018-09-25 | 广东欧珀移动通信有限公司 | Electronic device, unlocking control method, and related products |
| CN112929469A (en) * | 2018-06-12 | 2021-06-08 | Oppo广东移动通信有限公司 | Sliding mechanism control method, sliding mechanism control device, electronic equipment and storage medium |
| CN112929469B (en) * | 2018-06-12 | 2023-09-01 | Oppo广东移动通信有限公司 | Sliding mechanism control method, device, electronic device and storage medium |
| CN108875344A (en) * | 2018-06-25 | 2018-11-23 | Oppo(重庆)智能科技有限公司 | A kind of electronic equipment control method, electronic appliance controlling device and electronic equipment |
| WO2020077523A1 (en) * | 2018-10-16 | 2020-04-23 | 华为技术有限公司 | Method used for recognizing user behavior, chip and terminal |
| CN109683698A (en) * | 2018-12-25 | 2019-04-26 | Oppo广东移动通信有限公司 | Payment verification method, apparatus, electronic equipment and computer readable storage medium |
| CN110933294A (en) * | 2019-11-04 | 2020-03-27 | 深圳传音控股股份有限公司 | An image processing method, terminal and computer storage medium |
| CN111511002A (en) * | 2020-04-23 | 2020-08-07 | Oppo广东移动通信有限公司 | Method and device for adjusting detection frame rate, terminal and readable storage medium |
| CN111511002B (en) * | 2020-04-23 | 2023-12-05 | Oppo广东移动通信有限公司 | Method and device for adjusting detection frame rate, terminal and readable storage medium |
| WO2022042211A1 (en) * | 2020-08-31 | 2022-03-03 | 华为技术有限公司 | Service processing method and device |
| CN112351194A (en) * | 2020-08-31 | 2021-02-09 | 华为技术有限公司 | Service processing method and device |
| EP4198812A4 (en) * | 2020-08-31 | 2024-02-28 | Huawei Technologies Co., Ltd. | SERVICE PROCESSING METHOD AND DEVICE |
| US12279038B2 (en) | 2020-08-31 | 2025-04-15 | Huawei Technologies Co., Ltd. | Service processing method and device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107657167A (en) | Face unlocking method, device, computer-readable storage medium and electronic device | |
| CN107909686B (en) | Method and device for unlocking human face, computer readable storage medium and electronic equipment | |
| CN108322669B (en) | Image acquisition method and device, imaging device and readable storage medium | |
| CN109068067B (en) | Exposure control method and device and electronic equipment | |
| CN107592473A (en) | Exposure parameter adjustment method, device, electronic device and readable storage medium | |
| CN109040609B (en) | Exposure control method, exposure control device, electronic equipment and computer-readable storage medium | |
| CN108683862B (en) | Imaging control method, imaging control device, electronic equipment and computer-readable storage medium | |
| CN108734676B (en) | Image processing method and apparatus, electronic device, computer-readable storage medium | |
| US20200045219A1 (en) | Control method, control apparatus, imaging device, and electronic device | |
| CN107945107A (en) | Image processing method, device, computer-readable storage medium, and electronic device | |
| CN107481186B (en) | Image processing method, apparatus, computer-readable storage medium, and computer device | |
| CN107509044B (en) | Image synthesis method, image synthesis device, computer-readable storage medium and computer equipment | |
| WO2020057199A1 (en) | Imaging method and device, and electronic device | |
| CN109327626B (en) | Image acquisition method and device, electronic equipment and computer readable storage medium | |
| CN110191291A (en) | Image processing method and device based on multi-frame images | |
| CN108769508B (en) | Data processing method, apparatus, computer-readable storage medium and electronic device | |
| CN108520493A (en) | Image replacement processing method, device, storage medium and electronic equipment | |
| CN108419022A (en) | Control method, control device, computer-readable storage medium, and computer apparatus | |
| CN108833802A (en) | Exposure control method and device and electronic equipment | |
| CN109523456B (en) | Image processing method and device, electronic equipment and computer readable storage medium | |
| CN110475067A (en) | Image processing method and device, electronic equipment, computer readable storage medium | |
| CN107454322A (en) | Photographing method, device, computer storage medium and mobile terminal | |
| CN108492266A (en) | Image processing method, image processing device, storage medium and electronic equipment | |
| CN116437222A (en) | Image processing method and electronic device | |
| CN108900785A (en) | Exposure control method and device and electronic equipment |
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 | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180202 |