Inspiration

I have been learning machine learning from a while. And many of the ideas developed by them are fascinating cool what not . This face generator is one of them.

What it does

In this project our app simply calls an api using library named thispersondoesnotexist which gets image data in bytes form and converts it into image form and present in on the webpage after user calls it as many time they want.

How we built it

To make it I have gone through several youtube tuitorials applying multiple hit and trials on different methods on openCV ,pillow ,urllib ,io module which provides the python interfaces to stream handling. The best I could have made is a result you can check.

Challenges we ran into

Initially I found it difficult to use the api cause applying normal get method and parsing data from server was difficult which was against server policy. Also presenting out result on streamlit was our best decision cause presenting generated image using cv2 or pillow was really not possible on the platform non they have mentioned in their documentation par about it.

Accomplishments that we're proud of

I finally did it . It was really tough to over such a project after multiple failures and prcastinations.

What we learned

We have learnt multiple methods of calling api and using it accordingly.

What's next for FaceGenerator

We will add anime based image generator or theme based faces for example godess of snow ,beauty of fire etc.

Built With

  • asyncio
  • io
  • pil
  • streamlit
  • thispersondoesnotexist
Share this project:

Updates