Rename repo and move python files to src

This commit is contained in:
selexin 2022-05-13 23:13:28 +10:00
parent 20ee985174
commit 45584f2336
No known key found for this signature in database
GPG Key ID: 8C5633201B25C57D
6 changed files with 7 additions and 6 deletions

View File

@ -7,4 +7,4 @@ WORKDIR /app
COPY . /app
RUN pip install -r requirements.txt
CMD python main.py
CMD python src/main.py

View File

@ -1,4 +1,5 @@
# CVZone MQTT Tracker
# Face Detect MQTT
Face and Hand Gesture detector that emits MQTT events on detection
## Raspberry Pi Pre-requisites (using the RPi Camera Module)
*Required*: Raspberry Pi OS 64-bit
@ -26,8 +27,8 @@ docker run \
-e MQTT_PORT="1883" \
-e MQTT_CLIENT_ID="cvzone_tracker_01" \
-e MIN_FACE_SCORE="0.5" \
--name=cvzone-mqtt-tracker \
selexin/cvzone-mqtt-tracker:latest
--name=face-detect-mqtt \
selexin/face-detect-mqtt:latest
```
## Manually install and run
@ -36,5 +37,5 @@ sudo apt update
sudo apt install pyhton3 python3-opencv
sudo pip3 install -r requirements.txt
python3 main.py
python3 src/main.py
```

View File

@ -9,5 +9,5 @@ docker buildx inspect --bootstrap
docker buildx build \
--push \
--platform linux/arm64/v8,linux/amd64 \
--tag selexin/cvzone-mqtt-tracker:latest .
--tag selexin/face-detect-mqtt:latest .