Commit Graph

3627 Commits

Author SHA1 Message Date
Nicolas Mowen
7fcf82ba9b Fix check 2025-01-04 15:56:41 -07:00
Nicolas Mowen
dfe3392cd2 Change threshold 2025-01-04 15:45:12 -07:00
Nicolas Mowen
d578fceac8 Enable UI for feature metrics 2025-01-04 15:44:15 -07:00
Nicolas Mowen
ccf8848143 cleanup embeddings inferences 2025-01-04 15:20:48 -07:00
Nicolas Mowen
3faadb633d Get stats for embeddings inferences 2025-01-04 15:05:33 -07:00
Nicolas Mowen
fbcbb6b088
Fix facedet download (#15811)
* Support downloading face models

* Handle download and loading correctly

* Add face dir creation

* Fix error

* Fix

* Formatting

* Move upload to button

* Show number of faces in library for each name

* Add text color for score

* Cleanup
2025-01-04 15:21:47 -06:00
Nicolas Mowen
160664836f
Refactor camera activity processing (#15803)
* Replace object label sensors with new manager

* Implement zone topics

* remove unused
2025-01-03 22:11:53 -06:00
Marc Altmann
05bded61a3
rockchip: update dependencies and add script for model conversion (#15699)
* rockchip: update dependencies and add script for model conversion

* rockchip: update docs

---------

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
2025-01-03 10:09:27 -07:00
Nicolas Mowen
6f53048b44
Add support for SR-IOV GPU stats (#15796)
* Add option to treat GPU as SRIOV in order for stats to work correctly

* Add to intel docs

* fix tests
2025-01-03 09:43:44 -06:00
Nicolas Mowen
54bbfae433
Add ffmpeg config to increase HEVC compatibility with Apple devices (#15795)
* Add config option for handling HEVC playback on Apple devices

* Update docs

* Remove unused
2025-01-03 07:11:18 -07:00
Nicolas Mowen
05f9ae50b5
Implement face recognition training in UI (#15786)
* Rename debug to train

* Add api to train image as person

* Cleanup model running

* Formatting

* Fix

* Set face recognition page title
2025-01-02 15:44:25 -07:00
Nicolas Mowen
b3072087d4
Add UI for managing face recognitions (#15757)
* Add ability to view attempts

* Improve UI

* Cleanup

* Correctly refresh ui when item is deleted

* Select correct library by default

* Add min score

* Cleanup
2024-12-31 15:56:01 -06:00
Nicolas Mowen
f84713487f Face recognition logic improvements (#15679)
* Always initialize face model on startup

* Add ability to save face images for debugging

* Implement better face recognition reasonability
2024-12-26 08:18:12 -07:00
Nicolas Mowen
fb8394bdff Change folder 2024-12-26 08:18:12 -07:00
Nicolas Mowen
3325c4f577 Set model size 2024-12-26 08:18:12 -07:00
Nicolas Mowen
c375d2776c Improve face recognition (#15670)
* Face recognition tuning

* Support face alignment

* Cleanup

* Correctly download model
2024-12-26 08:18:12 -07:00
Nicolas Mowen
3cb00ad244 Update TRT (#15646) 2024-12-26 08:18:12 -07:00
Nicolas Mowen
ec02ef50f0 Make face library scrollable 2024-12-26 08:18:12 -07:00
Nicolas Mowen
a04b146a03 Update openvino (#15634) 2024-12-26 08:18:12 -07:00
Nicolas Mowen
66842522c2 Update python deps (#15618)
* Update opencv

* Update cython

* Update scikit

* Update scipy
2024-12-26 08:18:12 -07:00
Nicolas Mowen
f718922c0c Enable temporary caching of camera images to improve responsiveness of UI (#15614) 2024-12-26 08:18:12 -07:00
Josh Hawkins
626ee19cc7 Preserve line numbers in config validation (#15584)
* use ruamel to parse and preserve line numbers for config validation

* maintain exception for non validation errors

* fix types

* include input in log messages
2024-12-26 08:18:12 -07:00
Nicolas Mowen
4fa83e781c Update base image (#15103)
* Change base image

* Update python

* Update coral library

* Fix source file

* Install correct apt packages

* Cleanup

* Fix installation of coral deps

* fix python installations

* Fix devcontainer build

* Get tensorrt build working

* Update other deps

* Filter out tflite log

* Get ROCm build working

* Get rockchip build working

* Get hailo build working

* Add note to comment
2024-12-26 08:18:12 -07:00
Nicolas Mowen
183e406da3 Face recognition fixes (#15222)
* Fix nginx max upload size

* Close upload dialog when done and add toasts

* Formatting

* fix ruff
2024-12-26 08:18:12 -07:00
Nicolas Mowen
5cf018ca72 Improve face recognition (#15205)
* Validate faces using cosine distance and SVC

* Formatting

* Use opencv instead of face embedding

* Update docs for training data

* Adjust to score system

* Set bounds

* remove face embeddings

* Update writing images

* Add face library page

* Add ability to select file

* Install opencv deps

* Cleanup

* Use different deps

* Move deps

* Cleanup

* Only show face library for desktop

* Implement deleting

* Add ability to upload image

* Add support for uploading images
2024-12-26 08:18:12 -07:00
Nicolas Mowen
9d54beab76 Remove standardization 2024-12-26 08:18:12 -07:00
Nicolas Mowen
a2b9ed0846 Fix check 2024-12-26 08:18:12 -07:00
Nicolas Mowen
bfa95c2062 Remove hardcoded face name 2024-12-26 08:18:12 -07:00
Nicolas Mowen
be856455f4 Use SVC to normalize and classify faces for recognition (#14835)
* Add margin to detected faces for embeddings

* Standardize pixel values for face input

* Use SVC to classify faces

* Clear classifier when new face is added

* Formatting

* Add dependency
2024-12-26 08:18:12 -07:00
Josh Hawkins
1ab061effd Use regular expressions for plate matching (#14727) 2024-12-26 08:18:12 -07:00
Nicolas Mowen
90916879b7 Update facenet model (#14647) 2024-12-26 08:18:12 -07:00
Josh Hawkins
cf931c474c LPR improvements (#14641) 2024-12-26 08:18:12 -07:00
Josh Hawkins
44021cbc2e Prevent division by zero in lpr confidence checks (#14615) 2024-12-26 08:18:12 -07:00
Nicolas Mowen
f98f41668e Fix label check (#14610)
* Create config for parsing object

* Use in maintainer
2024-12-26 08:18:12 -07:00
Josh Hawkins
3ed4fb87ef License plate recognition (ALPR) backend (#14564)
* Update version

* Face recognition backend (#14495)

* Add basic config and face recognition table

* Reconfigure updates processing to handle face

* Crop frame to face box

* Implement face embedding calculation

* Get matching face embeddings

* Add support face recognition based on existing faces

* Use arcface face embeddings instead of generic embeddings model

* Add apis for managing faces

* Implement face uploading API

* Build out more APIs

* Add min area config

* Handle larger images

* Add more debug logs

* fix calculation

* Reduce timeout

* Small tweaks

* Use webp images

* Use facenet model

* Improve face recognition (#14537)

* Increase requirements for face to be set

* Manage faces properly

* Add basic docs

* Simplify

* Separate out face recognition frome semantic search

* Update docs

* Formatting

* Fix access (#14540)

* Face detection (#14544)

* Add support for face detection

* Add support for detecting faces during registration

* Set body size to be larger

* Undo

* Update version

* Face recognition backend (#14495)

* Add basic config and face recognition table

* Reconfigure updates processing to handle face

* Crop frame to face box

* Implement face embedding calculation

* Get matching face embeddings

* Add support face recognition based on existing faces

* Use arcface face embeddings instead of generic embeddings model

* Add apis for managing faces

* Implement face uploading API

* Build out more APIs

* Add min area config

* Handle larger images

* Add more debug logs

* fix calculation

* Reduce timeout

* Small tweaks

* Use webp images

* Use facenet model

* Improve face recognition (#14537)

* Increase requirements for face to be set

* Manage faces properly

* Add basic docs

* Simplify

* Separate out face recognition frome semantic search

* Update docs

* Formatting

* Fix access (#14540)

* Face detection (#14544)

* Add support for face detection

* Add support for detecting faces during registration

* Set body size to be larger

* Undo

* initial foundation for alpr with paddleocr

* initial foundation for alpr with paddleocr

* initial foundation for alpr with paddleocr

* config

* config

* lpr maintainer

* clean up

* clean up

* fix processing

* don't process for stationary cars

* fix order

* fixes

* check for known plates

* improved length and character by character confidence

* model fixes and small tweaks

* docs

* placeholder for non frigate+ model lp detection

---------

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
2024-12-26 08:18:12 -07:00
Nicolas Mowen
8dc9c2c9ed Face detection (#14544)
* Add support for face detection

* Add support for detecting faces during registration

* Set body size to be larger

* Undo
2024-12-26 08:18:12 -07:00
Nicolas Mowen
66de9f6079 Fix access (#14540) 2024-12-26 08:18:12 -07:00
Nicolas Mowen
e35fb8f056 Improve face recognition (#14537)
* Increase requirements for face to be set

* Manage faces properly

* Add basic docs

* Simplify

* Separate out face recognition frome semantic search

* Update docs

* Formatting
2024-12-26 08:18:11 -07:00
Nicolas Mowen
ca5711d1ab Face recognition backend (#14495)
* Add basic config and face recognition table

* Reconfigure updates processing to handle face

* Crop frame to face box

* Implement face embedding calculation

* Get matching face embeddings

* Add support face recognition based on existing faces

* Use arcface face embeddings instead of generic embeddings model

* Add apis for managing faces

* Implement face uploading API

* Build out more APIs

* Add min area config

* Handle larger images

* Add more debug logs

* fix calculation

* Reduce timeout

* Small tweaks

* Use webp images

* Use facenet model
2024-12-26 08:18:11 -07:00
Nicolas Mowen
f16f6d3789 Update version 2024-12-26 08:18:11 -07:00
leccelecce
00371546a3
GenAI: add ability to save JPGs sent to provider (#15643)
* GenAI: add ability to save JPGs sent to provider

* Remove mention from GenAI docs

* Change config name to debug_save_thumbnails

* Change  folder structure to clips/genai-requests/{event_id}/{1.jpg}
2024-12-23 07:05:34 -07:00
Nicolas Mowen
87e7b62c85
Remove duplicated rockchip build (#15641) 2024-12-22 13:31:14 -06:00
Nicolas Mowen
15ffe5c254
Fix trt (#15640) 2024-12-22 11:56:04 -07:00
Nicolas Mowen
a767dad3a1
Simplify TensorRT image (#15638) 2024-12-22 12:13:29 -06:00
Josh Hawkins
9387246f83
Add tooltips to ptz controls (#15633) 2024-12-21 17:57:22 -06:00
Nicolas Mowen
bed20de302
Update docs deps (#15617) 2024-12-20 10:37:02 -06:00
Nicolas Mowen
70fc5393b1
Make hailo wheels support any minor version (#15616) 2024-12-20 10:36:32 -06:00
dependabot[bot]
9b80dbe014
Bump actions/setup-python from 5.1.0 to 5.3.0 (#14584)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.1.0 to 5.3.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5.1.0...v5.3.0)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-20 09:16:21 -07:00
Josh Hawkins
78a013d63a
Add "frame" to shm frame names to avoid camera name issues (#15615) 2024-12-20 08:46:40 -06:00
Gabriel de Biasi
ddfe8f3921
Fix #7944: Adds tls_insecure to the onvif configuration (#15603)
* Adds tls_insecure to the onvif configuration

* reformat using ruff
2024-12-19 12:54:33 -07:00