Cog implementation of face detection and swap, utilizing insightface lib
Often the input image needs to be aligned and cropped beforehand and this demo provides an easy way to preprocess customised input images. face boxes with sorted face images & latent embedding are returned.