Skip to content

📷 Discord Bot that downloads, crops photos around everyone's face and creates a collage

License

Notifications You must be signed in to change notification settings

MLH-Fellowship/class-photo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Class Photo

📷 Discord Bot that downloads and crops photos around everyone's face

Setup

virtualenv .venv
source .venv/bin/activate
pip install -r requirements.txt

Fill out .env with the fields in example.env.

Make sure you have a service account for using the Google Cloud Vision API. Instructions here.

Run

There's 3 stages:

  1. Download photos from Discord
  2. Crop them
  3. Make collage

For downloading only

python -m class_photo --discord

For cropping only

python -m class_photo --crop

For collage only

python -m class_photo --collage

For everything

python -m class_photo --all

About

📷 Discord Bot that downloads, crops photos around everyone's face and creates a collage

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project