Coder Social home page Coder Social logo

workingninja / picamir Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 23 KB

A simple live stream Web cam with IR for the Raspberry Pi.

License: GNU General Public License v3.0

Python 65.58% HTML 34.42%
raspberry-pi raspberry-pi-camera flask brightpi infrared

picamir's Introduction

picamir

A simple live stream Web cam with IR for the Raspberry Pi.

Requirements

  1. Python 2.7
  2. Raspberry Pi with Raspbian
  3. Pi NoIR Camera v2
  4. BrightPi
  5. AM2302 Temperature and Humidity Sensor

Installation

picamir

git clone https://github.com/workingninja/picamir.git
cd picamir

Bright-Pi

Install brightpi

cd ir
git clone https://github.com/PiSupply/Bright-Pi.git
mkdir brightpi
cp Bright-Pi/brightpi/brightpilib.py brightpi/

Enable I2C Autoloading

sudo raspi-config

Interfacing Options > I2C > Yes

SMBus for Bright-Pi

sudo apt-get install i2c-tools
sudo apt-get install python-smbus
python -m virtualenv --system-site-packages env

Python Dependencies (via pip)

source env/bin/activate
pip install -r requirements.txt

Static Files (via Yarn)

yarn install
ln -s node_modules static

Temperature/Humidity Sensor

This project is currently hardcoded with an AM2302 temperature and humidity sensor. To install the library for reading the sensor, follow the instructions provided by Adafruit: https://github.com/adafruit/Adafruit_Python_DHT

Running picamir

Temporarily

(env)$ ./app.py

Persistent (across reboots)

Add the following to your users crontab (crontab -e):

@reboot /path/to/picamir/env/bin/python /path/to/picamir/app.py

Special Thanks

This project would not be possible without the camera module from Miguel Grinberg and IR LEDs and code developed by Pi Supply.

picamir's People

Contributors

workingninja avatar

Watchers

 avatar

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.