Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.