WO2022127480A1 - Facial recognition method and related device - Google Patents

Facial recognition method and related device Download PDF

Info

Publication number
WO2022127480A1
WO2022127480A1 PCT/CN2021/131045 CN2021131045W WO2022127480A1 WO 2022127480 A1 WO2022127480 A1 WO 2022127480A1 CN 2021131045 W CN2021131045 W CN 2021131045W WO 2022127480 A1 WO2022127480 A1 WO 2022127480A1
Authority
WO
WIPO (PCT)
Prior art keywords
face
image
pixels
pixel
real
Prior art date
Application number
PCT/CN2021/131045
Other languages
French (fr)
Chinese (zh)
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 展讯通信(天津)有限公司
Publication of WO2022127480A1 publication Critical patent/WO2022127480A1/en

Links

Images

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • 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
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/40Spoof detection, e.g. liveness detection
    • G06V40/45Detection of the body part being alive

Definitions

  • the invention relates to the field of image recognition, in particular to a face recognition method and related equipment.
  • face recognition technology has been applied to more fields. For example, face payment, access control recognition, and remote transactions.
  • face recognition technology has been applied to more fields. For example, face payment, access control recognition, and remote transactions.
  • a common solution in the prior art is to adopt an interactive verification method. Specifically, the user makes a specified action according to the prompt, and when the user completes the specified action, the verification is deemed to be passed.
  • such methods require the user to perform multiple sets of actions, the recognition process is long, the user experience is poor, and the system is prone to misjudgment when the user interacts. Therefore, how to accurately and quickly recognize the face of a living body is a problem to be solved at present.
  • embodiments of the present invention provide a face recognition method and system, which can improve the accuracy of living face recognition.
  • an embodiment of the present invention provides a face recognition method, including:
  • the pixels included in the face area image are divided into real face pixels, fake face pixels and non-face pixels;
  • Whether the image to be detected is a living face image is determined according to the proportion of the number of real face pixels in the face area image.
  • the image of the face area is identified from the image to be detected, and each pixel in the image of the face area is divided into real face pixels, fake face pixels and non-face pixels, and according to the number of real face pixels.
  • the proportion occupied in the image of the face area determines whether the image to be detected is a living face image. As a result, the accuracy of live face recognition can be improved.
  • the pixels included in the face region image are divided into real face pixels, fake face pixels and non-face pixels according to the real face pixel features, the fake face pixel features and the non-face pixel features pixels, including:
  • the first recognition model determines, according to the real face pixel feature, the fake face pixel feature and the non-face pixel feature, each pixel included in the face region image as the real face pixel, the fake face pixel and the non-face pixel respectively. .
  • the first recognition model obtained by training includes:
  • the training image set includes: a living face image and a non-living face image; each pixel of the living face image and the non-living face image is marked with a pixel point respectively type, the pixel type includes real face pixels, fake face pixels and non-face pixels; the test image set includes test face images;
  • the first recognition model is trained by using the features of real face pixels, fake face pixels and non-face pixels included in each image of the training image set, so that the first recognition model learns the features of real face pixels, fake face pixels and fake face pixels.
  • Features and non-face pixel features
  • a pixel classification test is performed on the first recognition model, so that the first recognition model classifies each pixel in the test face image.
  • determining whether the to-be-detected image is a living face image is determined according to the proportion of the number of real face pixels in the face region image, including:
  • the to-be-detected image is a living face image.
  • determining whether the image to be detected is a living face image is determined according to the ratio of the real face pixels to the fake face pixels and/or the number of the non-face pixels, including:
  • Whether the image to be detected is a living face image is determined according to the ratio of the number of real face pixels to the sum of the first pixels, wherein the sum of the first pixels is the difference between the real face pixels and the fake face pixels sum of numbers.
  • determining whether the image to be detected is a living face image is determined according to the ratio of the number of real face pixels to the sum of the first pixels, including:
  • the ratio of the number of real face pixels to the sum of the first pixels is greater than or equal to the first threshold, then determine that the image to be detected is a living face image
  • the to-be-detected image is a non-living face image.
  • an embodiment of the present invention provides a face recognition device, including:
  • the recognition module is used to recognize the face area image from the image to be detected
  • a pixel classification module used for dividing the pixels contained in the face region image into real face pixels, fake face pixels and non-face pixels according to the real face pixel feature, the fake face pixel feature and the non-face pixel feature;
  • the determining module determines whether the to-be-detected image is a living human face image according to the proportion of the number of real face pixels in the face region image.
  • the pixel classification module is configured to classify the pixels contained in the face region image into real face pixels according to real face pixel features, fake face pixel features and non-face pixel features , fake face pixels, and non-face pixels, including:
  • the first recognition model determines, according to the real face pixel feature, the fake face pixel feature and the non-face pixel feature, each pixel included in the face region image as the real face pixel, the fake face pixel and the non-face pixel respectively. .
  • the face recognition device includes:
  • At least one memory communicatively coupled to the processor, wherein:
  • the memory stores program instructions executable by the processor, the processor invoking the program instructions capable of performing the method as provided in the first aspect of the claim.
  • embodiments of the present invention provide a non-transitory computer-readable storage medium, where the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions cause the computer to execute the method provided in the first aspect.
  • FIG. 1 is a flowchart of a face recognition method provided by an embodiment of the present invention.
  • FIG. 2 is a flowchart of another face recognition method provided by an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a face recognition device according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • each pixel in the face area is divided into three categories: real face pixels, fake face pixels, and non-face pixels, and according to the real face pixels
  • the ratio between face pixels and face area pixels determines whether the image to be detected is a living body.
  • FIG. 1 is a flowchart of a face recognition method provided by an embodiment of the present invention. As shown in FIG. 1 , the above-mentioned face recognition method may include:
  • Step 101 Identify the face region image from the image to be detected.
  • the image to be detected may be an image captured by a camera of the detection terminal. From the images captured by the camera, one or several frames of images are selected as the images to be detected.
  • the detection terminal may be a mobile phone, an automatic teller machine of a bank, etc.
  • the detection terminal takes an image of the object to be detected and saves it by setting a camera. For the saved image of the object to be detected, the face part in the image can be identified, and an image of the face region corresponding to the image to be detected can be obtained.
  • the image of the face area may be an image of a rectangular frame area including a face in the image to be detected.
  • Step 102 According to the real face pixel feature, the fake face pixel feature and the non-face pixel feature, the pixels included in the face region image are divided into real face pixels, fake face pixels and non-face pixels.
  • the image of the face region identified from the image to be detected is a rectangle, while the face is actually an ellipse. Therefore, the face area image will contain some non-face parts, such as the background environment, and the corresponding pixels on the face area image are non-face pixels.
  • the corresponding pixels on the face region image are real face pixels.
  • the corresponding pixels on the face area image are fake face pixels.
  • each pixel in the face region image can be classified according to the real face pixel feature, the fake face pixel feature, and the non-face pixel feature, and the classification of each pixel in the face region image is obtained to obtain the classification status of each pixel in the face region image. Avoid the interference of non-face parts or fake face parts to face recognition.
  • Step 103 Determine whether the to-be-detected image is a living human face image according to the proportion of the number of real face pixels in the face region image. For example, when the proportion of the number of real face pixels in the face area image is greater than or equal to 70%, it can be determined that the image to be detected is a living face image. If the proportion of real face pixels in the face area image is less than 70%, it can be determined that the image to be detected is not a living face image.
  • each pixel in the face region can be classified by the recognition model.
  • the steps of the method include: inputting the face region image into a first recognition model; the first recognition model, according to the real face pixel feature, the false face pixel feature and the non-face pixel feature, The pixels are determined as real face pixels, fake face pixels and non-face pixels respectively.
  • the first recognition model may be, for example, a recognition model obtained by deep learning based on a convolutional neural network.
  • the training method of the first recognition model is shown in FIG. 2 , and the method steps include:
  • Step 201 Determine a training image set and a test image set.
  • the training image set includes: living face images and non-living face images. Each pixel of the living face image and the non-living face image is respectively marked with a pixel type, and the pixel type includes real face pixels, fake face pixels and non-face pixels.
  • the set of test images includes test face images.
  • Step 202 utilize the features of real face pixels, fake face pixels and non-face pixels included in each image of the training image set to train the first recognition model, so that the first recognition model learns the real face pixel features, Fake face pixel features and non-face pixel features.
  • Step 203 using the test face image included in the test image set to perform a pixel classification test on the first recognition model, so that the first recognition model classifies each pixel in the test face image .
  • the first recognition model can have the ability to recognize real face pixels, fake face pixels and non-face pixels.
  • the first recognition model can classify each pixel in the image to be detected.
  • the non-face pixels can be eliminated as interference items, and only the real face pixels and the The relationship between the fake face pixels is used to determine whether the image to be detected is a living human face.
  • the method includes: determining the ratio of the number of real face pixels to the sum of the first pixels; if the ratio is greater than or equal to the first threshold, Then, it is determined that the image to be detected is a living face image; otherwise, it is determined that the image to be detected is a non-living face image.
  • the sum of the first pixels may be the sum of the number of fake face pixels, the sum of the number of non-human face pixels, or the sum of the numbers of real face pixels and fake face pixels.
  • the face region image of the image to be detected includes 1000 real face pixels, 100 fake face pixels, and 200 non-face pixels
  • the first threshold may be 0.8.
  • the sum of the first pixel values is the sum of the real face pixels and the fake face pixels
  • the sum of the first pixels is 1100
  • the ratio of the real face pixels to the sum of the first pixels is 1000/1100.
  • the ratio of the real face pixel to the sum of the first pixel is greater than the first threshold, and it can be determined that the image to be detected is a living face image.
  • the interference of non-face factors can be excluded, and the accuracy of live face recognition can be improved.
  • the face recognition system may include: a recognition module 301 , a pixel classification module 302 and a determination module 303 . in,
  • the identification module 301 is used to identify the image of the face region from the image to be detected.
  • the pixel classification module 302 is configured to divide the pixels included in the face region image into real face pixels, fake face pixels and non-face pixels according to the real face pixel features, the fake face pixel features and the non-face pixel features.
  • the determining module 303 is configured to determine whether the to-be-detected image is a living human face image according to the proportion of the number of real face pixels in the face region image.
  • the pixel classification module 302 is specifically configured to: input the face region image into a first recognition model; the first recognition model is based on real face pixel features, fake face pixel features and non-face pixels feature, and each pixel included in the face region image is determined as a real face pixel, a fake face pixel and a non-face pixel, respectively.
  • the face recognition system provided by the embodiment shown in FIG. 3 can be used to implement the technical solutions of the method embodiments shown in FIG. 1 to FIG. 2 of this specification, and the implementation principle and technical effect can further refer to the relevant descriptions in the method embodiments.
  • FIG. 4 is a schematic structural diagram of an embodiment of an electronic device in this specification.
  • the electronic device may include at least one processor; and at least one memory communicatively connected to the processor, wherein: the memory stores data that can be processed
  • the above-mentioned processor invokes the above-mentioned program instructions to execute the face recognition method provided by the embodiment shown in FIG. 1 of this specification.
  • FIG. 4 shows a block diagram of an exemplary electronic device suitable for use in implementing embodiments of the present specification.
  • the electronic device shown in FIG. 4 is only an example, and should not impose any limitation on the function and scope of use of the embodiments of the present specification.
  • the electronic device takes the form of a general-purpose computing device.
  • Components of an electronic device may include, but are not limited to, one or more processors 410 , a communication interface 420 , a memory 430 , a communication bus 440 connecting various system components including memory 430 , communication interface 420 and processing unit 410 .
  • Communication bus 440 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus structures.
  • these architectures include, but are not limited to, Industry Standard Architecture (hereinafter referred to as: ISA) bus, Micro Channel Architecture (hereinafter referred to as: MAC) bus, enhanced ISA bus, video electronics Standards Association (Video Electronics Standards Association; hereinafter referred to as: VESA) local bus and Peripheral Component Interconnection (Peripheral Component Interconnection; hereinafter referred to as: PCI) bus.
  • ISA Industry Standard Architecture
  • MAC Micro Channel Architecture
  • VESA Video Electronics Standards Association
  • PCI Peripheral Component Interconnection
  • Electronic devices typically include various computer system readable media. These media can be any available media that can be accessed by the electronic device, including both volatile and nonvolatile media, removable and non-removable media.
  • the memory 430 may include a computer system readable medium in the form of volatile memory, such as random access memory (Random Access Memory; hereinafter referred to as: RAM) and/or cache memory.
  • RAM random access memory
  • the electronic device may further include other removable/non-removable, volatile/non-volatile computer system storage media.
  • Memory 330 may include at least one program product having a set (eg, at least one) of program modules configured to perform the functions of various embodiments of the present invention.
  • Program modules typically perform the functions and/or methods of the embodiments described in this specification.
  • the processor 410 executes various functional applications and data processing by running the programs stored in the memory 430 , for example, implementing the face recognition method provided by the embodiments shown in FIGS. 1 to 2 of this specification.
  • Embodiments of this specification provide a non-transitory computer-readable storage medium, where the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions cause the computer to execute the embodiments shown in FIG. 1 to FIG. 2 of this specification Provided face recognition method.
  • the above-described non-transitory computer-readable storage media may employ any combination of one or more computer-readable media.
  • the computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium.
  • the computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above.
  • a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a propagated data signal in baseband or as part of a carrier wave, with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .
  • Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
  • Computer program code for carrying out the operations of this specification may be written in one or more programming languages, including object-oriented programming languages—such as Java, Smalltalk, C++, but also conventional Procedural programming language - such as the "C" language or similar programming language.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server.
  • the remote computer can be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or Wide Area Network (WAN), or it can Connect to an external computer (eg via the Internet using an Internet Service Provider).
  • LAN Local Area Network
  • WAN Wide Area Network
  • Internet Service Provider e.g via the Internet using an Internet Service Provider
  • first and second are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature delimited with “first”, “second” may expressly or implicitly include at least one of that feature.
  • plurality means at least two, such as two, three, etc., unless otherwise expressly and specifically defined.
  • the word “if” as used herein can be interpreted as “at” or “when” or “in response to determining” or “in response to detecting.”
  • the phrases “if determined” or “if detected (the stated condition or event)” can be interpreted as “when determined” or “in response to determining” or “when detected (the stated condition or event),” depending on the context )” or “in response to detection (a stated condition or event)”.
  • terminals involved in the embodiments of this specification may include but are not limited to personal computers (Personal Computer; hereinafter referred to as: PC), personal digital assistants (Personal Digital Assistant; hereinafter referred to as: PDA), wireless handheld devices, tablet Computer (Tablet Computer), mobile phone, MP3 player, MP4 player, etc.
  • PC Personal Computer
  • PDA Personal Digital Assistant
  • Tablet Computer Tablet Computer
  • mobile phone MP3 player, MP4 player, etc.
  • the disclosed system, apparatus and method may be implemented in other manners.
  • the apparatus embodiments described above are only illustrative.
  • the division of the units is only a logical function division.
  • multiple units or components may be combined.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • each functional unit in each embodiment of this specification may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.
  • the above-mentioned integrated units implemented in the form of software functional units can be stored in a computer-readable storage medium.
  • the above-mentioned software functional unit is stored in a storage medium, and includes several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (Processor) to execute the methods described in the various embodiments of this specification. some steps.
  • the aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (Read-Only Memory; hereinafter referred to as: ROM), Random Access Memory (Random Access Memory; hereinafter referred to as: RAM), magnetic disk or optical disk and other various A medium on which program code can be stored.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Artificial Intelligence (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Molecular Biology (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Evolutionary Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Image Analysis (AREA)

Abstract

The present invention relates to the technical field of image recognition, and particularly relates to a facial recognition method and a related device. The method comprises: identifying a facial area image from an image to be subjected to detection; according to a real facial pixel feature, a false facial pixel feature and a non-facial pixel feature, classifying pixel points included in the facial area image into real facial pixels, false facial pixels and non-facial pixels; and determining, according to the proportion of the number of real facial pixels in the facial area image, whether said image is a living body facial image. By means of the method, the type of each pixel point in a facial area image can be determined, thereby avoiding the influence of non-facial pixels on facial recognition, and improving the accuracy of facial recognition.

Description

一种人脸识别方法和相关设备A face recognition method and related equipment
本申请要求于2020年12月15日提交中国专利局,申请号为202011478613.8、发明名称为“一种人脸识别方法和相关设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on December 15, 2020 with the application number 202011478613.8 and the invention titled "A face recognition method and related equipment", the entire contents of which are incorporated herein by reference Applying.
技术领域technical field
本发明涉及图像识别领域,尤其涉及一种人脸识别方法和相关设备。The invention relates to the field of image recognition, in particular to a face recognition method and related equipment.
背景技术Background technique
随着人脸识别技术的逐渐成熟,人脸识别技术被应用到更多的领域。例如,刷脸支付、门禁识别以及远程交易等。在上述应用领域中,存在着一些漏洞,例如不法分子可以用他人照片、视频以及3D面具等方式绕过人脸识别。对于此问题,现有技术中常用的解决方法为,采取交互式验证方法。具体为:用户按照提示,做出指定动作,当用户完成指定动作后,视为验证通过。但此类方法需要用户做多组动作,识别过程较长,用户体验较差,并且在用户进行互动时,系统容易出现误判等情况。因此,如何准确快速地对活体人脸进行识别,是目前有待解决的问题。With the gradual maturity of face recognition technology, face recognition technology has been applied to more fields. For example, face payment, access control recognition, and remote transactions. In the above application fields, there are some loopholes, for example, criminals can use other people's photos, videos and 3D masks to bypass face recognition. For this problem, a common solution in the prior art is to adopt an interactive verification method. Specifically, the user makes a specified action according to the prompt, and when the user completes the specified action, the verification is deemed to be passed. However, such methods require the user to perform multiple sets of actions, the recognition process is long, the user experience is poor, and the system is prone to misjudgment when the user interacts. Therefore, how to accurately and quickly recognize the face of a living body is a problem to be solved at present.
申请内容Application content
为了解决上述问题,本发明实施例提供了一种人脸识别方法及系统,可以提高活体人脸识别准确性。In order to solve the above problems, embodiments of the present invention provide a face recognition method and system, which can improve the accuracy of living face recognition.
第一方面,本发明实施例提供了一种人脸识别方法,包括:In a first aspect, an embodiment of the present invention provides a face recognition method, including:
从待检测图像中识别人脸区域图像;Identify the face region image from the image to be detected;
根据真脸像素特征、假脸像素特征和非人脸像素特征,将所述人脸区域图像包含的像素点分为真脸像素、假脸像素和非人脸像素;According to the real face pixel feature, the fake face pixel feature and the non-face pixel feature, the pixels included in the face area image are divided into real face pixels, fake face pixels and non-face pixels;
根据所述真脸像素个数在所述人脸区域图像中所占的比例,确定所述待检测图像是否为活体人脸图像。Whether the image to be detected is a living face image is determined according to the proportion of the number of real face pixels in the face area image.
上述方案中,从待检测图像中识别人脸区域图像,通过将人脸区域图像中的每个像素点分为真脸像素、假脸像素和非人脸像素,并根据真脸像素个数在所述人脸区域图像中所占的比例,确定待检测图像是否为活体人脸图像。由此可以提高活体人脸识别的准确性。In the above scheme, the image of the face area is identified from the image to be detected, and each pixel in the image of the face area is divided into real face pixels, fake face pixels and non-face pixels, and according to the number of real face pixels. The proportion occupied in the image of the face area determines whether the image to be detected is a living face image. As a result, the accuracy of live face recognition can be improved.
其中一种可能的实现方式中,根据真脸像素特征、假脸像素特征和非人脸像素特征,将所述人脸区域图像包含的像素点分为真脸像素、假脸像素和非人脸像素,包括:In one possible implementation manner, the pixels included in the face region image are divided into real face pixels, fake face pixels and non-face pixels according to the real face pixel features, the fake face pixel features and the non-face pixel features pixels, including:
将所述人脸区域图像输入第一识别模型;Inputting the face region image into the first recognition model;
所述第一识别模型根据真脸像素特征、假脸像素特征和非人脸像素特征,将所述人脸区域图像包含的各个像素点分别确定为真脸像素、假脸像素和非人脸像素。The first recognition model determines, according to the real face pixel feature, the fake face pixel feature and the non-face pixel feature, each pixel included in the face region image as the real face pixel, the fake face pixel and the non-face pixel respectively. .
其中一种可能的实现方式中,训练得到所述第一识别模型,包括:In one possible implementation manner, the first recognition model obtained by training includes:
确定训练图像集合和测试图像集合,所述训练图像集合包括:活体人脸图像和非活体人脸图像;所述活体人脸图像和所述非活体人脸图像的各个像素点分别标注有像素点类型,所述像素点类型包括真脸像素、假脸像素和非人脸像素;所述测试图像集合包含测试人脸图像;Determine a training image set and a test image set, where the training image set includes: a living face image and a non-living face image; each pixel of the living face image and the non-living face image is marked with a pixel point respectively type, the pixel type includes real face pixels, fake face pixels and non-face pixels; the test image set includes test face images;
利用所述训练图像集合各图像包含的真脸像素、假脸像素和非人脸像素的特征对第一识别模型进行训练,以使所述第一识别模型学习到真脸像素特征、假脸像素特征和非人脸像素特征;The first recognition model is trained by using the features of real face pixels, fake face pixels and non-face pixels included in each image of the training image set, so that the first recognition model learns the features of real face pixels, fake face pixels and fake face pixels. Features and non-face pixel features;
利用所述测试图像集合包含的测试人脸图像,对所述第一识别模型进行像素点分类的测试,以使所述第一识别模型对测试人脸图像中的各像素点进行分类。Using the test face images included in the test image set, a pixel classification test is performed on the first recognition model, so that the first recognition model classifies each pixel in the test face image.
其中一种可能的实现方式中,根据所述真脸像素个数在所述人脸区域图像中所占的比例,确定所述待检测图像是否为活体人脸图像,包括:In one possible implementation manner, determining whether the to-be-detected image is a living face image is determined according to the proportion of the number of real face pixels in the face region image, including:
根据所述真脸像素与所述假脸像素和/或所述非人脸像素个数的比值,确定所述待检测图像是否为活体人脸图像。According to the ratio of the real face pixels to the fake face pixels and/or the number of non-face pixels, it is determined whether the to-be-detected image is a living face image.
其中一种可能的实现方式中,根据所述真脸像素与所述假脸像素和/或所述非人脸像素个数的比值,确定所述待检测图像是否为活体人脸图像,包括:In one of the possible implementations, determining whether the image to be detected is a living face image is determined according to the ratio of the real face pixels to the fake face pixels and/or the number of the non-face pixels, including:
根据所述真脸像素个数与第一像素之和的比值,确定所述待检测图像是否为活体人脸图像,其中,所述第一像素之和为真脸像素与所述假脸像素的个数之和。Whether the image to be detected is a living face image is determined according to the ratio of the number of real face pixels to the sum of the first pixels, wherein the sum of the first pixels is the difference between the real face pixels and the fake face pixels sum of numbers.
其中一种可能的实现方式中,根据所述真脸像素个数与第一像素之和的比值,确定所述待检测图像是否为活体人脸图像,包括:In one possible implementation manner, determining whether the image to be detected is a living face image is determined according to the ratio of the number of real face pixels to the sum of the first pixels, including:
如果所述真脸像素个数与第一像素之和的比值大于等于第一阈值,则确定所述待检测图像为活体人脸图像;If the ratio of the number of real face pixels to the sum of the first pixels is greater than or equal to the first threshold, then determine that the image to be detected is a living face image;
否则,确定所述待检测图像为非活体人脸图像。Otherwise, it is determined that the to-be-detected image is a non-living face image.
第二方面,本发明实施例提供一种人脸识别装置,包括:In a second aspect, an embodiment of the present invention provides a face recognition device, including:
识别模块,用于从待检测图像中识别人脸区域图像;The recognition module is used to recognize the face area image from the image to be detected;
像素分类模块,用于根据真脸像素特征、假脸像素特征和非人脸像素特征,将所述人脸区域图像包含的像素点分为真脸像素、假脸像素和非人脸像素;a pixel classification module, used for dividing the pixels contained in the face region image into real face pixels, fake face pixels and non-face pixels according to the real face pixel feature, the fake face pixel feature and the non-face pixel feature;
确定模块,根据所述真脸像素个数在所述人脸区域图像中所占的比例,确定所述待检测图像是否为活体人脸图像。The determining module determines whether the to-be-detected image is a living human face image according to the proportion of the number of real face pixels in the face region image.
其中一种可能的实现方式中,所述像素分类模块,用于根据真脸像素特征、假脸像素特征和非人脸像素特征,将所述人脸区域图像包含的像素点分为真脸像素、假脸像素和非人脸像素,包括:In one of the possible implementations, the pixel classification module is configured to classify the pixels contained in the face region image into real face pixels according to real face pixel features, fake face pixel features and non-face pixel features , fake face pixels, and non-face pixels, including:
将所述人脸区域图像输入第一识别模型;Inputting the face region image into the first recognition model;
所述第一识别模型根据真脸像素特征、假脸像素特征和非人脸像素特征,将所述人脸区域图像包含的各个像素点分别确定为真脸像素、假脸像素和非人脸像素。The first recognition model determines, according to the real face pixel feature, the fake face pixel feature and the non-face pixel feature, each pixel included in the face region image as the real face pixel, the fake face pixel and the non-face pixel respectively. .
其中一种可能的实现方式中,所述人脸识别装置,包括:In one possible implementation manner, the face recognition device includes:
至少一个处理器;以及at least one processor; and
与所述处理器通信连接的至少一个存储器,其中:at least one memory communicatively coupled to the processor, wherein:
所述存储器存储有可被所述处理器执行的程序指令,所述处理器调用所述程序指令能够执行如权利要求第一方面提供的方法。The memory stores program instructions executable by the processor, the processor invoking the program instructions capable of performing the method as provided in the first aspect of the claim.
第三方面,本发明实施例提供一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行第一方面提供的方法。In a third aspect, embodiments of the present invention provide a non-transitory computer-readable storage medium, where the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions cause the computer to execute the method provided in the first aspect.
应当理解的是,本发明实施例的第二~第三方面与本发明实施例的第一方面的技术方案一致,各方面及对应的可行实施方式所取得的有益效果相似,不再赘述。It should be understood that the second to third aspects of the embodiments of the present invention are consistent with the technical solutions of the first aspect of the embodiments of the present invention, and the beneficial effects obtained by various aspects and corresponding feasible implementations are similar, and will not be repeated.
附图说明Description of drawings
为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明实施例的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings that need to be used in the embodiments. Obviously, the drawings in the following description are only some examples of the embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.
图1为本发明实施例提供的一种人脸识别方法的流程图;1 is a flowchart of a face recognition method provided by an embodiment of the present invention;
图2为本发明实施例提供的另一种人脸识别方法的流程图;2 is a flowchart of another face recognition method provided by an embodiment of the present invention;
图3为本发明实施例提供的一种人脸识别装置的结构示意图;3 is a schematic structural diagram of a face recognition device according to an embodiment of the present invention;
图4为本发明实施例提供的一种电子设备的结构示意图。FIG. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
具体实施方式Detailed ways
为了更好的理解本说明书的技术方案,下面结合附图对本发明实施例进行详细描述。In order to better understand the technical solutions of the present specification, the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
应当明确,所描述的实施例仅仅是本说明书一部分实施例,而不是全部的实施例。基于本说明书中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保 护的范围。It should be understood that the described embodiments are only a part of the embodiments of the present specification, but not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
在本发明实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本说明书。在本发明实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。The terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present specification. As used in the embodiments of the present invention and the appended claims, the singular forms "a," "the," and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise.
相关技术中,在对人脸进行识别时,会受到非人脸因素的影响,使得检测结果出现偏差。在判断待检测人脸是否为活体时,过程复杂,容易误判。为了解决上述问题,本发明实施例通过对待检测图片中人脸区域进行识别,将人脸区域内每个像素点分为的真脸像素、假脸像素、非人脸像素三类,并根据真脸像素与人脸区域像素之间的比值,确定待检测图像是否为活体。In the related art, when the face is recognized, it will be affected by the non-face factor, which makes the detection result deviate. When judging whether the face to be detected is a living body, the process is complicated and it is easy to misjudge. In order to solve the above problems, in the embodiment of the present invention, by identifying the face area in the image to be detected, each pixel in the face area is divided into three categories: real face pixels, fake face pixels, and non-face pixels, and according to the real face pixels The ratio between face pixels and face area pixels determines whether the image to be detected is a living body.
图1为本发明实施例提供的一种人脸识别方法的流程图,如图1所示,上述人脸识别方法可以包括:FIG. 1 is a flowchart of a face recognition method provided by an embodiment of the present invention. As shown in FIG. 1 , the above-mentioned face recognition method may include:
步骤101,从待检测图像中识别人脸区域图像。其中,待检测图像可以是检测终端的摄像头拍摄的图像。从所述摄像头拍摄的图像中,选择一帧或几帧图像作为待检测图像。检测终端可以为手机、银行的自助取款机等,所述检测终端通过设置摄像头的方式,拍摄待检测对象的图像并进行保存。对于保存的待检测对象的图像,可以对其中的人脸部分进行识别,得到待检测图像对应的人脸区域图像。其中,人脸区域图像可以为待检测图像中,包含人脸的一个矩形框区域图像。Step 101: Identify the face region image from the image to be detected. The image to be detected may be an image captured by a camera of the detection terminal. From the images captured by the camera, one or several frames of images are selected as the images to be detected. The detection terminal may be a mobile phone, an automatic teller machine of a bank, etc. The detection terminal takes an image of the object to be detected and saves it by setting a camera. For the saved image of the object to be detected, the face part in the image can be identified, and an image of the face region corresponding to the image to be detected can be obtained. The image of the face area may be an image of a rectangular frame area including a face in the image to be detected.
步骤102,根据真脸像素特征、假脸像素特征和非人脸像素特征,将所述人脸区域图像包含的像素点分为真脸像素、假脸像素和非人脸像素。一般,从待检测图像中识别的人脸区域图像为矩形,而人脸实际为椭圆形。因此,人脸区域图像中会含有一些非人脸的部分,如背景环境等,其在人脸区域图像上对应的像素即为非人脸像素。对于活体人脸,其在人脸区域图像上对应的像素为真脸像素。对于非活体人脸,如视频或者照片人脸等,其在人脸区域图像上对应的像素为假脸像素。本发明实施例,根据真脸像素特征、假脸像素特征和非人脸像素特征可以对人脸区域图像中的每个像素进行分类,获得人脸区域图像中每个像素点的分类情况,以避免非人脸部分或者假脸部分对人脸识别的干扰。Step 102: According to the real face pixel feature, the fake face pixel feature and the non-face pixel feature, the pixels included in the face region image are divided into real face pixels, fake face pixels and non-face pixels. Generally, the image of the face region identified from the image to be detected is a rectangle, while the face is actually an ellipse. Therefore, the face area image will contain some non-face parts, such as the background environment, and the corresponding pixels on the face area image are non-face pixels. For a live face, the corresponding pixels on the face region image are real face pixels. For a non-living face, such as a video or photo face, the corresponding pixels on the face area image are fake face pixels. In this embodiment of the present invention, each pixel in the face region image can be classified according to the real face pixel feature, the fake face pixel feature, and the non-face pixel feature, and the classification of each pixel in the face region image is obtained to obtain the classification status of each pixel in the face region image. Avoid the interference of non-face parts or fake face parts to face recognition.
步骤103,根据所述真脸像素个数在所述人脸区域图像中所占的比例,确定所述待检测图像是否为活体人脸图像。例如,真脸像素个数在人脸区域图像中所占的比例大于等于70%时,可以确定待检测图像为活体人脸图像。如果真脸像素个数在人脸区域图像中所占的比例小 于70%,则可以确定待检测图像不是活体人脸图像。Step 103: Determine whether the to-be-detected image is a living human face image according to the proportion of the number of real face pixels in the face region image. For example, when the proportion of the number of real face pixels in the face area image is greater than or equal to 70%, it can be determined that the image to be detected is a living face image. If the proportion of real face pixels in the face area image is less than 70%, it can be determined that the image to be detected is not a living face image.
在一些实施例中,可以通过识别模型对人脸区域中的每个像素点进行分类。该方法的步骤包括:将人脸区域图像输入第一识别模型;所述第一识别模型根据真脸像素特征、假脸像素特征和非人脸像素特征,将所述人脸区域图像包含的各个像素点分别确定为真脸像素、假脸像素和非人脸像素。其中,所述第一识别模型例如可以是基于卷积神经网络进行深度学习得到的识别模型。In some embodiments, each pixel in the face region can be classified by the recognition model. The steps of the method include: inputting the face region image into a first recognition model; the first recognition model, according to the real face pixel feature, the false face pixel feature and the non-face pixel feature, The pixels are determined as real face pixels, fake face pixels and non-face pixels respectively. Wherein, the first recognition model may be, for example, a recognition model obtained by deep learning based on a convolutional neural network.
在一些实施例中,第一识别模型的训练方法如图2所示,该方法步骤包括:In some embodiments, the training method of the first recognition model is shown in FIG. 2 , and the method steps include:
步骤201,确定训练图像集合和测试图像集合。所述训练图像集合包括:活体人脸图像和非活体人脸图像。所述活体人脸图像和所述非活体人脸图像的各个像素点分别标注有像素点类型,所述像素点类型包括真脸像素、假脸像素和非人脸像素。所述测试图像集合包含测试人脸图像。Step 201: Determine a training image set and a test image set. The training image set includes: living face images and non-living face images. Each pixel of the living face image and the non-living face image is respectively marked with a pixel type, and the pixel type includes real face pixels, fake face pixels and non-face pixels. The set of test images includes test face images.
步骤202,利用所述训练图像集合各图像包含的真脸像素、假脸像素和非人脸像素的特征对第一识别模型进行训练,以使所述第一识别模型学习到真脸像素特征、假脸像素特征和非人脸像素特征。 Step 202, utilize the features of real face pixels, fake face pixels and non-face pixels included in each image of the training image set to train the first recognition model, so that the first recognition model learns the real face pixel features, Fake face pixel features and non-face pixel features.
步骤203,利用所述测试图像集合包含的测试人脸图像,对所述第一识别模型进行像素点分类的测试,以使所述第一识别模型对测试人脸图像中的各像素点进行分类。通过上述训练方法,可以使第一识别模型具备对真脸像素、假脸像素以及非人脸像素的识别能力。使第一识别模型可以对待检测图像中的各个像素点进行分类。 Step 203, using the test face image included in the test image set to perform a pixel classification test on the first recognition model, so that the first recognition model classifies each pixel in the test face image . Through the above training method, the first recognition model can have the ability to recognize real face pixels, fake face pixels and non-face pixels. The first recognition model can classify each pixel in the image to be detected.
在一些实施例中,当确定了待检测图像的人脸区域图像中的真脸像素、假脸像素以及非人脸像素后,可以将非人脸像素作为干扰项剔除,只考虑真脸像素与假脸像素之间的关系,以此来确定待检测图像是否为活体人脸,该方法包括:确定真脸像素个数与第一像素之和的比值;若所述比值大于等于第一阈值,则确定所述待检测图像为活体人脸图像;否则,确定所述待检测图像为非活体人脸图像。其中,所述第一像素之和可以为假脸像素个数之和,也可以为非人脸像素个数之和,也可以为真脸像素与假脸像素的个数之和。In some embodiments, after the real face pixels, fake face pixels and non-face pixels in the face region image of the image to be detected are determined, the non-face pixels can be eliminated as interference items, and only the real face pixels and the The relationship between the fake face pixels is used to determine whether the image to be detected is a living human face. The method includes: determining the ratio of the number of real face pixels to the sum of the first pixels; if the ratio is greater than or equal to the first threshold, Then, it is determined that the image to be detected is a living face image; otherwise, it is determined that the image to be detected is a non-living face image. The sum of the first pixels may be the sum of the number of fake face pixels, the sum of the number of non-human face pixels, or the sum of the numbers of real face pixels and fake face pixels.
例如,待检测图像的人脸区域图像中,包含真脸像素1000个,假脸像素100个,非人脸像素200个,第一阈值可以为0.8。当第一像素值和为真脸像素与假脸像素的个数之和时,则所述第一像素之和为1100个,真脸像素与第一像素之和的比值为1000/1100。此时真脸像素与第一像素之和的比值大于第一阈值,则可以确定待检测图像为活体 人脸图像。For example, the face region image of the image to be detected includes 1000 real face pixels, 100 fake face pixels, and 200 non-face pixels, and the first threshold may be 0.8. When the sum of the first pixel values is the sum of the real face pixels and the fake face pixels, the sum of the first pixels is 1100, and the ratio of the real face pixels to the sum of the first pixels is 1000/1100. At this time, the ratio of the real face pixel to the sum of the first pixel is greater than the first threshold, and it can be determined that the image to be detected is a living face image.
通过对人脸区域图像中的每个像素点进行分类,可以排除非人脸因素的干扰,并提高对活体人脸识别的准确性。By classifying each pixel in the face area image, the interference of non-face factors can be excluded, and the accuracy of live face recognition can be improved.
对应上述人脸识别方法,本发明实施例提供了一种人脸识别系统,如图3所示,人脸识别系统可以包括:识别模块301、像素分类模块302和确定模块303。其中,Corresponding to the above face recognition method, an embodiment of the present invention provides a face recognition system. As shown in FIG. 3 , the face recognition system may include: a recognition module 301 , a pixel classification module 302 and a determination module 303 . in,
识别模块301,用于从待检测图像中识别人脸区域图像。The identification module 301 is used to identify the image of the face region from the image to be detected.
像素分类模块302,用于根据真脸像素特征、假脸像素特征和非人脸像素特征,将所述人脸区域图像包含的像素点分为真脸像素、假脸像素和非人脸像素。The pixel classification module 302 is configured to divide the pixels included in the face region image into real face pixels, fake face pixels and non-face pixels according to the real face pixel features, the fake face pixel features and the non-face pixel features.
确定模块303,用于根据所述真脸像素个数在所述人脸区域图像中所占的比例,确定所述待检测图像是否为活体人脸图像。The determining module 303 is configured to determine whether the to-be-detected image is a living human face image according to the proportion of the number of real face pixels in the face region image.
在一些实施例中,所述像素分类模块302具体用于:将所述人脸区域图像输入第一识别模型;所述第一识别模型根据真脸像素特征、假脸像素特征和非人脸像素特征,将所述人脸区域图像包含的各个像素点分别确定为真脸像素、假脸像素和非人脸像素。In some embodiments, the pixel classification module 302 is specifically configured to: input the face region image into a first recognition model; the first recognition model is based on real face pixel features, fake face pixel features and non-face pixels feature, and each pixel included in the face region image is determined as a real face pixel, a fake face pixel and a non-face pixel, respectively.
图3所示实施例提供的人脸识别系统可用于执行本说明书图1至图2所示方法实施例的技术方案,其实现原理和技术效果可以进一步参考方法实施例中的相关描述。The face recognition system provided by the embodiment shown in FIG. 3 can be used to implement the technical solutions of the method embodiments shown in FIG. 1 to FIG. 2 of this specification, and the implementation principle and technical effect can further refer to the relevant descriptions in the method embodiments.
图4为本说明书电子设备一个实施例的结构示意图,如图4所示,上述电子设备可以包括至少一个处理器;以及与上述处理器通信连接的至少一个存储器,其中:存储器存储有可被处理器执行的程序指令,上述处理器调用上述程序指令能够执行本说明书图1所示实施例提供的人脸识别方法。FIG. 4 is a schematic structural diagram of an embodiment of an electronic device in this specification. As shown in FIG. 4 , the electronic device may include at least one processor; and at least one memory communicatively connected to the processor, wherein: the memory stores data that can be processed The above-mentioned processor invokes the above-mentioned program instructions to execute the face recognition method provided by the embodiment shown in FIG. 1 of this specification.
图4示出了适于用来实现本说明书实施方式的示例性电子设备的框图。图4显示的电子设备仅仅是一个示例,不应对本说明书实施例的功能和使用范围带来任何限制。Figure 4 shows a block diagram of an exemplary electronic device suitable for use in implementing embodiments of the present specification. The electronic device shown in FIG. 4 is only an example, and should not impose any limitation on the function and scope of use of the embodiments of the present specification.
如图4所示,电子设备以通用计算设备的形式表现。电子设备的组件可以包括但不限于:一个或者多个处理器410,通信接口420,存储器430,连接不同系统组件(包括存储器430、通信接口420和处理单元410)的通信总线440。As shown in Figure 4, the electronic device takes the form of a general-purpose computing device. Components of an electronic device may include, but are not limited to, one or more processors 410 , a communication interface 420 , a memory 430 , a communication bus 440 connecting various system components including memory 430 , communication interface 420 and processing unit 410 .
通信总线440表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(Industry Standard Architecture;以下简 称:ISA)总线,微通道体系结构(Micro Channel Architecture;以下简称:MAC)总线,增强型ISA总线、视频电子标准协会(Video Electronics Standards Association;以下简称:VESA)局域总线以及外围组件互连(Peripheral Component Interconnection;以下简称:PCI)总线。 Communication bus 440 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus structures. For example, these architectures include, but are not limited to, Industry Standard Architecture (hereinafter referred to as: ISA) bus, Micro Channel Architecture (hereinafter referred to as: MAC) bus, enhanced ISA bus, video electronics Standards Association (Video Electronics Standards Association; hereinafter referred to as: VESA) local bus and Peripheral Component Interconnection (Peripheral Component Interconnection; hereinafter referred to as: PCI) bus.
电子设备典型地包括多种计算机系统可读介质。这些介质可以是任何能够被电子设备访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。Electronic devices typically include various computer system readable media. These media can be any available media that can be accessed by the electronic device, including both volatile and nonvolatile media, removable and non-removable media.
存储器430可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(Random Access Memory;以下简称:RAM)和/或高速缓存存储器。电子设备可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。存储器330可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本发明各实施例的功能。The memory 430 may include a computer system readable medium in the form of volatile memory, such as random access memory (Random Access Memory; hereinafter referred to as: RAM) and/or cache memory. The electronic device may further include other removable/non-removable, volatile/non-volatile computer system storage media. Memory 330 may include at least one program product having a set (eg, at least one) of program modules configured to perform the functions of various embodiments of the present invention.
具有一组(至少一个)程序模块的程序/实用工具,可以存储在存储器430中,这样的程序模块包括——但不限于——操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块通常执行本说明书所描述的实施例中的功能和/或方法。A program/utility having a set (at least one) of program modules that may be stored in memory 430, such program modules including, but not limited to, an operating system, one or more application programs, other program modules, and program data , each or some combination of these examples may include an implementation of a network environment. Program modules typically perform the functions and/or methods of the embodiments described in this specification.
处理器410通过运行存储在存储器430中的程序,从而执行各种功能应用以及数据处理,例如实现本说明书图1至图2所示实施例提供的人脸识别方法。The processor 410 executes various functional applications and data processing by running the programs stored in the memory 430 , for example, implementing the face recognition method provided by the embodiments shown in FIGS. 1 to 2 of this specification.
本说明书实施例提供一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行本说明书图1至图2所示实施例提供的人脸识别方法。Embodiments of this specification provide a non-transitory computer-readable storage medium, where the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions cause the computer to execute the embodiments shown in FIG. 1 to FIG. 2 of this specification Provided face recognition method.
上述非暂态计算机可读存储介质可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(Read Only Memory;以下简称:ROM)、可擦式可编程只读存储器(Erasable Programmable Read Only Memory;以下简称:EPROM)或闪存、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意 合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The above-described non-transitory computer-readable storage media may employ any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples (non-exhaustive list) of computer readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (Read Only Memory) ; hereinafter referred to as: ROM), erasable programmable read only memory (Erasable Programmable Read Only Memory; hereinafter referred to as: EPROM) or flash memory, optical fiber, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic memory components, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括——但不限于——电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer-readable signal medium may include a propagated data signal in baseband or as part of a carrier wave, with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于——无线、电线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言或其组合来编写用于执行本说明书操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(Local Area Network;以下简称:LAN)或广域网(Wide Area Network;以下简称:WAN)连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out the operations of this specification may be written in one or more programming languages, including object-oriented programming languages—such as Java, Smalltalk, C++, but also conventional Procedural programming language - such as the "C" language or similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or Wide Area Network (WAN), or it can Connect to an external computer (eg via the Internet using an Internet Service Provider).
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。The foregoing describes specific embodiments of the present specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that in the embodiments and still achieve desirable results. Additionally, the processes depicted in the figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本说明书的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、 材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, description with reference to the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples", etc., mean specific features described in connection with the embodiment or example , structure, material or feature is included in at least one embodiment or example of this specification. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, those skilled in the art may combine and combine the different embodiments or examples described in this specification, as well as the features of the different embodiments or examples, without conflicting each other.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本说明书的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms "first" and "second" are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature delimited with "first", "second" may expressly or implicitly include at least one of that feature. In the description of the present specification, "plurality" means at least two, such as two, three, etc., unless otherwise expressly and specifically defined.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现定制逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本说明书的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本说明书的实施例所属技术领域的技术人员所理解。Any process or method description in the flowcharts or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing custom logical functions or steps of the process , and the scope of the preferred embodiments of this specification includes alternative implementations in which the functions may be performed out of the order shown or discussed, including performing the functions substantially concurrently or in the reverse order depending upon the functions involved, which should It is understood by those skilled in the art to which the embodiments of this specification belong.
取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”或“响应于检测”。类似地,取决于语境,短语“如果确定”或“如果检测(陈述的条件或事件)”可以被解释成为“当确定时”或“响应于确定”或“当检测(陈述的条件或事件)时”或“响应于检测(陈述的条件或事件)”。Depending on the context, the word "if" as used herein can be interpreted as "at" or "when" or "in response to determining" or "in response to detecting." Similarly, the phrases "if determined" or "if detected (the stated condition or event)" can be interpreted as "when determined" or "in response to determining" or "when detected (the stated condition or event)," depending on the context )" or "in response to detection (a stated condition or event)".
需要说明的是,本说明书实施例中所涉及的终端可以包括但不限于个人计算机(Personal Computer;以下简称:PC)、个人数字助理(Personal Digital Assistant;以下简称:PDA)、无线手持设备、平板电脑(Tablet Computer)、手机、MP3播放器、MP4播放器等。It should be noted that the terminals involved in the embodiments of this specification may include but are not limited to personal computers (Personal Computer; hereinafter referred to as: PC), personal digital assistants (Personal Digital Assistant; hereinafter referred to as: PDA), wireless handheld devices, tablet Computer (Tablet Computer), mobile phone, MP3 player, MP4 player, etc.
在本说明书所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如,多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this specification, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined. Or it can be integrated into another system, or some features can be omitted, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
另外,在本说明书各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现, 也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of this specification may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机装置(可以是个人计算机,服务器,或者网络装置等)或处理器(Processor)执行本说明书各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory;以下简称:ROM)、随机存取存储器(Random Access Memory;以下简称:RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The above-mentioned integrated units implemented in the form of software functional units can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, and includes several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (Processor) to execute the methods described in the various embodiments of this specification. some steps. The aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (Read-Only Memory; hereinafter referred to as: ROM), Random Access Memory (Random Access Memory; hereinafter referred to as: RAM), magnetic disk or optical disk and other various A medium on which program code can be stored.
以上所述仅为本说明书的较佳实施例而已,并不用以限制本说明书,凡在本说明书的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本说明书保护的范围之内。The above descriptions are only preferred embodiments of this specification, and are not intended to limit this specification. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of this specification shall be included in this specification. within the scope of protection.

Claims (10)

  1. 一种人脸识别方法,其特征在于,包括:A face recognition method, comprising:
    从待检测图像中识别人脸区域图像;Identify the face region image from the image to be detected;
    根据真脸像素特征、假脸像素特征和非人脸像素特征,将所述人脸区域图像包含的像素点分为真脸像素、假脸像素和非人脸像素;According to the real face pixel feature, the fake face pixel feature and the non-face pixel feature, the pixels included in the face area image are divided into real face pixels, fake face pixels and non-face pixels;
    根据所述真脸像素个数在所述人脸区域图像中所占的比例,确定所述待检测图像是否为活体人脸图像。Whether the image to be detected is a living face image is determined according to the proportion of the number of real face pixels in the face area image.
  2. 根据权利要求1所述的方法,其特征在于,根据真脸像素特征、假脸像素特征和非人脸像素特征,将所述人脸区域图像包含的像素点分为真脸像素、假脸像素和非人脸像素,包括:The method according to claim 1, wherein, according to the real face pixel feature, the fake face pixel feature and the non-face pixel feature, the pixels included in the face area image are divided into real face pixels and fake face pixels. and non-face pixels, including:
    将所述人脸区域图像输入第一识别模型;Inputting the face region image into the first recognition model;
    所述第一识别模型根据真脸像素特征、假脸像素特征和非人脸像素特征,将所述人脸区域图像包含的各个像素点分别确定为真脸像素、假脸像素和非人脸像素。The first recognition model determines, according to the real face pixel feature, the fake face pixel feature and the non-face pixel feature, each pixel included in the face region image as the real face pixel, the fake face pixel and the non-face pixel respectively. .
  3. 根据权利要求2所述的方法,其特征在于,训练得到所述第一识别模型,包括:The method according to claim 2, wherein obtaining the first recognition model by training comprises:
    确定训练图像集合和测试图像集合,所述训练图像集合包括:活体人脸图像和非活体人脸图像;所述活体人脸图像和所述非活体人脸图像的各个像素点分别标注有像素点类型,所述像素点类型包括真脸像素、假脸像素和非人脸像素;所述测试图像集合包含测试人脸图像;Determine a training image set and a test image set, where the training image set includes: a living face image and a non-living face image; each pixel of the living face image and the non-living face image is marked with a pixel point respectively type, the pixel type includes real face pixels, fake face pixels and non-face pixels; the test image set includes test face images;
    利用所述训练图像集合各图像包含的真脸像素、假脸像素和非人脸像素的特征对第一识别模型进行训练,以使所述第一识别模型学习到真脸像素特征、假脸像素特征和非人脸像素特征;The first recognition model is trained by using the features of real face pixels, fake face pixels and non-face pixels included in each image of the training image set, so that the first recognition model learns the features of real face pixels, fake face pixels and fake face pixels. Features and non-face pixel features;
    利用所述测试图像集合包含的测试人脸图像,对所述第一识别模型进行像素点分类的测试,以使所述第一识别模型对测试人脸图像中的各像素点进行分类。Using the test face images included in the test image set, a pixel classification test is performed on the first recognition model, so that the first recognition model classifies each pixel in the test face image.
  4. 根据权利要求1所述的方法,其特征在于,根据所述真脸像素个数在所述人脸区域图像中所占的比例,确定所述待检测图像是否为活体人脸图像,包括:The method according to claim 1, wherein determining whether the to-be-detected image is a living human face image is determined according to the proportion of the number of real face pixels in the face region image, comprising:
    根据所述真脸像素与所述假脸像素和/或所述非人脸像素个数的比值,确定所述待检测图像是否为活体人脸图像。According to the ratio of the real face pixels to the fake face pixels and/or the number of non-face pixels, it is determined whether the to-be-detected image is a living face image.
  5. 根据权利要求4所述的方法,其特征在于,根据所述真脸像素与所述假脸像素和/或所述非人脸像素个数的比值,确定所述待检测图像是否为活体人脸图像,包括:The method according to claim 4, wherein whether the image to be detected is a living human face is determined according to the ratio of the real face pixels to the number of fake face pixels and/or the number of non-face pixels images, including:
    根据所述真脸像素个数与第一像素之和的比值,确定所述待检测图像是否为活体人脸图像,其中,所述第一像素之和为所述真脸像素与所述假脸像素的个数之和。Determine whether the image to be detected is a living face image according to the ratio of the number of real face pixels to the sum of the first pixels, where the sum of the first pixels is the real face pixels and the fake face The sum of the number of pixels.
  6. 根据权利要求5所述的方法,其特征在于,根据所述真脸像素个数与第一像素之和的比值,确定所述待检测图像是否为活体人脸图像,包括:The method according to claim 5, wherein determining whether the to-be-detected image is a living face image is determined according to the ratio of the number of real face pixels to the sum of the first pixels, comprising:
    如果所述真脸像素个数与第一像素之和的比值大于等于第一阈值,则确定所述待检测图像为活体人脸图像;If the ratio of the number of real face pixels to the sum of the first pixels is greater than or equal to the first threshold, then determine that the image to be detected is a living face image;
    否则,确定所述待检测图像为非活体人脸图像。Otherwise, it is determined that the to-be-detected image is a non-living face image.
  7. 一种人脸识别装置,其特征在于,包括:A face recognition device, comprising:
    识别模块,用于从待检测图像中识别人脸区域图像;The recognition module is used to recognize the face area image from the image to be detected;
    像素分类模块,用于根据真脸像素特征、假脸像素特征和非人脸像素特征,将所述人脸区域图像包含的像素点分为真脸像素、假脸像素和非人脸像素;a pixel classification module, used for dividing the pixels contained in the face region image into real face pixels, fake face pixels and non-face pixels according to the real face pixel feature, the fake face pixel feature and the non-face pixel feature;
    确定模块,用于根据所述真脸像素个数在所述人脸区域图像中所占的比例,确定所述待检测图像是否为活体人脸图像。A determination module, configured to determine whether the to-be-detected image is a living face image according to the proportion of the number of real face pixels in the image of the face region.
  8. 根据权利要求7所述的装置,其特征在于,所述像素分类模块,具体用于将所述人脸区域图像输入第一识别模型;The device according to claim 7, wherein the pixel classification module is specifically configured to input the face region image into the first recognition model;
    所述第一识别模型根据真脸像素特征、假脸像素特征和非人脸像素特征,将所述人脸区域图像包含的各个像素点分别确定为真脸像素、假脸像素和非人脸像素。The first recognition model determines, according to the real face pixel feature, the fake face pixel feature and the non-face pixel feature, each pixel included in the face region image as the real face pixel, the fake face pixel and the non-face pixel respectively. .
  9. 一种人脸识别装置,其特征在于,包括:A face recognition device, comprising:
    至少一个处理器;以及at least one processor; and
    与所述处理器通信连接的至少一个存储器,其中:at least one memory communicatively coupled to the processor, wherein:
    所述存储器存储有可被所述处理器执行的程序指令,所述处理器调用所述程序指令能够执行如权利要求1至6中任一项所述的方法。The memory stores program instructions executable by the processor, the processor invoking the program instructions capable of performing the method as claimed in any one of claims 1 to 6.
  10. 一种非暂态计算机可读存储介质,其特征在于,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行如权利要求1至6中任一项所述的方法。A non-transitory computer-readable storage medium, characterized in that the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions cause the computer to perform the execution of any one of claims 1 to 6. Methods.
PCT/CN2021/131045 2020-12-15 2021-11-17 Facial recognition method and related device WO2022127480A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011478613.8 2020-12-15
CN202011478613.8A CN112651311A (en) 2020-12-15 2020-12-15 Face recognition method and related equipment

Publications (1)

Publication Number Publication Date
WO2022127480A1 true WO2022127480A1 (en) 2022-06-23

Family

ID=75354066

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/131045 WO2022127480A1 (en) 2020-12-15 2021-11-17 Facial recognition method and related device

Country Status (2)

Country Link
CN (1) CN112651311A (en)
WO (1) WO2022127480A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112651311A (en) * 2020-12-15 2021-04-13 展讯通信(天津)有限公司 Face recognition method and related equipment
CN113409220A (en) * 2021-06-28 2021-09-17 展讯通信(天津)有限公司 Face image processing method, device, medium and equipment
CN114648814A (en) * 2022-02-25 2022-06-21 北京百度网讯科技有限公司 Face living body detection method, training method, device, equipment and medium of model

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180068418A1 (en) * 2016-09-07 2018-03-08 The Boeing Company Apparatus, system, and method for enhancing image video data
CN108154090A (en) * 2017-12-11 2018-06-12 北京小米移动软件有限公司 Face identification method and device
CN108549854A (en) * 2018-03-28 2018-09-18 中科博宏(北京)科技有限公司 A kind of human face in-vivo detection method
CN109086718A (en) * 2018-08-02 2018-12-25 深圳市华付信息技术有限公司 Biopsy method, device, computer equipment and storage medium
CN109753934A (en) * 2019-01-09 2019-05-14 中控智慧科技股份有限公司 A kind of method and identification device identifying image true-false
CN111325051A (en) * 2018-12-13 2020-06-23 普天信息技术有限公司 Face recognition method and device based on face image ROI selection
CN111767760A (en) * 2019-04-01 2020-10-13 北京市商汤科技开发有限公司 Living body detection method and apparatus, electronic device, and storage medium
CN112651311A (en) * 2020-12-15 2021-04-13 展讯通信(天津)有限公司 Face recognition method and related equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107609462A (en) * 2017-07-20 2018-01-19 北京百度网讯科技有限公司 Measurement information generation to be checked and biopsy method, device, equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180068418A1 (en) * 2016-09-07 2018-03-08 The Boeing Company Apparatus, system, and method for enhancing image video data
CN108154090A (en) * 2017-12-11 2018-06-12 北京小米移动软件有限公司 Face identification method and device
CN108549854A (en) * 2018-03-28 2018-09-18 中科博宏(北京)科技有限公司 A kind of human face in-vivo detection method
CN109086718A (en) * 2018-08-02 2018-12-25 深圳市华付信息技术有限公司 Biopsy method, device, computer equipment and storage medium
CN111325051A (en) * 2018-12-13 2020-06-23 普天信息技术有限公司 Face recognition method and device based on face image ROI selection
CN109753934A (en) * 2019-01-09 2019-05-14 中控智慧科技股份有限公司 A kind of method and identification device identifying image true-false
CN111767760A (en) * 2019-04-01 2020-10-13 北京市商汤科技开发有限公司 Living body detection method and apparatus, electronic device, and storage medium
CN112651311A (en) * 2020-12-15 2021-04-13 展讯通信(天津)有限公司 Face recognition method and related equipment

Also Published As

Publication number Publication date
CN112651311A (en) 2021-04-13

Similar Documents

Publication Publication Date Title
WO2022127480A1 (en) Facial recognition method and related device
US10699103B2 (en) Living body detecting method and apparatus, device and storage medium
US20200334830A1 (en) Method, apparatus, and storage medium for processing video image
US11610394B2 (en) Neural network model training method and apparatus, living body detecting method and apparatus, device and storage medium
US20190392202A1 (en) Expression recognition method, apparatus, electronic device, and storage medium
CN109614934B (en) Online teaching quality assessment parameter generation method and device
WO2018086543A1 (en) Living body identification method, identity authentication method, terminal, server and storage medium
WO2020024484A1 (en) Method and device for outputting data
WO2020006964A1 (en) Image detection method and device
US20210004587A1 (en) Image detection method, apparatus, device and storage medium
US10824890B2 (en) Living body detecting method and apparatus, device and storage medium
US20190026606A1 (en) To-be-detected information generating method and apparatus, living body detecting method and apparatus, device and storage medium
CN111242291A (en) Neural network backdoor attack detection method and device and electronic equipment
JP2015215876A (en) Liveness testing methods and apparatuses, and image processing methods and apparatuses
CN109214501B (en) Method and apparatus for identifying information
WO2020238321A1 (en) Method and device for age identification
CN111291902B (en) Detection method and device for rear door sample and electronic equipment
US11804032B2 (en) Method and system for face detection
CN110796108B (en) Method, device and equipment for detecting face quality and storage medium
WO2020007191A1 (en) Method and apparatus for living body recognition and detection, and medium and electronic device
WO2020177226A1 (en) Improved resnet-based human face in-vivo detection method and related device
WO2020103462A1 (en) Video search method and apparatus, computer device, and storage medium
CN111242322B (en) Detection method and device for rear door sample and electronic equipment
CN111507421A (en) Video-based emotion recognition method and device
CN112329624A (en) Living body detection method and apparatus, storage medium, and electronic device

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: 21905409

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: 21905409

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 11.12.2023)