face-detect-mqtt/README.md

26 lines
515 B
Markdown
Raw Normal View History

2022-05-13 12:34:03 +02:00
# CVZone MQTT Tracker
2022-05-13 12:09:37 +02:00
2022-05-13 12:57:22 +02:00
## Run with docker
```
docker run \
--device /dev/video0 \
-e MQTT_ADDRESS="10.1.1.100" \
-e MQTT_PORT="1883" \
-e MQTT_CLIENT_ID="cvzone_tracker_01" \
-e MIN_FACE_SCORE="0.5" \
cvzone-mqtt-tracker:latest
```
2022-05-13 12:09:37 +02:00
2022-05-13 12:34:03 +02:00
## Install on Raspberry Pi
*Required*: Raspberry Pi OS 64-bit
2022-05-13 12:09:37 +02:00
2022-05-13 12:34:03 +02:00
Set the following options in `raspi-config`:
- GPU Memory -> 256
- Legacy Camera Stack -> Enabled
2022-05-13 12:09:37 +02:00
2022-05-13 12:34:03 +02:00
```
sudo apt update
sudo apt install pyhton3 python3-opencv
sudo pip3 install -r requirements_rpi.txt
```