Commit Graph

3606 Commits

Author SHA1 Message Date
Nicolas Mowen
eb6e065106 Get rockchip build working 2024-12-18 08:21:10 -07:00
Nicolas Mowen
8cb1380a4f Get ROCm build working 2024-12-18 08:18:43 -07:00
Nicolas Mowen
8164b2457a Filter out tflite log 2024-12-18 07:25:52 -07:00
Nicolas Mowen
0517c40bc8 Update other deps 2024-12-18 07:11:14 -07:00
Nicolas Mowen
1b24441cdd Get tensorrt build working 2024-12-18 07:11:14 -07:00
Nicolas Mowen
316ceb2544 Fix devcontainer build 2024-12-18 07:11:14 -07:00
Nicolas Mowen
a5042915c2 fix python installations 2024-12-18 07:11:14 -07:00
Nicolas Mowen
5e027b4fd2 Fix installation of coral deps 2024-12-18 07:11:14 -07:00
Nicolas Mowen
68d3722bbb Cleanup 2024-12-18 07:11:14 -07:00
Nicolas Mowen
b0872b7aee Install correct apt packages 2024-12-18 07:11:14 -07:00
Nicolas Mowen
acf61ab1bd Fix source file 2024-12-18 07:11:14 -07:00
Nicolas Mowen
dcb4d4421a Update coral library 2024-12-18 07:11:14 -07:00
Nicolas Mowen
459aa410da Update python 2024-12-18 07:11:14 -07:00
Nicolas Mowen
d808ac0aab Change base image 2024-12-18 07:11:14 -07:00
Nicolas Mowen
eb8cd09f9c Face recognition fixes (#15222)
* Fix nginx max upload size

* Close upload dialog when done and add toasts

* Formatting

* fix ruff
2024-12-18 07:08:06 -07:00
Nicolas Mowen
d61f629340 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-18 07:08:06 -07:00
Nicolas Mowen
b1d209c44f Remove standardization 2024-12-18 07:08:06 -07:00
Nicolas Mowen
660a7b953d Fix check 2024-12-18 07:08:06 -07:00
Nicolas Mowen
6a3ff7e065 Remove hardcoded face name 2024-12-18 07:08:06 -07:00
Nicolas Mowen
98eb6a9b54 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-18 07:08:06 -07:00
Josh Hawkins
f31b45e72f Use regular expressions for plate matching (#14727) 2024-12-18 07:08:06 -07:00
Nicolas Mowen
e6d7800486 Update facenet model (#14647) 2024-12-18 07:08:06 -07:00
Josh Hawkins
081886b0c8 LPR improvements (#14641) 2024-12-18 07:08:06 -07:00
Josh Hawkins
d3a3ea063d Prevent division by zero in lpr confidence checks (#14615) 2024-12-18 07:08:06 -07:00
Nicolas Mowen
10ddee9500 Fix label check (#14610)
* Create config for parsing object

* Use in maintainer
2024-12-18 07:08:06 -07:00
Josh Hawkins
3b350fd862 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-18 07:08:06 -07:00
Nicolas Mowen
e7ae7a3a3f Face detection (#14544)
* Add support for face detection

* Add support for detecting faces during registration

* Set body size to be larger

* Undo
2024-12-18 07:08:06 -07:00
Nicolas Mowen
889173afb2 Fix access (#14540) 2024-12-18 07:08:06 -07:00
Nicolas Mowen
d5b3318b51 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-18 07:08:06 -07:00
Nicolas Mowen
15307e9340 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-18 07:08:06 -07:00
Nicolas Mowen
d7afcaa0e7 Update version 2024-12-18 07:08:06 -07:00
Josh Hawkins
3dc26e78ef
Genai descriptions are not generated until tracked objects end (#15561) 2024-12-17 17:33:04 -06:00
Giorgio Ughini
d9ef8fa206
Fix always the same image is sent to GenAI (#15550)
* Fix always the same image is sent to GenAI

* Fix typo for bug where identical images are sent to GenAI

* Correct formatting
2024-12-17 07:44:00 -06:00
Josh Hawkins
292499aebc
Improve review message again (#15538) 2024-12-16 09:18:34 -07:00
Josh Hawkins
717493e668
Improve handling of error conditions with ollama and snapshot regeneration (#15527) 2024-12-15 20:51:23 -06:00
Josh Hawkins
d49f958d4d
Don't crop by region for genai snapshot for manual events (#15525) 2024-12-15 17:03:19 -06:00
Nicolas Mowen
33ee32865f
Ensure that go2rtc streams are cleaned (#15524)
* Ensure that go2rtc streams are cleaned

* Formatting

* Handle go2rtc config correctly

* Set type
2024-12-15 16:56:24 -06:00
Josh Hawkins
17f8939f97
Add FAQ to explain why streams might work in VLC but not in Frigate (#15513)
* Add faq to explain why streams might work in VLC but not in Frigate

* fix go2rtc version number

* wording

* mention udp input args and preset
2024-12-14 13:58:39 -06:00
FL42
1b7fe9523d
fix: use requests.Session() for DeepStack API (#15505) 2024-12-14 07:54:13 -07:00
Josh Hawkins
0763f56047
Update iframe interval recommendation (#15501)
* Update iframe interval recommendation

* clarify

* tweaks

* wording
2024-12-13 12:52:56 -07:00
Josh Hawkins
1ea282fba8
Improve the message for missing objects in review items (#15500) 2024-12-13 12:02:41 -07:00
Blake Blackshear
869fa2631e
apply zizmor recommendations (#15490) 2024-12-13 07:34:09 -06:00
Nicolas Mowen
f336a91fee
Cleanup handling of first object message (#15480) 2024-12-12 21:22:47 -06:00
Nicolas Mowen
d302b6e198
Cap storage bandwidth (#15473) 2024-12-12 14:46:00 -06:00
Nicolas Mowen
ed2e1f3f72
Remove debug cleanup change (#15468) 2024-12-12 07:46:06 -07:00
Nicolas Mowen
b4d82084a9
Fixes (#15465)
* Fix single event return

* Allow customizing if search is preserved for overlay state

* Remove timeout

* Cleanup

* Cleanup naming
2024-12-12 08:22:30 -06:00
Josh Hawkins
53b96dfb89
Improve semantic search docs (#15453) 2024-12-11 20:19:08 -06:00
Nicolas Mowen
0e3fb6cbdd
Standardize handling of config files (#15451)
* Standardize handling of config files

* Formatting

* Remove unused
2024-12-11 18:46:42 -06:00
Blake Blackshear
6b12a45a95
return 401 for login failures (#15432)
* return 401 for login failures

* only setup the rate limiter when configured
2024-12-10 06:42:55 -07:00
Nicolas Mowen
0b9c4c18dd
Refactor event cleanup to consider review severity (#15415)
* Keep track of objects max review severity

* Refactor cleanup to split snapshots and clips

* Cleanup events based on review severity

* Cleanup review imports

* Don't catch detections
2024-12-09 08:25:45 -07:00