Skip to content

shajon1211045/vgg_face_bollywood_celebrity_lookalike

Repository files navigation

vgg_face_bollywood_celebrity_lookalike

In this project I created a streamlit app that takes picture of a person's face and suggests which of the 100 bollywood celebrities he/she looks closest to. I used the weights from the vgg-16 model using transfer learning method. I trained more than 8,000 total pictures of those celebrities and store those matrices for those pictures.

The basic function of the app is -

1.first convert the input picture into matrix form.

2.find the cosine distances between the input picture matrix and all the other matrix stored by the model.

3.find which particular celebrity picture matrix has the closest distance with the input picture matrix.

4.finally, display both the input picture and celebrity picture that has the minimum cosine distance with the input picture.

Some examples of the final app are given below

test1 test2 test3 test4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published