Face recognition method utilizing a face recognition model and a face sample library to detect mask images
摘要:
A device and a method and a non-transitory readable storage medium, for face recognition are provided, the method comprise: extracting a face sample image from a predetermined face sample library and performing feature point detection to obtain multiple face feature points; obtaining multiple mask images; selecting first to fourth face feature points from the multiple face feature points; defining a distance between the first and second face feature point as a mask image height, and defining a distance between the third and fourth face feature point as a mask image width; adjusting a size of each mask image according to the mask image height and the mask image width; fusing each adjusted mask image with the face sample image to obtain multiple face mask images to save into the predetermined face sample library; training a face recognition model based on the predetermined face sample library for face recognition.
信息查询
0/0