Skip to content
A photo caption generator using Google Cloud Vision
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
static
templates
.gitignore
README.md
main.py
requirements.txt

README.md

cap.py

Uploading a photo to your favorite social media platform is always a struggle when you can't think of the perfect caption. With cap.py, never worry again that your caption is holding back your image from getting the attention it deserves.

Start by choosing the picture you want to caption. After uploading, your image will be paired with one of the generated captions. If you think that the first one doesn't fit your needs, you can regenerate another caption.

View a live demo here!

Instructions to run the app locally

virtualenv --no-site-packages --distribute .venv && source .venv/bin/activate && pip install -r requirements.txt
export FLASK_APP="main.py"
flask run

If you run into errors:

Set Credentials:

export GOOGLE_APPLICATION_CREDENTIALS=apikey.json

Install required :

sudo pip install google-cloud==0.27

Install BeautifulSoup:

sudo pip install bs4

Install Giphy:

sudo pip install giphy_client

Contributors

Team Manager: Brandon Yip
Front-end: Caitlin Wang
Back-end: Abel Shin, Elizabeth Cho
Full-stack: Daniel Chen
Logo: Abby Ko

Special thanks to:

Alice Mo, Jeff Chan, Austin Kim, Duk Hwan Kim 🐶

You can’t perform that action at this time.