US 12,094,244 B2
Method for recognizing masked faces, device for recognizing masked faces, and computer storage medium
Chin-Wei Yang, New Taipei (TW)
Assigned to HONG FU JIN PRECISION INDUSTRY (WuHan) CO., LTD., Wuhan (CN)
Filed by HONG FU JIN PRECISION INDUSTRY (WuHan) CO., LTD., Wuhan (CN)
Filed on Dec. 20, 2021, as Appl. No. 17/555,649.
Application 17/555,649 is a continuation in part of application No. PCT/CN2021/086114, filed on Apr. 9, 2021.
Prior Publication US 2022/0327861 A1, Oct. 13, 2022
Int. Cl. G06K 9/62 (2022.01); G06V 10/22 (2022.01); G06V 10/82 (2022.01); G06V 40/16 (2022.01)
CPC G06V 40/172 (2022.01) [G06V 10/22 (2022.01); G06V 10/82 (2022.01); G06V 40/168 (2022.01)] 12 Claims
OG exemplary drawing
 
1. A method for recognizing masked faces, comprising:
obtaining a face image to be recognized;
detecting whether the face image to be recognized has a mask;
extracting feature vectors of a whole face in the face image to be recognized when the face image to be recognized does not have a mask;
comparing the feature vectors of the whole face with face images in a first database, and outputting a face recognition result;
extracting feature vectors of an upper half face in the face image to be recognized when the face image to be recognized has a mask;
comparing the feature vectors of the upper half face with face images in a second database, and outputting the face recognition result, wherein the second database is obtained by amplifying the face images in the first database, a step of amplifying the face images in the first database to obtain the second database comprises:
reading each of the face images in the first database;
performing face detection on each of the face images;
calculating a compensation coefficient for deviations based on an unselected face part of each of the face images after the face detection;
correcting a face detection range of each of the face images according to the compensation coefficient for deviations;
isolating an upper half of each of the face images according to the face detection range to obtain an upper half face image;
storing the upper half face image to the second database.