meerqat.image.face_recognition module#
Usage: face_recognition.py <dataset> [<config> –disable_caching]
Options: –disable_caching Disables Dataset caching (useless when using save_to_disk), see datasets.set_caching_enabled()
- meerqat.image.face_recognition.similarity_transform(image, landmarks, src, tform, image_size=112)[source]#
Adapted from deepinsight/insightface
- meerqat.image.face_recognition.get_pil_preprocessor()[source]#
Use to preprocess PIL image of shape (H x W x C) loaded using Image.open(image_path).convert(‘RGB’)