In this project we have used insightface package for face analysis task.
pip install -r requirements.txt
To run this code, save it as face_verification.py and then run the following command in the terminal:
python face_verification.py --image1 ./img1.jpg --image2 ./img2.jpg
Make sure to replace ./img1.jpg and ./img2.jpg with the paths to your own images.