Inspiration

All of us has a fantasy about being a hero or a star in movies or tv shows. If that movie works better, you also want to know who am I in it, like could I be Hermione Granger or how much am I of Aragon from LoTR, even better you and you buds might be able to form a line of avengers in some standard. I mean, movies are a cure for the bitterness of life, why not expand the joy. Let's echo those fantasy moments in our every min of life, only by upload your picture could you find out what character do you look like in seconds.

What it does

WhatDoILookLike.online is a web application powered by AI that utilizes advanced facial recognition technology. It compares user-uploaded images to a vast database of fictional characters, generating a unique character match and offering a fun face-swapping feature. The backend leverages a robust machine learning model for accurate facial feature analysis and character matching. The frontend provides a user-friendly interface with intuitive image upload and result display. This project showcases innovative application of AI in entertainment and provides a unique user experience.

How I built it

  1. get posters and stills of the movie or tv show, it's all around the world
  2. how can you fetch those is a tricky one
  3. turn the posters and stills into embeddings
  4. detect uploaded picture and turn that into embeddings too
  5. calculate the similarity between uploaded and posters in multiple dimension
  6. boom you get what character do you look like the most
  7. besides you get the similarity between you and the poster
  8. even more, want to swap your face with the character, press one button, and there it is

Challenges I ran into

  1. how can you fetch the posters in a efficient way is a challeng
  2. how to make the swapped face more clearly is another one

Accomplishments that I'm proud of

  1. leveraging appropriate tools now the collecting process takes less than 5 mins for one movie

What I learned

  1. ship fast
  2. ship more

What's next for what character do i look like

  1. collect more movies, cuz that's the fundemental of the whole thing
  2. drive more traffics here
  3. if that goes well, I might be interested in turn the merged poster into a video shorts or something like that

Built With

  • chromadb
  • gfpgan
  • insightface
  • nextjs
  • python
Share this project:

Updates

posted an update

recently we just added one brand new feature: you can pick a cast in a show and try swapping your face specifically to this cast this is how:

  1. pick a show
  2. find the cast list section
  3. pick one cast
  4. and the page shows every poster including the actor / character and then enjoy

Log in or sign up for Devpost to join the conversation.