Commit Graph

3919 Commits

Author SHA1 Message Date
Nicolas Mowen
b18d1fb970
Refactor face recognition (#17368)
* Refactor face recognition to allow for running lbph or embedding

* Cleanup

* Use weighted average for faces

* Set correct url

* Cleanup

* Update docs

* Update docs

* Use scipy trimmed mean

* Normalize

* Handle color and gray landmark detection

* Upgrade to new arcface model

* Implement sigmoid function

* Rename

* Rename to arcface

* Fix

* Add face recognition model size to ui config

* Update toast
2025-03-25 19:59:03 -05:00
Josh Hawkins
2c3ea5b74e
Make all object path points clickable (#17367) 2025-03-25 14:08:40 -06:00
Josh Hawkins
e80caabee6
Live and go2rtc docs updates (#17363) 2025-03-25 10:46:24 -06:00
Josh Hawkins
9080305070
Increase the initial stall timeout of the MSE player (#17359) 2025-03-25 08:16:56 -05:00
leccelecce
983dd87ffb
Revert go2rtc call checks for enabled camera state (#17355)
* Revert "Fix camera enabled check (#17331)"

This reverts commit 1e45f63a7c.

* Revert "Fix webUI generating HTTP500s when camera disabled (#17305)"

This reverts commit 644faaf65b.
2025-03-25 05:48:06 -06:00
Nicolas Mowen
7e8b3c389d
Update face_recognition.md (#17349) 2025-03-24 18:31:32 -05:00
leccelecce
6ded9a1bc6
Update contributing.md (#17343) 2025-03-24 12:50:57 -06:00
leccelecce
5c20cf4563
Don't require /dev/bus/usb to be present (#17341) 2025-03-24 11:56:27 -06:00
Nicolas Mowen
eabc316c7b
Various fixes (#17342)
* Remove imutils

* Ensure that state is maintained when setting search params

* Change script for version of setuptools

* Fix

* Fix
2025-03-24 12:25:36 -05:00
leccelecce
05d39f79b0
Add ability to update Frigate+ model to latest from UI (#17324)
* Add ability to update Frigate+ model to latest

* UI tweaks

* further UI tweaks

* UI tweaks: add width and height, fix select

* Add placeholder while API call in progress

* Fix Frigate+ enabled check

* Fix config change lost when reloading page

* Add persistent message requiring restart

* Drop down supported detectors and dimensions

* Add width and height to display

* Update FrigatePlusSettingsView.tsx

* Temp fix for Codespaces not loading

* Add i18n, format

* remove unneeded brackets

* missing colon

* Revert "Temp fix for Codespaces not loading"

This reverts commit 75b19674ce.
2025-03-24 09:19:58 -06:00
Nicolas Mowen
c239721021
Ensure thumb camera directory exists before saving (#17339) 2025-03-24 09:39:51 -05:00
Nicolas Mowen
a8fa77c6b9
Classification fixes (#17337)
* Cleanup classification settings behavior

* Cleanup response

* restore
2025-03-24 09:12:42 -05:00
Felipe Santos
f8b0329b37
Move database and config from homeassistant /config to addon /config (#16337)
* Move database and config from homeassistant /config to addon /config

* Re-implement config migration for the add-on

* Align some terms

* Improve function name

* Use local variables

* Add model.path migration

* Fix homeassistant config path

* Ensure migration scripts run before go2rtc and frigate

* Migrate all files I know

* Add ffmpeg.path migration

* Update docker/main/rootfs/etc/s6-overlay/s6-rc.d/prepare/run

Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>

* Improve some variable names and organization

* Update docs to reflect addon config dir

* Update live.md with /addon_configs

* Move addon config section to configuration doc

* Align several terminologies and improve text

* Fix webrtc example config title

* Capitalize Add-on in more places

* Improve specific add-on config dir docs

* Align bash and python scripts to prefer config.yml over config.yaml

* Support config.json in migration shell scripts

* Change docs to reflect config.yml is preferred over config.yaml

* If previous config was yaml, migrate to yaml

* Fix typo in edgetpu.md

* Fix formatting of Python files

* Remove HailoRT Beta add-on variant from docs

* Add migration for labelmap and certs

* Fix variable name

* Fix new_config_file var unset

* Fix addon config directories table

* Improve db migration to avoid migrating files like .db.bak

* Fix echo location

---------

Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
2025-03-24 09:05:59 -05:00
leccelecce
1e45f63a7c
Fix camera enabled check (#17331)
* Fix camera enabled check

* Add fix to LiveCameraView
2025-03-24 06:38:53 -06:00
Josh Hawkins
1f98162377
Fixes (#17334)
* more docs updates

* debug view note

* hide notifications submenu if camera is disabled

* fix value replacement from incorrect i18n changes
2025-03-24 06:34:18 -06:00
Josh Hawkins
678ae87c62
Dedicated LPR fixes (#17325)
* docs fps recommendation

* add detection_threshold to example

* send uncoverted yuv frame

* copy and convert

* ensure thumbnail is encoded as webp

* keep as jpeg
2025-03-23 17:15:15 -05:00
Josh Hawkins
e129fa6819
Fix missing key in example config (#17322) 2025-03-23 15:16:29 -06:00
Nicolas Mowen
18af06237c
Support RF-DETR models with OpenVINO (#17321)
* Add support for openvino to run rf-detr models

* Add more inference time examples

* organize

* Add example to docs

* Add support for yolo generic
2025-03-23 14:02:16 -06:00
Josh Hawkins
fa4643fddf
LPR improvements (#17289)
* config options

* processing in maintainer

* detect and process dedicated lpr plates

* create camera type, add manual event and save snapshot

* use const

* ensure lpr events are always detections, typing fixes

* docs

* docs tweaks

* add preprocessing and penalization for low confidence chars
2025-03-23 13:30:48 -06:00
Josh Hawkins
b7fcd41737
UI tweaks (#17319) 2025-03-23 12:51:06 -06:00
leccelecce
e36fe79782
Update webmanifest to use /BASE_PATH/ (#17310) 2025-03-23 05:34:33 -06:00
leccelecce
644faaf65b
Fix webUI generating HTTP500s when camera disabled (#17305)
* Check camera enabled state before querying go2rtc

* lint

* Add change to CameraStreamingDialog
2025-03-22 14:13:41 -05:00
Nicolas Mowen
17e14cefd9
Various fixes & tweaks (#17308)
* Catch case where returned face box is invalid

* Update detector docs

* Add note for customizing rfdetr resolution
2025-03-22 13:58:27 -05:00
Josh Hawkins
d32949017b
Bugfixes and docs tweaks (#17307)
* ensure config file is updated with booleans instead of strings

* catch onvif error

* ensure object type is available as a ptz tracker

* update live view docs
2025-03-22 06:38:33 -06:00
Nicolas Mowen
48e4c44b32
Add support for RF-DETR models (#17298)
* Add support for rf-detr models

* Add docs for rf-detr model

* Cleanup
2025-03-21 19:55:46 -05:00
Nicolas Mowen
4e83237d47
Sub label snapshot (#17296)
* Publish sub label for logos

* Cleanup check
2025-03-21 17:37:09 -05:00
Nicolas Mowen
08cf0def6e
Face tweaks (#17290)
* Ensure doesn't fail due to missing dir

* Remove redundant settings from tabs

* Adjust selection method for mobile

* Fix button descendent error

* Ensure train is option on mobile

* Cleanup face images

* Cleanup
2025-03-21 12:47:32 -05:00
Nicolas Mowen
060659044e
Quick fixes (#17278)
* Fix check

* Fix default loading state
2025-03-20 15:09:57 -05:00
Nicolas Mowen
e396043f79
Don't log go2rtc failure when camera is disabled (#17277) 2025-03-20 13:38:18 -05:00
Nicolas Mowen
0308a88111
Add MQTT topic to expose current camera review status (#17276)
* Add MQTT topic to expose current camera review status

* Formatting
2025-03-20 10:51:08 -06:00
Josh Hawkins
be56305b4e
Small tweaks (#17275)
* Fix missing i18n key and make small UI tweak for disabled cameras

* simplify colors
2025-03-20 10:37:40 -06:00
Nicolas Mowen
d4d5c4aac8
Disabled cameras fixing (#17273)
* Fix case where objects are returned as null

* Fix enabled status not being persisted

* Use config as source of truth when refreshed

* Ensure camera always have config object updated

* Cleanup typing
2025-03-20 11:20:44 -05:00
Nicolas Mowen
d84fd324b2
Actually set the configured face and lpr settings (#17272) 2025-03-20 07:48:50 -06:00
leccelecce
6cb385f6a7
Plus settings - fix model ID overlap (#17265) 2025-03-20 04:46:34 -05:00
Nicolas Mowen
e7c6b2d571
Fix per camera config (#17263)
* Fix per camera config

* fix
2025-03-19 21:52:55 -05:00
leccelecce
1787f6130d
Add model ID to Frigate+ settings page (#17261) 2025-03-19 20:56:38 -05:00
Nicolas Mowen
a7704a369d
Update reviews state when sub label is set (#17262) 2025-03-19 20:55:57 -05:00
leccelecce
ca5c714037
UI: use correct icon/i18n for Face Library on mobile (#17260) 2025-03-19 15:09:35 -06:00
Nicolas Mowen
f4284023fd
Remove leadingn / (#17258) 2025-03-19 14:19:17 -06:00
Josh Hawkins
512a1dfad6
Fix english rendering if timeago seconds (#17256) 2025-03-19 11:22:02 -05:00
Nicolas Mowen
ce43b7b3d9
Add per-camera face and lpr configs (#17235)
* Add per-camera face and lpr configs

* Formatting

* Cleanup
2025-03-19 09:02:40 -06:00
Nicolas Mowen
e33fa96599
Face recognize api (#17233)
* Add api to run face recognition on image

* Rework save attempts option

* Cleanup mobile object pane buttons

* Adjust api signature

* Remove param

* Cleanup
2025-03-19 09:02:25 -06:00
Josh Hawkins
7f966df5a4
Nginx fix: make locales public (#17248)
* make locales public

* remove cache
2025-03-19 06:50:36 -06:00
leccelecce
dda7be99eb
Face rec: only consider webp files in /faces and handle_request (#17244)
* Face rec: only consider webp files

* Allow png/jpg/jpeg as well as webp
2025-03-19 06:44:07 -06:00
leccelecce
ac9e24e2ed
Face Library: show name on details (#17245) 2025-03-19 06:23:44 -06:00
Jason Hunter
e340c9aaba
Add openvino support for the DFINE model (#17238)
* add openvino support for the dfine model

* update docs to show DFINE support for openvino

* remove warning about OpenVINO for DFINE
2025-03-19 07:23:24 -05:00
GuoQing Liu
125c266585
chore: use better translation (zh-CN) (#17239) 2025-03-19 05:56:48 -05:00
Nicolas Mowen
5514fc11b9
Face tweaks (#17225)
* Always use white text

* Add right click as well

* Add face details dialog

* Clenaup
2025-03-18 09:32:15 -05:00
Josh Hawkins
9f7ba51f39
Proxy i18n locales dir for ingress (#17223) 2025-03-18 08:08:44 -06:00
GuoQing Liu
dcaaae9a4c
add chinese frigatePlus settings i18n keys (#17218) 2025-03-18 05:53:22 -05:00