Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alancunningham/waveshare-eink-face-detector
A Raspberry Pi powered e-ink display that detects faces and snaps a photo.
https://github.com/alancunningham/waveshare-eink-face-detector
camera detects-faces eink face-detection faces opencv opencv-python photo photoframe python3 raspberry-pi raspberry-pi-camera raspberrypi waveshare waveshare-eink
Last synced: about 1 month ago
JSON representation
A Raspberry Pi powered e-ink display that detects faces and snaps a photo.
- Host: GitHub
- URL: https://github.com/alancunningham/waveshare-eink-face-detector
- Owner: AlanCunningham
- Created: 2020-10-01T22:35:03.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-07-10T11:50:23.000Z (6 months ago)
- Last Synced: 2024-07-10T13:57:25.764Z (6 months ago)
- Topics: camera, detects-faces, eink, face-detection, faces, opencv, opencv-python, photo, photoframe, python3, raspberry-pi, raspberry-pi-camera, raspberrypi, waveshare, waveshare-eink
- Language: Python
- Homepage:
- Size: 1.04 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Waveshare E-Ink Face Detector
A Raspberry Pi powered e-ink display that detects faces and displays them as a photo on [Waveshare's 7.5 inch e-ink display](https://www.waveshare.com/7.5inch-e-paper-hat.htm).
# Hardware requirements
- Raspberry Pi
- [Waveshare's 7.5 inch e-ink display](https://www.waveshare.com/7.5inch-e-paper-hat.htm)
- A camera (e.g. the Raspberry Pi camera, USB camera, or a networked video feed)
- A photo frame# Installation
```
# Clone the repository
git clone [email protected]:AlanCunningham/waveshare-eink-face-detector.git# Create a python virtual environment
python3 -m venv venv# Activate the virtual environment
source venv/bin/activate# Install the python dependencies using the requirements.txt file provided
pip install -r requirements.txt
```# Running the script
If you're using the Raspberry Pi camera or a USB camera:
```
(venv)$ python main.py
```
If you're using a networked camera:
```
(venv)$ python main.py --video url_to_video_feed
```The script will look for faces and take a photo if one is detected for more than
2 seconds and display it on the screen. It'll then go to sleep for a given amount
of time to prevent it updating while the face is still there.