GithubHelp home page GithubHelp logo

libardo / pipic Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sdenton4/pipic

0.0 2.0 0.0 2.17 MB

Tools for Raspberry Pi photography

License: GNU General Public License v2.0

Python 75.96% CSS 0.06% JavaScript 10.57% HTML 13.41%

pipic's Introduction

pipic

Tools for Raspberry Pi photography

This repository contains scripts I am using for timelapse projects with the raspberry pi. The important parts are:

timelapse.py: Takes photos at a specified interval.

deflicker.py: Touches up timelapsed photos by applying auto-levelling, brightness adjustment, and pixel averaging (if desired).

There are also some tools for getting the Pi ready to roll.

loadOut.py: Copy various configuration files onto a disk that will be used with the Pi. Also sets hostname, timezone, and does some other housekeeping.


We're also working on building a Django server for managing all your timelapse needs. Feel free to try it out and tell us what you think!

There are a couple pre-requisites, though. Use the python 'pip' installer to make sure you have recent versions of each.

sudo apt-get install python-pip

Then:

pip install -U django

pip install -U celery

To get the Django app running, try adding the following three lines to your Pi's crontab:

@reboot pi /usr/bin/screen -dmS tlapse python /home/pi/pipic/djpilapse/manage.py runserver 192.168.0.5:8000

@reboot pi /usr/bin/screen -dmS celery bash -c 'sleep 10; (cd /home/pi/pipic/djpilapse && exec celery -A djpilapse worker -l info )'

@reboot pi bash -c 'sleep 40; wget 192.168.0.5:8000/djpilapp/startlapse/'

You will also need to manually set your Pi's IP address to 192.168.0.5 for ethernet. (You can actually use any value you like; just make sure the crontab lin have amatching IP address.) Then reboot.

You can then access the web interface in one of two ways. a) Open a browser on the Pi and go to 192.168.0.5:8000, or b) Set your laptop to manual IP address 192.168.0.10 (or any 192.168.0.X with X not equal to 5), connect an ethernet cable to the Pi, and then open a browser and navigate to 192.168.0.5:8000.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.