Changed repo URL and added repo to pyproject.toml

This commit is contained in:
slashtechno 2023-10-22 16:53:29 -05:00
parent c767a819c2
commit 504ccb6695
Signed by: slashtechno
GPG Key ID: 8EC1D9D9286C2B17
3 changed files with 4 additions and 2 deletions

View File

@ -28,7 +28,7 @@ Recognize faces/objects in a video stream (from a webcam or a security camera) a
## Usage ## Usage
### Installation ### Installation
1. Clone this repo with `git clone https://github.com/slashtechno/wyze-face-recognition.git` <!-- This URL should be changed once the repo is renamed --> 1. Clone this repo with `git clone https://github.com/slashtechno/wyzely-detect`
2. `cd` into the cloned repository 2. `cd` into the cloned repository
3. Then, either install with [Poetry](https://python-poetry.org/) or run with Docker 3. Then, either install with [Poetry](https://python-poetry.org/) or run with Docker

View File

@ -3,6 +3,8 @@ name = "wyzely-detect"
version = "0.1.0" version = "0.1.0"
description = "Recognize faces/objects in a video stream (from a webcam or a security camera) and send notifications to your devices" description = "Recognize faces/objects in a video stream (from a webcam or a security camera) and send notifications to your devices"
authors = ["slashtechno <77907286+slashtechno@users.noreply.github.com>"] authors = ["slashtechno <77907286+slashtechno@users.noreply.github.com>"]
repository = "https://github.com/slashtechno/wyzely-detect"
keywords = ["object-detection", "face-detection", "wyze", "security", "yolov8", "unified-push"]
license = "MIT" license = "MIT"
readme = "README.md" readme = "README.md"
packages = [{include = "wyzely_detect"}] packages = [{include = "wyzely_detect"}]

View File

@ -160,7 +160,7 @@ def main():
args = argparser.parse_args() args = argparser.parse_args()
# Check if a CUDA GPU is available. If it is, set it via torch. Ff not, set it to cpu # Check if a CUDA GPU is available. If it is, set it via torch. If not, set it to cpu
# https://github.com/ultralytics/ultralytics/issues/3084#issuecomment-1732433168 # https://github.com/ultralytics/ultralytics/issues/3084#issuecomment-1732433168
# Currently, I have been unable to set up Poetry to use GPU for Torch # Currently, I have been unable to set up Poetry to use GPU for Torch
for i in range(torch.cuda.device_count()): for i in range(torch.cuda.device_count()):