A Deep learning based streamlit web app which can tell with which bollywood celebrity your face resembles.
Face recognition is the problem of identifying and verifying people in a photograph by their face. It is a task that is trivially performed by humans, even under varying light and when faces are changed by age or obstructed with accessories and facial hair. Nevertheless, it is remained a challenging computer vision problem for decades until recently.
Deep learning methods are able to leverage very large datasets of faces and learn rich and compact representations of faces, allowing modern models to first perform as-well and later to outperform the face recognition capabilities of humans.
In this project, you will discover the problem of face recognition and how deep learning methods can achieve superhuman performance to identify similar faces.
https://github.com/entbappy/Which-Bollywood-Celebrity-You-look-like
https://www.youtube.com/watch?v=lYSsLFgFzBk&list=PLkz_y24mlSJYI78C1IZJaghNvC7dh6red&index=6
This is a methods of identifying similar faces check various aspects on pictures, including: face shape, nose, eyes and mouth; face position in the picture; skin color (including the lighting of the photo); color and hair and cosine_similarity.
https://www.kaggle.com/sushilyadav1998/bollywood-celeb-localized-face-dataset
Web app look
Lets check some of images
This really performing good you can consider by seeing this result 😀
The fun part is I am looked like Riteish Deshmukh 😄😁
You can also use others images instead of bollywood actress
Clone the repository
git clone https://github.com/entbappy/Which-Bollywood-Celebrity-You-look-like.git
Create an environment
conda create -n celebrity python=3.7 -y
Install the requirements
pip install -r requirements.txt
Download the data from the link and keep it in your project directory. Make sure all the actress folder should be in just one folder called data, like that
Just execute this command one time if you are not changing the data
python run.py
Now to start the webapp run the following command
streamlit run app.py
yes!! Now you can start predicting 🙂
Author: Bappy Ahmed
Data Scientist
Email: entbappy73@gmail.com