Commit Graph
100 Commits
Author SHA1 Message Date
Nicolas MowenandGitHub 4b4053d174 Add face and lpr to tracked object update topic (#17940)
* Send tracked object updates for face and license_plate objects

* Update docs

* Add to type enum

* Add camera to object description update

* Formatting

* Consolidate yue-Hant

* Add missing
2025-04-28 16:43:03 -06:00
Nicolas MowenandGitHub aef715e8bb Simplify openvino hardware inference times (#17896) 2025-04-24 19:04:46 -05:00
Nicolas MowenandGitHub eb4433162c Fix video MP typing (#17880)
* Fix video typing

* Fix typo
2025-04-23 17:59:02 -06:00
Nicolas MowenandGitHub aa7899e9dc Docs / typing updates (#17878)
* Mention support for multiple rknn detectors

* Improve typing

* Fix mypy change

* Fix typing
2025-04-23 17:06:06 -06:00
Nicolas MowenandGitHub 212784b68e implement RKNN downloads for yolov9 and yolox models (#17875)
* Add other rockchip download models

* Specify newer release version

* Specify newer release version

* Update docs for rknn downloads

* Update hardware docs
2025-04-23 12:22:23 -05:00
Nicolas MowenandGitHub f9b2db4405 Implement smart capitalization based on locale (#17860) 2025-04-22 16:21:09 -06:00
Nicolas MowenandGitHub 381225059e Add N100 to OpenVINO examples (#17845) 2025-04-21 18:03:59 -05:00
Nicolas MowenandGitHub d5f9153c94 Remove unused pattern (#17842) 2025-04-21 14:11:34 -06:00
Nicolas MowenandGitHub 43a9641ae8 Fix hailo detection (#17819) 2025-04-19 20:32:14 -05:00
Nicolas MowenandGitHub 38ffe21b69 Add support for rockchip GPU stats (#17812)
* Set rockchip GPU name

* Add support for calculating rockchip GPU load

* Format consistently

* Fix access error
2025-04-19 16:34:05 -05:00
Nicolas MowenandGitHub 80a13e43e9 Add support for NPU statistics in metrics page (#17806)
* Add npu usages as a statistic

* Support showing NPU stats in dashboard

* Add sys volume mount for npu usages

* Fix type

* Simplify check

* Cleanup

* Cleanup
2025-04-19 08:20:22 -06:00
Nicolas MowenandGitHub 89b54f19c8 Add YOLOv9 support to RKNN (#17791)
* Add yolov9

* Undo

* Update docs for rknn yolov9

* Update docs notes

* Add infernece times table
2025-04-18 16:51:04 -06:00
Nicolas MowenandGitHub e8883a2a2e Fix yolox docs (#17789) 2025-04-18 16:15:55 -05:00
Nicolas MowenandGitHub 1cdc9b6097 Implement YOLOx for RKNN (#17788)
* Implement yolox rknn inference and post processing

* rework docs
2025-04-18 14:44:02 -06:00
Nicolas MowenandGitHub 68382d89b4 Cleanup detection (#17785)
* Fix yolov9 NMS

* Improve batched yolo NMS

* Consolidate grids and strides calculation

* Use existing variable

* Remove

* Ensure init is called
2025-04-18 10:26:34 -06:00
Nicolas MowenandGitHub 19aaa64fe9 Add support for yolox models to onnx detector (#17773) 2025-04-18 06:40:06 -05:00
Nicolas MowenandGitHub 8270967cdc UI Fixes (#17762)
* Fix handling of non existing cameras in groups

* Update docs

* Improve typing
2025-04-17 13:48:09 -06:00
Nicolas MowenandGitHub 8744da3bf8 Fix yolov9 export script (#17744)
* Fix yolov9 export script

* Fix typo

* Update object_detectors.md
2025-04-16 14:52:21 -06:00
Nicolas MowenandGitHub 6a487a5dc7 Update yolonas docs (#17736)
* Adjust pre_nms predictions to increase performance

* Update yolonas export and rocm inference times
2025-04-16 09:01:15 -06:00
Nicolas MowenandGitHub 28e2f57c76 Update hardware inference speeds (#17733) 2025-04-16 07:45:45 -05:00
Nicolas MowenandGitHub 9e666ddf40 Add steps for face step indicator (#17719) 2025-04-15 13:09:47 -05:00
Nicolas MowenandGitHub 8803fd7fff Add snapshot score to explore details (#17713)
* Add snapshot score to details

* Only show snapshot score if it has a snapshot
2025-04-15 08:46:33 -06:00
Nicolas MowenandGitHub 15fe79178b Improve async object detector support (#17712)
* Move object detection to folder

* Add input store type

* Add hwnc

* Add hwcn

* Fix test
2025-04-15 08:55:38 -05:00
Nicolas MowenandGitHub bd0ee86db9 Refactor yolov9 detector to support v3, v4, v7 as well (#17697)
* Implement blobbed yolov7 post processing and consolidate yolo implementation

* Update documentation

* Add repo

* fix name
2025-04-14 16:05:41 -05:00
Nicolas MowenandGitHub ea98785097 UI improvements (#17684)
* Add sub label to explore chip

* Add bird classification to settings

* Remove score

* Cleanup
2025-04-13 13:06:59 -05:00
Nicolas MowenandGitHub 622bda9f66 Include arch in name (#17667) 2025-04-12 07:50:17 -06:00
Nicolas MowenandGitHub e9787c5a88 Small Tweaks (#17652)
* Ensure that hailo uses correct labelmap

* Make whole button clickable

* Add weblate to readme

* Update docs for HEIC

* Fix explore chip icon logic

* Sort regardless of case

* Don't allow selection

* Fix image uploading
2025-04-11 08:21:01 -06:00
Nicolas MowenandGitHub 30ac868757 Quick fixes (#17639)
* Use mobile drawer for face selection

* Convert face selection to separate component

* Cleanup dialogs

* Add FAQ for record resolution

* Update image name

* Remove unused

* Cleanup
2025-04-10 16:33:51 -05:00
Nicolas MowenandGitHub 3d2bfa34c8 Face fixes (#17618)
* Correctly ensure updates are more periodic when lpr or face detection is needed

* Cleanup

* Update api schema

* Don't update for stationary objects

* Simplify check

* Remove
2025-04-09 20:56:11 -05:00
Nicolas MowenandGitHub 5d63c58f2c UI tweaks (#17615)
* Ensure that text field doesn't zoom on iOS

* Add keyboard shortcut support to generic video player
2025-04-09 09:46:27 -05:00
Nicolas MowenandGitHub 269cadff15 Show detail icon indicating if a car has a plate recognized that is not a known plate (#17601) 2025-04-08 10:08:01 -05:00
Nicolas MowenandGitHub 7bfcf2040d Clean up enabled config updates (#17547)
* Immediately end review item for disabled cameras

* Clean up checks

* Remove duplicate enabled checkers

* Cleanup
2025-04-05 08:47:58 -05:00
Nicolas MowenandGitHub e94b24ec39 Face fixes (#17530)
* Catch - in name

* Add note about docs
2025-04-04 07:03:08 -06:00
Nicolas MowenandGitHub 907283b9a4 Only handle click on card when selection mode is ongoing (#17493) 2025-04-01 17:23:12 -05:00
Nicolas MowenandGitHub a6c8bcd878 Docs update (#17491)
* Update installation image docs

* Update properties
2025-04-01 08:13:14 -06:00
Nicolas MowenandGitHub 207d1d2806 Face UI cleanup (#17472)
* Add note

* Sort by event id

* Fix reprocess causing shift

* Move event group to separate comp

* Handle selecting events

* implement event selection

* Implement selected handler

* handle right click

* Toggle ctrl + a

* Stop propogation

* Fix
2025-03-31 16:49:56 -05:00
Nicolas MowenandGitHub 1dd5007fa8 Update nvidia inference time docs (#17469) 2025-03-31 13:47:33 -05:00
Nicolas MowenandGitHub 7f3f62e46d Clean up and clarify face docs (#17454) 2025-03-30 09:33:52 -05:00
Nicolas MowenandGitHub 4aa493b96c Catch case where frame time is between end and rounded start (#17438) 2025-03-28 21:37:11 -05:00
Nicolas MowenandGitHub c1b06d63b6 Fix embedding eps (#17437)
* Fix embedding eps

* Fix thumbnail cleanup
2025-03-28 18:35:50 -06:00
Nicolas MowenandGitHub 9e8b85a957 Implement enchrichments events per second graph (#17436)
* Cleanup existing naming

* Add face recognitions per second

* Add lpr fps

* Add all eps

* Clean up line graph

* Translations

* Change wording

* Fix incorrect access

* Don't require plates

* Add comment

* Fix
2025-03-28 18:13:35 -05:00
Nicolas MowenandGitHub b14abffea3 Refactor face library page (#17424)
* Section faces by event id

* Make score keeping more robust

* layout improvements

* Cleanup dialog

* Fix clicking behavior

* Add view in explore option

* math.round

* Don't require events

* Cleanup

* Remove selection

* Don't require

* Change dialog size with snapshot

* Use filename as key

* fix key

* Rework layout for mobile

* Handle mobile landscape

* Fix train issue

* Match logic

* Move deletion logic

* Fix reprocessing

* Support creating a new face

* Translations

* Do sorting in frontend

* Adjust unknown

* Cleanup

* Set max limit to faces to recognize

* Fix sorting

* Fix
2025-03-28 13:52:12 -05:00
Nicolas MowenandGitHub 3f1b4438e4 Ensure landmark detector has a defualt value (#17420) 2025-03-27 13:41:22 -06:00
Nicolas MowenandGitHub 8978d1ff74 Tweak face recognition docs (#17413) 2025-03-27 10:50:41 -05:00
Nicolas MowenandGitHub a35146ab61 Various fixes (#17411)
* Remove initial requirement for history

* Clenaup conf

* Handle symlinks
2025-03-27 08:28:09 -06:00
Nicolas MowenandGitHub 36446ceded Implement facenet tflite for small face recognition model (#17402) 2025-03-27 06:31:29 -05:00
Nicolas MowenandGitHub ff34739f40 Face recognition bug fixes (#17401)
* Simplify normalization

* Fix confidence check
2025-03-26 19:43:10 -05:00
e3f34d6f11 Bird classification docs (#17369)
* Add bird classification to sidebar

* Add docs for bird classification

* Update bird_classification.md

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

* Add model info

---------

Co-authored-by: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
2025-03-26 14:42:30 -05:00
Nicolas MowenandGitHub e6936c177b Face model loading improvements (#17390)
* Don't assume landmark file is downloaded

* Rewrite build model task to be asynchronous so it doesn't block the pipeline

* Handle case where face recognition does not respond

* Cleanup

* Make daemon thread
2025-03-26 10:00:23 -06:00
Nicolas MowenandGitHub e3d4b84803 Face recognition improvements (#17387)
* Increase frequency of updates when internal face detection is used

* Adjust number of required faces based on detection type

* Adjust min_score config to unknown_score

* Only for person

* Improve typing

* Update face rec docs

* Cleanup ui colors

* Cleanup
2025-03-26 07:23:01 -06:00
Nicolas MowenandGitHub 395fc33ccc Include all .so and .so.12 (#17388) 2025-03-26 08:14:36 -05:00
Nicolas MowenandGitHub 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
Nicolas MowenandGitHub 7e8b3c389d Update face_recognition.md (#17349) 2025-03-24 18:31:32 -05:00
Nicolas MowenandGitHub 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
Nicolas MowenandGitHub c239721021 Ensure thumb camera directory exists before saving (#17339) 2025-03-24 09:39:51 -05:00
Nicolas MowenandGitHub a8fa77c6b9 Classification fixes (#17337)
* Cleanup classification settings behavior

* Cleanup response

* restore
2025-03-24 09:12:42 -05:00
Nicolas MowenandGitHub 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
Nicolas MowenandGitHub 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
Nicolas MowenandGitHub 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 MowenandGitHub 4e83237d47 Sub label snapshot (#17296)
* Publish sub label for logos

* Cleanup check
2025-03-21 17:37:09 -05:00
Nicolas MowenandGitHub 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 MowenandGitHub 060659044e Quick fixes (#17278)
* Fix check

* Fix default loading state
2025-03-20 15:09:57 -05:00
Nicolas MowenandGitHub e396043f79 Don't log go2rtc failure when camera is disabled (#17277) 2025-03-20 13:38:18 -05:00
Nicolas MowenandGitHub 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
Nicolas MowenandGitHub 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 MowenandGitHub d84fd324b2 Actually set the configured face and lpr settings (#17272) 2025-03-20 07:48:50 -06:00
Nicolas MowenandGitHub e7c6b2d571 Fix per camera config (#17263)
* Fix per camera config

* fix
2025-03-19 21:52:55 -05:00
Nicolas MowenandGitHub a7704a369d Update reviews state when sub label is set (#17262) 2025-03-19 20:55:57 -05:00
Nicolas MowenandGitHub f4284023fd Remove leadingn / (#17258) 2025-03-19 14:19:17 -06:00
Nicolas MowenandGitHub 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 MowenandGitHub 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
Nicolas MowenandGitHub 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
Nicolas MowenandGitHub bf22d89f67 Improve Face Library Management (#17213)
* Set maximum number of face images to be kept

* Fix vertical camera scaling

* adjust wording

* Add attributes to search data

* Add button to train face from event

* Handle event id saving in API
2025-03-17 16:57:46 -05:00
Nicolas MowenandGitHub ff8e145b90 Face setup wizard (#17203)
* Fix login page

* Increase face image size and add time ago

* Add component for indicating steps in a wizard

* Split out form inputs from dialog

* Add wizard for adding new face to library

* Simplify dialog

* Translations

* Fix scaling bug

* Fix key missing

* Improve multi select

* Adjust wording and spacing

* Add tip for face training

* Fix padding

* Remove text for buttons on mobile
2025-03-17 13:50:13 -06:00
Nicolas MowenandGitHub 95e141ed15 Improve face detection (#17202) 2025-03-17 08:05:53 -06:00
Nicolas MowenandGitHub db541abed4 Fix model errors (#17171) 2025-03-16 06:01:15 -05:00
Nicolas MowenandGitHub 19342c8768 Fix face library menu item (#17155) 2025-03-14 14:39:48 -05:00
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 MowenandGitHub 2313b8ea05 Fix bug where safari and firefox cache image for too long (#17148) 2025-03-14 08:48:16 -05:00
Nicolas MowenandGitHub fbd22c8124 Cleanup bird classification (#17146)
* Cleanup bird classification

* Cleanup
2025-03-14 07:21:50 -06:00
Nicolas MowenandGitHub 759d963a04 Cleanup typing (#17145) 2025-03-14 08:10:47 -05:00
Nicolas MowenandGitHub 8d05e7c5b9 Make detection threhsold configurable (#17136) 2025-03-13 12:22:14 -05:00
Nicolas MowenandGitHub b8f2d8fb0c Fix rtsp config access (#17129) 2025-03-12 21:23:06 -05:00
Nicolas MowenandGitHub b7333557a1 Enable audio by default (#17125)
* Remove mp4 query, allowing go2rtc to send any audio

* Add audio transcoding by default
2025-03-12 16:54:28 -05:00
Nicolas MowenandGitHub 9e70bddc9d Update go2rtc version (#17119) 2025-03-12 13:54:20 -05:00
Nicolas MowenandGitHub f305ff3a5a Update hardware recommendation (#17111)
* Update hardware recommendation

* re-organize information

* Broaden introduction

* Update index.md

* Update hardware.md

* Update hardware.md

* Update hardware.md

* Update index.md

* Update index.md

* Update hardware.md
2025-03-12 08:58:07 -05:00
Nicolas MowenandGitHub b3d5cd9e4b Refactor manual event api to use ZMQ (#17105)
* Don't wait for topic

* Refactor object processing and camera state

* Move manual event handling to camera state / tracked object

* Cleanup

* Refactor audio to use internal zmq

* Cleanup

* Clenaup

* Cleanup

* Quick label fix

* Fix tests

* Cleanup
2025-03-11 22:31:05 -05:00
Nicolas MowenandGitHub 300f85720c Face blur factor (#17099)
* Add option to apply factor to face blurring

* Adjust blur factors

* Add debug log
2025-03-11 14:18:43 -05:00
Nicolas MowenandGitHub c43092da9a Add self return for pydantic (#17091) 2025-03-11 07:57:00 -05:00
Nicolas MowenandGitHub 0cc5d66e5b Refactor sub label api (#17079)
* Use event metadata updater to handle sub label operations

* Use event metadata publisher for sub label setting

* Formatting

* fix tests

* Cleanup
2025-03-10 16:29:29 -06:00
Nicolas MowenandGitHub 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
Nicolas MowenandGitHub 6f9d9cd5a8 Fix yolov9 link (#17007) 2025-03-07 08:50:04 -06:00
Nicolas MowenandGitHub 09705fd1b4 Update python deps (#17006) 2025-03-07 06:54:53 -07:00
Nicolas MowenandGitHub 433da8ffce Update web deps (#16983)
* Update vite

* Update LuIcons

* Update radix packages

* Fix other icons

* Use correct node version

* Remove superfluous web build on python tests

* Move web build to test
2025-03-06 10:50:37 -06:00
Nicolas MowenandGitHub 30acd26898 Disable detection by default (#16980)
* Enable detection by default

* Migrate config to have detect enabled if it is not
2025-03-06 08:00:29 -06:00
Nicolas MowenandGitHub 66d5f4f3b8 Refactor enabled camera listeners (#16979)
* Monitor if camera is disabled for review items

* Simplify multi camera disabled check

* Cleanup birdseye config handling

* Cleanup

* Remove old listeners
2025-03-06 07:59:35 -06:00
Nicolas MowenandGitHub 73c2c34127 Fix previews failing when disabled (#16962)
* Fix previews failing when offline

* Simplify frame cache handling
2025-03-05 08:07:48 -06:00
Nicolas MowenandGitHub 56079d080d Quick fix (#16926)
* fix

* Fix

* Fix incorrect default websocket value

* Cleanup value setting
2025-03-03 17:28:34 -06:00
Nicolas MowenandGitHub 2946c935ee Disabled camera output (#16920)
* Fix live cameras not showing on refresh

* Fix live dashboard when birdseye is added

* Handle cameras that are offline / disabled

* Use black instead of green frame

* Fix missing mqtt topics
2025-03-03 15:05:49 -06:00
Nicolas MowenandGitHub 71e6e04d77 Remove rocm detector (#16913)
* Remove rocm detector plugin

* Update docs to recommend using onnx for rocm

* Formatting
2025-03-03 08:16:14 -06:00