GuoQing Liu
d34533981f
feat: add i18n (translation/localization) ( #16877 )
...
* Translation module init
* Add more i18n keys
* fix: fix string wrong
* refactor: use namespace translation file
* chore: add more translation key
* fix: fix some page name error
* refactor: change Trans tag for t function
* chore: fix some key not work
* chore: fix SearchFilterDialog i18n key error
Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
* chore: fix en i18n file filter missing some keys
* chore: add some i18n keys
* chore: add more i18n keys again
* feat: add search page i18n
* feat: add explore model i18n keys
* Update web/src/components/menu/GeneralSettings.tsx
Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
* Update web/src/components/menu/GeneralSettings.tsx
Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
* Update web/src/components/menu/GeneralSettings.tsx
Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
* feat: add more live i18n keys
* feat: add more search setting i18n keys
* fix: remove some comment
* fix: fix some setting page url error
* Update web/src/views/settings/SearchSettingsView.tsx
Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
* fix: add system missing keys
* fix: update password update i18n keys
* chore: remove outdate translation.json file
* fix: fix exploreSettings error
* chore: add object setting i18n keys
* Update web/src/views/recording/RecordingView.tsx
Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
* Update web/public/locales/en/components/filter.json
Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
* Update web/src/components/overlay/ExportDialog.tsx
Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
* feat: add more i18n keys
* fix: fix motionDetectionTuner html node
* feat: add more page i18n keys
* fix: cameraStream i18n keys error
* feat: add Player i18n keys
* feat: add more toast i18n keys
* feat: change explore setting name
* feat: add more document title i18n keys
* feat: add more search i18n keys
* fix: fix accessDenied i18n keys error
* chore: add objectType i18n
* chore: add inputWithTags i18n
* chore: add SearchFilterDialog i18n
* Update web/src/views/settings/ObjectSettingsView.tsx
Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
* Update web/src/views/settings/ObjectSettingsView.tsx
Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
* Update web/src/views/settings/ObjectSettingsView.tsx
Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
* Update web/src/views/settings/ObjectSettingsView.tsx
Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
* Update web/src/views/settings/ObjectSettingsView.tsx
Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
* chore: add some missing i18n keys
* chore: remove most import { t } from "i18next";
---------
Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
2025-03-16 10:36:20 -05:00
Nicolas Mowen
a995872d1c
Add face recognition and license plate recognition to settings UI ( #17152 )
...
* Refactor explore settings to classification settings
* Cleanup
* Add face config section
* Add license plate recognition to settings
* Update face recognition docs
* Fix variable usage
* Fix typo
* Update docs/docs/configuration/face_recognition.md
Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
* Improve spacing and add face library to mobile
* Clarify docs
---------
Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
2025-03-14 11:23:37 -05:00
Nicolas Mowen
7d44970f78
Face multi select ( #17068 )
...
* Implement multi select for face library
* Clear list of selected
* Add keyboard shortcut
2025-03-10 10:01:52 -05:00
Josh Hawkins
74ca009b0b
UI viewer role ( #16978 )
...
* db migration
* db model
* assign admin role on password reset
* add role to jwt and api responses
* don't restrict api access for admins yet
* use json response
* frontend auth context
* update auth form for profile endpoint
* add access denied page
* add protected routes
* auth hook
* dialogs
* user settings view
* restrict viewer access to settings
* restrict camera functions for viewer role
* add password dialog to account menu
* spacing tweak
* migrator default to admin
* escape quotes in migrator
* ui tweaks
* tweaks
* colors
* colors
* fix merge conflict
* fix icons
* add api layer enforcement
* ui tweaks
* fix error message
* debug
* clean up
* remove print
* guard apis for admin only
* fix tests
* fix review tests
* use correct error responses from api in toasts
* add role to account menu
2025-03-08 10:01:08 -06:00
Nicolas Mowen
81b873dead
Quick fixes ( #16668 )
...
* Write thumbnails to disk on shutdown
* Update text on face library page
2025-02-18 10:13:28 -06:00
Nicolas Mowen
81bd956ae8
Fix sanitized api causing issues ( #16433 )
2025-02-09 14:50:12 -07:00
Nicolas Mowen
81a56549da
Face recognition UI improvements ( #16422 )
...
* Rework face recognition APIs
* Fix error message on cancel
* Add ability to create new face library
2025-02-09 13:22:25 -06:00
Nicolas Mowen
1c3527f5c4
Face recognition reprocess ( #16212 )
...
* Implement update topic
* Add API for reprocessing face
* Get reprocess working
* Fix crash when no faces exist
* Simplify
2025-02-08 12:47:01 -06:00
Nicolas Mowen
a6ae208fe7
Add metrics page for embeddings and face / license plate processing times ( #15818 )
...
* Get stats for embeddings inferences
* cleanup embeddings inferences
* Enable UI for feature metrics
* Change threshold
* Fix check
* Update python for actions
* Set python version
* Ignore type for now
2025-02-08 12:47:01 -06:00
Nicolas Mowen
0c13227f7d
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-02-08 12:47:01 -06:00
Nicolas Mowen
281407247b
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-02-08 12:47:01 -06:00
Nicolas Mowen
172e7d494f
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
2025-02-08 12:47:01 -06:00
Nicolas Mowen
909444dacf
Make face library scrollable
2025-02-08 12:47:01 -06:00
Nicolas Mowen
66675cf977
Face recognition fixes ( #15222 )
...
* Fix nginx max upload size
* Close upload dialog when done and add toasts
* Formatting
* fix ruff
2025-02-08 12:47:01 -06:00
Nicolas Mowen
0e4ff91d6b
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
2025-02-08 12:47:01 -06:00