GitXplorerGitXplorer
M

class-photo

public
36 stars
8 forks
3 issues

Commits

List of commits on branch master.
Unverified
1b6efd47e8754cbce03ad888c0063a687e39e62d

Make it easier for adding Rows + Columns

wwrussell1999 committed 2 years ago
Unverified
e281b74bd1e4631fa2d833314bdb49a623ab4985

Fix collage when padding exists

wwrussell1999 committed 3 years ago
Unverified
766a41f513febe389705bdb44c2fa58db35a61dc

Merge master into PR #3 with tweaks

nnataliesmith100 committed 4 years ago
Verified
533b13d91dfa51acb874079fa51aff64dfca614c

Add pep8 corrections on bot.py (#4)

ggmelodie committed 4 years ago
Verified
320de5f715a44edfb44ede5b447ab3aa2a4285aa

Fix error when no face found (#5)

nnataliesmith100 committed 4 years ago
Unverified
b4f4820b380e4c21deae7a68d2bc684f9fcc4c12

Save only last photo from user

ggmelodie committed 4 years ago

README

The README file for this repository.

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