Skip to content

Capture images using Raspberry Pi camera, upload to dropbox and delete local version. 📸

Notifications You must be signed in to change notification settings

nimisaya/picamCaptureDropboxUpload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

picamCaptureDropboxUpload

Capture photos using Raspberry Pi Camera and upload to dropbox. Delete local file once photos are uploaded.

Run

Note: These instructions are based on running on the Raspberry Pi 3 with Raspbian Jessie Lite OS

Capture with Pi camera

  1. Insert Pi camera
  2. Enable camera in raspi-config
  3. Make sure you have the following installed:
    • python (sudo apt-get install python3)
    • picamera (sudo apt-get install python3-picamera)
  4. Specify photo format

Dropbox Upload

  1. Sign up for Dropbox account at dropbox.com
  2. Navigate to Dropbox Developers
  3. Select 'Create your app'
  4. Select the following:
    • Dropbox API
    • App folder or Full Dropbox (Depends on purpose)
    • Enter a name for your app
    • Create app
    • Generate code and copy to clipboard
  5. Make sure you have the following installed:
    • python (sudo apt-get install python3)
    • pip (sudo apt-get install python3-pip)
    • dropbox for python (sudo pip install dropbox)
  6. Use a text editor e.g. nano, to edit the file and fill in:
    • TOKEN - the dropbox app code you generated
    • uploadPath - folder on dropbox you want photo uploaded to (Not required)

Run

$ python3 picamCaptureDropboxUpload.py

Relevant Documentation

Tested

Raspberry Pi 3 with:

  • Raspberry Pi Camera v2.1

About

Capture images using Raspberry Pi camera, upload to dropbox and delete local version. 📸

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages