Source

whiteboard-cam /

Filename Size Date modified Message
ept-uploadr
python
65 B
1.6 KB
1.4 KB
1.4 KB
3.4 KB
1.3 KB
246 B
180 B
1.9 MB
OVERVIEW
========
whiteboard-cam is a whiteboard capture system written as a set of bash shell scripts. The system takes a picture from an attached Canon still camera; corrects barrel-distortion, performs perspective transformation and contrast maximization; then uploads the image to a flickr account.

whiteboard-cam glues together the following packages:
gphoto2     - http://www.gphoto.org/
ImageMagick - http://www.imagemagick.org/
uploadr.py  - http://github.com/ept/uploadr.py (inlcuded)

SETUP INSTRUCTIONS
===================
0) Configure flickr upload once (see below)

1) plug in Canon camera via USB, power up

2) run ./config.sh once.
   This needs to be run once after each plug-in of the camera

3) run ./capture.sh to capture and upload one new image.

FLICKR SETUP
============
1) You will need a flickr API key and Secret for your account:
http://www.flickr.com/services/apps/create/apply

2) Create a file ./secret.sh of the following form:
#!/bin/bash
export FLICKR_UPLOADR_PY_API_KEY=...
export FLICKR_UPLOADR_PY_SECRET=...

3) Make the file executable (chmod u+x secret.sh)

4) Create subdirectory ./images

5) Then execute ./ept-uploadr/uploadr/uploadr.py to generate and save an authentication token

DEPENDENCIES / TESTED CONFIGURATION
===================================
Written for Mac OS X (tested on 10.6), Canon SX100IS
Tested with the following macports:
* gphoto2 @2.4.5_0 
* ImageMagick @6.6.1-5_0+no_x11+perl+q16