A personalized preprocessing method, system and terminal for face images
A face image and preprocessing technology, applied in the field of image processing, can solve the problems of inability to personalize processing and low recognition accuracy, and achieve the effects of clear layers, enhanced personalized features, and improved accuracy.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] figure 2 The flow chart of a personalized preprocessing method for face images provided by an embodiment of the present invention is shown, and is described in detail as follows:
[0037] In step S201, the grayscale image of the human face is analyzed, and the key points of the grayscale image of the human face are identified and extracted.
[0038] The embodiments of the present invention aim at including the converted face grayscale image, and perform preprocessing on the face area before image recognition. That is to say, when the embodiment of the present invention is actually used, the input data stream should be a grayscale image.
[0039] Wherein, the key points include 68 key points of the edge contours of the four regions of eyes, nose, mouth and chin. The embodiment of the present invention uses the dlib database to detect and locate 68 key points of the human face.
[0040] Of course, the user can adopt other key point detection methods such as the ASM (A...
Embodiment 2
[0056] image 3 It shows the process of using the face personalized feature model to fill the edge of the face gray image to obtain the face area image provided by the embodiment of the present invention, and the details are as follows:
[0057] In step S301, according to the key points in the grayscale image of the human face, the edge contour of the human face is extracted, and the grayscale image of the human face is divided into a human face area and a non-human face area.
[0058] In step S302, according to the feature ratio in the personalized face feature model, the non-face area in the gray-scale image of the face is filled according to the following formula to obtain the face area image:
[0059]
[0060] Among them, G i is the filling value of the i-th face grayscale image when performing grayscale filling, is the average gray value of the i-th face gray image.
[0061] The embodiment of the present invention aims at the technical problem that the features are...
Embodiment 3
[0063] Figure 4 It shows the process of normalizing the face region image according to the key points of the face region image provided by the embodiment of the present invention, and performing personalized alignment on the face region image, which is described in detail as follows :
[0064] In step S401, the pupil position of the face area in the face area image is identified and acquired, and an affine transformation is performed on the face area image so that the distance between the left eye pupil and the right eye pupil is a constant D.
[0065] Due to the instability of the distance and posture of the face in the real-time video stream, the embodiment of the present invention firstly performs normalized adjustment on the image of the face area, so that the shape of the face image is balanced and presents a better posture, which is convenient Learning of facial features in face recognition.
[0066] At this time, D can be learned through training, and can be a fixed ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com