Skip to content

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

License

Notifications You must be signed in to change notification settings

ByloTonix/rpi-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages