Commit Graph

76 Commits

Author SHA1 Message Date
slashtechno 6928fdace5
Added flag to disable TensorFlow using GPU
Added since on Linux, it seems Tensorflow attempts to use GPU by default
2023-12-02 21:23:42 -06:00
slashtechno de5d6c1ab0
Fix `deepface` error when no images exist
Accomplished by adding another check for ValueError message
Might be better to warn user if no images exist
2023-12-02 18:21:41 -06:00
slashtechno b5d95ed963
Fixed unknown face causing error 2023-11-02 19:54:55 -05:00
slashtechno 1cf74e13ed
Add details on installing from PyPi in README
Also:
- Bump version to `0.1.1`
- Pull Docker image rather than building in docker-compose.yml
2023-10-27 12:54:28 -05:00
slashtechno 8026fd88f2
Merge pull request #7 from slashtechno/improve-argparse-organization
Improve argparse organization
2023-10-27 12:01:51 -05:00
slashtechno 85b59f4c21
Fixed nonexistent arg being used for RTSP 2023-10-27 12:00:17 -05:00
slashtechno 9e39132506
Add more groups to argparse 2023-10-27 11:52:33 -05:00
slashtechno 5af2b24fe4
Rename `--url` to `--rtsp-url` 2023-10-27 11:37:38 -05:00
slashtechno 792a095782
Add `--no-remove-representations` 2023-10-27 11:33:05 -05:00
slashtechno 32d523b727
Add `--face-confidence-threshold` 2023-10-27 11:23:44 -05:00
slashtechno eedc2783c9
Make ntfy url optional 2023-10-27 11:08:17 -05:00
slashtechno f669a39056
Move argparse code to `cli_args.py` 2023-10-27 10:54:36 -05:00
slashtechno 3235bb61bb
Merge pull request #6 from slashtechno/publish-to-pypi
Prepare to publish to PyPi
2023-10-22 16:57:45 -05:00
slashtechno 259cc8f200
Format code 2023-10-22 16:54:30 -05:00
slashtechno 504ccb6695
Changed repo URL and added repo to pyproject.toml 2023-10-22 16:53:29 -05:00
slashtechno c767a819c2
Added facial recognition confidence threshold
Also reset version and added release workflow
2023-10-22 16:45:01 -05:00
slashtechno 4f1f253c6c
Fix representations_<model>.pkl not being created 2023-10-22 16:20:57 -05:00
slashtechno 2cf945feec
Check if face directory exists; switch to ArcFace
Other fixes:
* Improve error handling during face recognition
* Change VS Code run configuration name
* Update `deepface-test.ipynb`
* Reset version to `0.1.0` (not pushed to PyPi yet)
2023-10-22 12:02:07 -05:00
slashtechno d83315518a
Standardize program name and description 2023-10-22 09:24:11 -05:00
slashtechno 96247767fb
Changed project name to `wyzely-detect` 2023-10-21 19:59:02 -05:00
slashtechno 4f8e26b2a2
Free up space when building Docker image 2023-10-15 15:48:36 -05:00
slashtechno 6e8e3b6eee
Disabled Docker caching in docker.yml 2023-10-15 15:39:33 -05:00
slashtechno 0daa8ddd3b
Merge pull request #5 from slashtechno/object-detection
Add object detection and switch to Deepface
2023-10-14 22:38:56 -05:00
slashtechno cb6c705e9d
Removed requirements.txt 2023-10-14 22:38:28 -05:00
slashtechno 8cc9054e67
Fixed Docker support and updated README.md 2023-10-14 22:31:48 -05:00
slashtechno 1d17bb629b
Fixed scaling 🎉 2023-10-14 19:25:27 -05:00
slashtechno 7d942ee456
Merge pull request #4 from slashtechno/deepface
Add facial recognition
2023-10-14 17:39:49 -05:00
slashtechno b2f10280b3
Fix facial recognition
Scaling still seems to be imperfect
2023-10-14 17:37:42 -05:00
slashtechno b6948aded2
Allow program to be run as a script 2023-10-14 15:46:42 -05:00
slashtechno 3bf1966bfd
Manage timers in notify.py 2023-10-14 15:40:36 -05:00
slashtechno 3c6919d2c6
Create Deepface Jupyter Notebook 2023-10-13 20:51:16 -05:00
slashtechno 556a90da3c
Format 2023-10-13 18:16:55 -05:00
slashtechno 000692a7af
Optionally only detect specific objects 2023-10-13 18:13:46 -05:00
slashtechno 6dfb06989f
Manually plot boxes, rather than using `r.plot()` 2023-10-13 17:44:38 -05:00
dependabot[bot] 6438e91492
Bump pillow from 9.3.0 to 10.0.1 (#2)
Bumps [pillow](https://github.com/python-pillow/Pillow) from 9.3.0 to 10.0.1.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/9.3.0...10.0.1)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-13 16:09:49 -05:00
slashtechno ccf560ab2a
Allow custom confidence threshold
Clarify print statements
2023-10-05 20:33:52 -05:00
slashtechno 0a28b756ae
Delete config 2023-10-05 20:28:11 -05:00
slashtechno 63f9072b46
Added flags for timers 2023-10-05 20:26:56 -05:00
slashtechno 2341f0005c
Actually (?) fixed notification spam! 2023-10-05 20:26:47 -05:00
slashtechno 9fb5818322
Don't spam notifications 2023-10-05 20:26:37 -05:00
slashtechno ea4009c898
Add `--url`
Don't use Pytorch GPU
2023-10-05 20:25:55 -05:00
slashtechno a99a899417
Added notification stuff 2023-10-05 20:25:47 -05:00
slashtechno dbf1b0ed63
Turn off verbose output
Also print object type
2023-10-05 20:25:40 -05:00
slashtechno c56d7c86fc
Simple object detection 2023-10-05 20:25:26 -05:00
slashtechno 3a2ed7d4eb
Merge pull request #1 from slashtechno/dependabot/pip/requests-2.31.0
Bump requests from 2.28.1 to 2.31.0
2023-09-17 09:42:58 -05:00
dependabot[bot] 22b3d692b7
Bump requests from 2.28.1 to 2.31.0
Bumps [requests](https://github.com/psf/requests) from 2.28.1 to 2.31.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.28.1...v2.31.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-29 14:58:27 +00:00
slashtechno 67585ae078
Merge branch 'master' of https://github.com/slashtechno/wyze-face-recognition 2022-12-18 16:01:31 -06:00
slashtechno 514ee99604
Re-added caching for Docker 2022-12-18 15:59:47 -06:00
slashtechno ab0b878bac
Change notification priority (ntfy) 2022-12-18 13:50:22 -08:00
slashtechno 19dd604f05
Update .gitignore, again 2022-12-18 14:57:48 -06:00