Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bylotonix/rpi-detector
Python-скрипт, с помощью которого можно использовать Raspberry Pi и CSI-камеру для неё в качестве детектора движения.
https://github.com/bylotonix/rpi-detector
camera csi debian linux pi picamera python raspberry raspberry-pi-4 raspberry-pi-camera raspberry-pi-os raspberrypi
Last synced: 4 months ago
JSON representation
Python-скрипт, с помощью которого можно использовать Raspberry Pi и CSI-камеру для неё в качестве детектора движения.
- Host: GitHub
- URL: https://github.com/bylotonix/rpi-detector
- Owner: ByloTonix
- License: gpl-3.0
- Created: 2022-03-30T14:26:16.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-26T09:09:02.000Z (12 months ago)
- Last Synced: 2024-09-29T00:23:24.641Z (4 months ago)
- Topics: camera, csi, debian, linux, pi, picamera, python, raspberry, raspberry-pi-4, raspberry-pi-camera, raspberry-pi-os, raspberrypi
- Language: Python
- Homepage:
- Size: 29.3 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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:```sh
sudo raspi-config
```- Install the necessary dependencies:
```sh
sudo apt install python3-opencv -y
sudo apt install git --no-install-recommends -y
```- Download the script:
```sh
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:
```sh
cd ~/rpi-detector
python3 detector.py
```