Giter VIP home page Giter VIP logo

bylotonix / rpi-detector Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 1.0 30 KB

Python-скрипт, с помощью которого можно использовать Raspberry Pi и CSI-камеру для неё в качестве детектора движения.

License: GNU General Public License v3.0

Python 100.00%
camera pi picamera python raspberry raspberrypi csi debian linux raspberry-pi-4

rpi-detector's Introduction

Raspberry Pi Camera Detector

Raspberry Pi Camera Detector is a Python script with which you can use a Raspberry Pi and a CSI camera for it as a motion detector.

Warnings:

  • Make sure you are using Raspberry Pi OS Legacy (based on Buster) or older. It is possible to work on Raspberry Pi OS Bullseye when using the Legacy version of the Pycamera driver. There may be problems with other distributions.

Requirements:

  • Raspberry Pi 2B and newer
  • Any CSI-compatible camera

Setup:

  • In the Raspberry Pi Configuration Tool, enable the camera operation:
sudo raspi-config
  • Install the necessary dependencies:
sudo apt install python3-opencv -y
sudo apt install git --no-install-recommends -y
  • Download the script:
git clone https://github.com/ByloTonix/rpi-detector/
cd rpi-detector
sudo chmod +x detector.py
mkdir images

Usage:

  • After completing the configuration, go to the directory with the script and run it:
cd ~/rpi-detector
python3 detector.py

rpi-detector's People

Contributors

bylotonix avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

orhankalyon

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.