According to the latest report, Huawei Technologies Co., Ltd.’s patent for “a method and device for removing glasses in face images” was authorized. The abstract shows a method and device for removing glasses from a face image, which is used to solve the problem that after the glasses are removed in a face image with glasses in the prior art, the pixel value of the point where the glasses are located is 0, and the face information is lost.
Join tip3x on Telegram
Moreover, the method for removing glasses in a face image includes: acquiring an image to be detected ( S101 ); extracting facial features in the image to be detected through a first convolution layer ( S102 ); determining the image through a second convolution layer Eye region features in the facial features of the face, and filter the glasses region features in the eye region features (S103).
Furthermore, correct the filtered facial features through the first deconvolution layer (S104); pass the second deconvolution layer The face facial features corresponding to the glasses region in the corrected face facial features are generated by stacking layers to obtain a face image without glasses ( S105 ).