Patent ID: 11922724
Assignee: HONG FU JIN PRECISION INDUSTRY (WUHAN) CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 8:
9. A face recognition device comprising:
a processor; and
a storage device storing one or more programs which when executed by the processor, cause the processor to:
extract images of sample faces from a predetermined face sample library;
perform feature point detection on each of the images of sample faces to obtain multiple face feature points;
obtain multiple mask images, wherein each of the multiple mask images corresponds to one type of mask;
select a first face feature point, a second face feature point, a third face feature point, and a fourth face feature point from the multiple face feature points, define a distance between the first face feature point and the second face feature point as a mask image height, and define a distance between the third face feature point and the fourth face feature point as a mask image width;
adjust a size of each of the multiple mask images according to the mask image height and the mask image width;
fuse each of multiple adjusted mask images with an image of sample face to obtain a plurality of face mask images;
save the plurality of face mask images to the predetermined face sample library; and
train a face recognition model based on the predetermined face sample library for face recognition.