Compare commits

..

No commits in common. "4c398b960343e3f4cc8ce56bd9e2d33819127a78" and "030b27ba9d27441e3991ac385081269969e6a21e" have entirely different histories.

4 changed files with 336 additions and 425 deletions

View File

@ -8,15 +8,12 @@
name: Upload Python Package name: Upload Python Package
on: on:
release: release:
types: [published] types: [published]
workflow_dispatch:
permissions: permissions:
contents: read contents: read
id-token: write
jobs: jobs:
deploy: deploy:

745
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "wyzely-detect" name = "wyzely-detect"
version = "0.2.1" version = "0.1.1"
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" repository = "https://github.com/slashtechno/wyzely-detect"
@ -27,20 +27,14 @@ torch = {version = "2.1.*", source = "pytorch-cpu", markers = "extra!='cuda'" }
# https://stackoverflow.com/a/76477590/18270659 # https://stackoverflow.com/a/76477590/18270659
# https://discfuss.tensorflow.org/t/tensorflow-io-gcs-filesystem-with-windows/18849/4 # https://discfuss.tensorflow.org/t/tensorflow-io-gcs-filesystem-with-windows/18849/4
# https://github.com/python-poetry/poetry/issues/8271#issuecomment-1712020965
# Might be able to remove this version constraint later # Might be able to remove this version constraint later
# Working versions: # Working versions:
# Python version 3.10.12 and 3.10.5 both work # Python version 3.10.12 and 3.10.5 both work
# CUDA version - 12.2 # CUDA version - 12.2
# cuDNN version - 8.8.1 # cuDNN version - 8.8.1
# Installed from Nvidia website - nvidia-cuda-toolkit is not installed, but default PopOS drivers are installed # Installed from Nvidia website - nvidia-cuda-toolkit is not installed, but default PopOS drivers are installed
absl-py = "^2.1.0" tensorflow-io-gcs-filesystem = "0.31.0"
tensorflow = {version = "^2.13.0", markers = "extra!='cuda'"} tensorflow = {version = "^2.14.0", markers = "extra!='cuda'"}
tensorflow-macos = { version = "^2.13.0", platform = "darwin", markers = "platform_machine=='arm64'" }
tensorflow-intel = { version = "^2.13.0", platform = "win32" }
tensorflow-io-gcs-filesystem = [
{ version = "< 0.32.0", markers = "platform_system == 'Windows'" }
]
deepface = "^0.0.79" deepface = "^0.0.79"

View File

@ -95,7 +95,6 @@ def set_argparse():
"--ntfy-url", "--ntfy-url",
default=os.environ["NTFY_URL"] default=os.environ["NTFY_URL"]
if "NTFY_URL" in os.environ and os.environ["NTFY_URL"] != "" if "NTFY_URL" in os.environ and os.environ["NTFY_URL"] != ""
# This is None but there is a default set in notify.py
else None, else None,
type=str, type=str,
help="The URL to send notifications to", help="The URL to send notifications to",