Method and apparatus for facial recognition

US10902245B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10902245-B2
Application numberUS-201816050436-A
CountryUS
Kind codeB2
Filing dateJul 31, 2018
Priority dateSep 21, 2017
Publication dateJan 26, 2021
Grant dateJan 26, 2021

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Embodiments of the present disclosure disclose a method and apparatus for facial recognition. A specific embodiment of the method comprises: extracting a to-be-recognized dark light image captured in a dark light environment; inputting the dark light image into a pre-trained first convolutional neural network to obtain a target image after the dark light image is preprocessed, the first convolutional neural network being used to preprocess the dark light image; and inputting the target image into a pre-trained second convolutional neural network to obtain a facial recognition result, the second convolutional neural network being used to represent a corresponding relationship between the image and the facial recognition result. This embodiment improves accuracy of the facial recognition on the image captured in the dark light environment.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for facial recognition, comprising: establishing a first convolutional neural network, wherein the establishing the first convolutional neural network comprises: extracting a preset training sample, wherein the training sample includes a dark light sample image and a bright light sample image corresponding to the dark light sample image, and using the dark light sample image as an input, outputting an image by the first convolutional neural network with the input, and training the first convolutional neural network based on a comparison between the outputted image of the first convolutional neural network and the bright light sample image corresponding to the inputted dark light sample image; extracting a to-be-recognized dark light image captured in a dark light environment; inputting the dark light image into the first convolutional neural network to obtain a target image after the dark light image is preprocessed, the first convolutional neural network being used to preprocess the dark light image; and inputting the target image into a pre-trained second convolutional neural network to obtain a facial recognition result, the second convolutional neural network being used to represent a corresponding relationship between the image and the facial recognition result. 2. The method according to claim 1 , wherein the using the dark light sample image as an input, outputting an image by the first convolutional neural network with the input, and training the first convolutional neural network based on a comparison between the outputted image of the first convolutional neural network and the bright light sample image corresponding to the inputted dark light sample image comprises: using the dark light sample image as the input, and training and obtaining the first convolutional neural network based on the bright light sample image and a preset loss function using a deep learning method, wherein a value of the loss function is used to represent a degree of difference between the image outputted by the first convolutional neural network and the bright light sample image. 3. The method according to claim 1 , wherein the using the dark light sample image as an input, outputting an image by the first convolutional neural network with the input, and training the first convolutional neural network based on a comparison between the outputted image of the first convolutional neural network and the bright light sample image corresponding to the inputted dark light sample image comprises: extracting a pre-established generative adversarial network, wherein the generative adversarial network includes a generative network and a discriminative network, the generative network is a convolutional neural network for preprocessing an inputted image of the generative network, and the discriminative network is used to determine whether an inputted image of the discriminative network is an image outputted by the generative network; using the dark light sample image as an input of the generative network, and using the image outputted by the generative network and the bright light sample image as the input of the discriminative network to obtain a discrimination result outputted by the discriminative network; and statisticising an accuracy rate of the obtained discrimination result, and training, based on a machine learning method, the generative network and the discriminative network according to the accuracy rate, to define the generative network as the trained first convolutional neural network when the accuracy rate is a preset numerical value. 4. The method according to claim 1 , further comprising generating the training sample, wherein the generating the training sample comprises: preprocessing a plurality of first bright light images pre-captured in a bright light environment, to obtain a first dark light image corresponding to each of the plurality of first bright light images; and using the generated first dark light image as the dark light sample image, and using the plurality of first bright light images as the bright light sample image, to compose the training sample. 5. The method according to claim 1 , further comprising generating the training sample, wherein the generating the training sample comprises: preprocessing a plurality of second dark light images pre-captured in the dark light environment to obtain a second bright light image corresponding to each of the plurality of second dark light images; and using the plurality of second dark light images as the dark light sample image, and using the generated second bright light image as the bright light sample image, to compose the training sample. 6. The method according to claim 1 , wherein the dark light sample image is an image pre-captured in the dark light environment, and the bright light sample image corresponding to the dark light sample image is an image pre-captured in the bright light environment, wherein each dark light sample image and a corresponding bright light sample image are images of a given object captured at a given position and from a given angle. 7. An apparatus for facial recognition, comprising: at least one processor; and a memory storing instructions, the instructions when executed by the at least one processor, cause the at least one processor to perform operations, the operations comprising: establishing a first convolutional neural network, wherein the establishing the first convolutional neural network comprises: extracting a preset training sample, wherein the training sample includes a dark light sample image and a bright light sample image corresponding to the dark light sample image, and using the dark light sample image as an input, outputting an image by the first convolutional neural network with the input, and training the first convolutional neural network based on a comparison between the outputted image of the first convolutional neural network and the bright light sample image corresponding to the inputted dark light sample image; extracting a to-be-recognized dark light image captured in a dark light environment; inputting the dark light image into the first convolutional neural network to obtain a target image after the dark light image is preprocessed, the first convolutional neural network being used to preprocess the dark light image; and inputting the target image into a pre-trained second convolutional neural network to obtain a facial recognition result, the second convolutional neural network being used to represent a corresponding relationship between the image and the facial recognition result. 8. The apparatus according to claim 7 , wherein the using the dark light sample image as an input, outputting an image by the first convolutional neural network with the input, and training the first convolutional neural network based on a comparison between the outputted image of the first convolutional neural network and the bright light sample image corresponding to the inputted dark light sample image comprises: using the dark light sample image as the input, and training and obtaining the first convolutional neural network based on the bright light sample image and a preset loss function using a deep learning method, wherein a value of the loss function is used to represent a degree of difference between the image outputted by the first convolutional neural network and the bright light sample image. 9. The apparatus according to claim 7 , wherein the using the dark light sample image as an input, outputting an image by the first convolutional neural network with the input, and training the first convolutional neural network based on a comparison between the outputted image of the first convoluti

Assignees

Inventors

Classifications

  • Generating sets of training patterns; Bootstrap methods, e.g. bagging or boosting · CPC title

  • using neural networks · CPC title

  • using classification, e.g. of video objects · CPC title

  • Classification, e.g. identification · CPC title

  • G06N3/08Primary

    Learning methods · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10902245B2 cover?
Embodiments of the present disclosure disclose a method and apparatus for facial recognition. A specific embodiment of the method comprises: extracting a to-be-recognized dark light image captured in a dark light environment; inputting the dark light image into a pre-trained first convolutional neural network to obtain a target image after the dark light image is preprocessed, the first convolu…
Who is the assignee on this patent?
Baidu online network technology beijing co ltd
What technology area does this patent fall under?
Primary CPC classification G06N3/08. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jan 26 2021 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 12 related publications on this page (citations in our corpus or others sharing the same primary CPC).