Inspiration

the idea comes when I want to edit my photo to comic style for instagram post, I need to use other apps for it. so the ideas is to ease instagram user to create creative/awesome post with apply art style to theirs photo without leaving the instagram app for editing.

What it does

enable instagram users to turn their photo into an artwork with 10 styles through Instagram Direct Message.

How we built it

Style transfer app

style transfer model based on paper by Perceptual Losses for Real-Time Style Transfer Super-Resolution and Instance Normalization ,use pytorch (torch and torchvision) to build network and image transformation to get the output result and use pretrained model from here to get various style.

Instagram Direct Messege Bot

build bot based on sample code from fb documentation here that use nodejs as main stack and to build bot easily, we create this bot flow : bot flow

Infrastructure

  • hosted style transfer app on EC2 aws and store image in s3. Provide API through flask to consume by bot app.
  • hosted bot in replit.com.

Challenges we ran into

  • new in pytorch,python, instagram direct message api

Accomplishments that we're proud of

  • succesfully integrate style transfer app to bot

What we learned

  • python, pytorch, instagram DM api

What's next for Photart - Turn your photo to art style on Instagram DM

  • more photo editing features

Built With

Share this project:

Updates