Skip to content

heming-h/webcam-app

Repository files navigation

A Python web app to upload photos to Google cloud storage

Set upp application default credentials: https://cloud.google.com/docs/authentication/provide-credentials-adc#how-to

Configure google cloud through updating the .env file

GOOGLE_APPLICATION_CREDENTIALS=/home/heming/github/application_default_credentials.json
GOOGLE_CLOUD_PROJECT=my-project
GOOGLE_STORAGE_BUCKET=my-bucket
GOOGLE_STORAGE_SERVER=https://storage.googleapis.com
WEBCAM_PHOTO_FOLDER=/home/webcam/photos
WEBCAM_PHOTO_ARCHIVE=/home/webcam/archive

Start-up service

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
source .env
python3 handle_webcam_photo.py

About

Simple python app to display images from webcam

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •