1) Face acquisition module, the source of face images can be from local files, network URLs or video frames, this design uses OpenCV functions from files and cameras.<br>2) Face correction module, because the intercepted face image is likely to be crooked, such as crooked head, in order to improve the accuracy of recognition, it is necessary to use open CV to provide an affine transformation method, the use of detected face key points to intercept the face corrected to a standard position.<br>3) Face detection module, in which the module is used to pre-process the input image, determine the number of faces in the picture, as well as detect the location of the face and the key point coordinates of the face, and the face image from the background. At the same time, in the real-world scenario should maintain a good robustness and real-time detection performance. <br>4) Face recognition module, face recognition module is generally composed of two parts, that is, face feature extraction and the establishment of face index library. After obtaining the preprocessed face image, the face is entered into the pre-trained model, the 512-dimensional face feature is extracted and indexed.<br>5) Face attribute module, first of all, the detection of face image pre-processing, to get a more standard face image.
正在翻译中..