Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Training of face detection model based on neural network, face detection method and system

A face detection and neural network technology, applied in the field of image processing, can solve problems such as distortion, affecting the results of face detection, and face stretching.

Active Publication Date: 2019-10-25
CHONGQING INST OF GREEN & INTELLIGENT TECH CHINESE ACADEMY OF SCI
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] (1) At present, most face detectors use a sliding window method to select the observation window, so after traversing a face image, it is necessary to calculate and distinguish a large number of observation windows, so the calculation amount is relatively large; and for face images For faces of different sizes, it is necessary to build an image pyramid, or use observation windows of different scales, and the face detection speed is slow
[0007] (2) Most face detection algorithms have many steps, and each step is relatively independent. Any problem in any step will affect the final face detection result
[0008] (3) The face detection method based on deep learning, although the effect is good, needs to scale the input face image to a fixed size, causing the face in the image to be stretched, distorted, deformed, etc., which affects the final face detection result

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Training of face detection model based on neural network, face detection method and system
  • Training of face detection model based on neural network, face detection method and system
  • Training of face detection model based on neural network, face detection method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0221] Step S1: When receiving a model training instruction, input the face images in the training set into the neural network for training.

[0222] Step S2: Calculate the offset information of the predicted face frame relative to the corresponding default face frame through the network layer of the predicted face frame bias, and calculate the offset of the real face frame relative to the corresponding default face frame information; and calculate the confidence that each default face frame contains a face through the network layer that predicts the confidence of the face frame.

[0223] Step S3: According to the offset information of the predicted face frame relative to the corresponding default face frame, and the offset information of the real face frame relative to the corresponding default face frame, calculate the predicted face frame offset The loss function of the network layer; and according to the confidence that the default face frame contains the face, calculate t...

Embodiment 2

[0231] Step S1: When receiving a model training instruction, input the face images in the training set into the neural network for training.

[0232] Step S2: Calculate the offset information of the predicted face frame relative to the corresponding default face frame through the network layer of the predicted face frame bias, and calculate the offset of the real face frame relative to the corresponding default face frame information; and calculate the confidence that each default face frame contains a face through the network layer that predicts the confidence of the face frame.

[0233] Step S3: According to the offset information of the predicted face frame relative to the corresponding default face frame, and the offset information of the real face frame relative to the corresponding default face frame, calculate the bias of the predicted face frame The loss function of the network layer; and according to the confidence that the default face frame contains the face, calcul...

Embodiment 3

[0242] Step S1: When receiving a model training instruction, input the face images in the training set into the neural network for training.

[0243] Step S2: Calculate the offset information of the predicted face frame relative to the corresponding default face frame through the network layer of the predicted face frame bias, and calculate the offset of the real face frame relative to the corresponding default face frame information; and calculate the confidence that each default face frame contains a face through the network layer that predicts the confidence of the face frame.

[0244] Step S3: According to the offset information of the predicted face frame relative to the corresponding default face frame, and the offset information of the real face frame relative to the corresponding default face frame, calculate the predicted face frame offset The loss function of the network layer; and according to the confidence that the default face frame contains the face, calculate t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention provides a neural network-based face detection model training, face detection method and system, the training method: according to the bias information of the predicted face frame relative to the default face frame, and the real face frame relative to the default Based on the bias information of the face frame, calculate the loss function of the predicted face frame bias network layer; calculate the loss function of the predicted face frame confidence network layer according to the confidence of the default face frame; calculate the error of the two loss functions And the error is fed back to the neural network to adjust the weights in the neural network; repeated iterative training until the face detection model is converged, so that the predicted face frame contains the face more accurately. Detection method: Input the face image to be tested into the trained face detection model to output bias information and confidence; calculate the corresponding predicted face frame according to the bias information; select a confidence greater than the preset confidence threshold Or the predicted face frame corresponding to the highest confidence level is used as the face detection result.

Description

technical field [0001] The invention relates to the technical field of image processing, in particular to a neural network-based face detection model training, face detection method and system. Background technique [0002] The main task of face detection is to judge whether there is a face on a given face image, and if there is a face, give the position and size of the face. The commonly used process of face detection mainly includes the following three steps: (1) select a rectangular area from the image as an observation window; (2) extract features from the observation window to describe the content it contains; (3) carry out Classification discrimination, to determine whether the window contains a face. By continuously repeating the above three steps, until all observation windows on the face image are traversed. If any observation window is judged to contain a human face, the position and size of the window can be the position and size of the detected human face; conv...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06K9/00G06K9/62G06N3/08
CPCG06N3/084G06V40/161G06F18/214
Inventor 邵枭虎吕江靖覃勋辉周祥东石宇
Owner CHONGQING INST OF GREEN & INTELLIGENT TECH CHINESE ACADEMY OF SCI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products