Find Matching Faces Based On Face Parameters
Setu A. Bhatt, Harshadkumar B. Prajapati, Vipul K. Dabhi, Ankush Tyagi
TL;DR
This work addresses the need for visual-based matchmaking by letting users specify facial attributes that guide a Text-To-Image generation model to synthesize a face; the generated face is detected and encoded into a $512$-dimensional embedding using FaceNet with InceptionResnetV1, and a vector similarity search against a Jeevansathi dataset stored in a vector database (Qdrant) retrieves the top $5$ matches. The end-to-end pipeline is integrated with a Gradio-based UI, uses MTCNN and Dlib for facial detection and landmarks, and demonstrates cross-model comparisons for image generation quality. The approach enables personalized, visually driven matching and can be adapted to domains like film casting and security, with potential for broader data integration and configurable datasets, while acknowledging ethical considerations and potential limitations in fine-grained facial attributes.
Abstract
This paper presents an innovative approach that enables the user to find matching faces based on the user-selected face parameters. Through gradio-based user interface, the users can interactively select the face parameters they want in their desired partner. These user-selected face parameters are transformed into a text prompt which is used by the Text-To-Image generation model to generate a realistic face image. Further, the generated image along with the images downloaded from the Jeevansathi.com are processed through face detection and feature extraction model, which results in high dimensional vector embedding of 512 dimensions. The vector embeddings generated from the downloaded images are stored into vector database. Now, the similarity search is carried out between the vector embedding of generated image and the stored vector embeddings. As a result, it displays the top five similar faces based on the user-selected face parameters. This contribution holds a significant potential to turn into a high-quality personalized face matching tool.
