frigate/frigate/test
Josh Hawkins 7413ce08d4
Merge detector and model in settings UI (#23216)
* add embedded mode to BaseSection so parents can host the save action

* add optional action slot to current Frigate+ model summary

* add w-full to action slot flex wrapper for explicit width contract

* i18n

* merged detectors and model settings view

* fix document title

* Embed detector form in merged settings view

* add detection model card with tabs and custom model embed

* add Frigate+ model selector with filter popover to merged page

* Add mismatch banner and gate save on detector and model compatibility

* Wire atomic save, restart toast, and undo on detectors and model page

* Clear child pending data on undo

* route merged detectors and model view in settings

* trim Frigate+ page to account-only and remove old detection model view

* basic e2e

* Fix unsaved-changes guard, custom path leak, and post-failure cache resync

* Rename to Detectors and model, float Modified badge, use ConfigMessageBanner for mismatch

* Hide Plus/Custom tabs when Frigate+ is not enabled

* Detect active Plus model via model.plus.id instead of path prefix

* Sync state back to snapshot when child form un-modifies and remount on undo

* Always require restart on save since model changes also need one

* Wrap Frigate+ model selector in SplitCardRow with label and description

* rename tab

* update docs

* sync top-level model with default detector's resolved model

when the user doesn't define a top-level `model:` block, `FrigateConfig.model` stayed at pydantic field defaults (320×320, /labelmap.txt) while the per-detector model picked up `DEFAULT_MODEL` for openvino on cpu (300×300, coco_91cl_bkgr.txt introduced in #23127), causing `RemoteObjectDetector` to fail with "buffer is too small for requested array" because the SHM was sized from the per-detector model but mapped using the top-level one. After the detector loop, copy the first detector's resolved model up to `self.model` so both sides agree on dimensions and labelmap

* revert to cpu detector by default

use openvino cpu for new configs only

* add defaults
2026-05-17 11:54:21 -06:00
..
http_api Miscellaneous fixes (#23201) 2026-05-15 10:06:38 -05:00
__init__.py app container and config schema 2021-01-26 21:40:33 -06:00
const.py Work through most of the cspell warnings in python (#13794) 2024-09-17 10:41:46 -05:00
test_birdseye.py Write a low resolution low fps stream from decoded frames (#8673) 2024-01-31 12:56:11 +00:00
test_camera_pw.py fix typos (#9895) 2024-02-17 16:01:50 -06:00
test_chat_find_similar_objects.py Camera access fixes (#22987) 2026-04-23 12:27:49 -06:00
test_config.py Merge detector and model in settings UI (#23216) 2026-05-17 11:54:21 -06:00
test_copy_yuv_to_position.py Cleanup and organize utils (#7033) 2023-07-06 09:28:50 -05:00
test_debug_replay_job.py Use Job infrastructure for Debug Replay (#23099) 2026-05-03 14:54:20 -06:00
test_debug_replay.py Use Job infrastructure for Debug Replay (#23099) 2026-05-03 14:54:20 -06:00
test_deferred_processor.py Add deferred real-time processor for enrichments (#22880) 2026-04-14 21:39:44 -06:00
test_env.py Improve environment var handling (#22796) 2026-04-07 07:16:02 -06:00
test_export_progress.py Use Job infrastructure for Debug Replay (#23099) 2026-05-03 14:54:20 -06:00
test_ffmpeg_presets.py Update ffmpeg (#22548) 2026-03-20 08:50:58 -05:00
test_ffmpeg_progress.py Use Job infrastructure for Debug Replay (#23099) 2026-05-03 14:54:20 -06:00
test_file.py Enable event snapshot API to honour query params after event ends (#22375) 2026-03-22 13:33:04 -06:00
test_gpu_stats.py Improve Intel Stats (#23190) 2026-05-13 15:12:48 -06:00
test_maintainer.py Miscellaneous fixes (#22913) 2026-04-18 07:10:50 -06:00
test_media_auth.py Implement cross-camera safety for indexed media folders (#23164) 2026-05-11 14:52:18 -05:00
test_motion_detector.py Skip motion threshold configuration (#22255) 2026-03-05 18:20:03 -06:00
test_obects.py Various fixes (#14410) 2024-10-17 11:02:27 -05:00
test_object_detector.py Improve async object detector support (#17712) 2025-04-15 08:55:38 -05:00
test_output_ws_auth.py Camera access fixes (#22987) 2026-04-23 12:27:49 -06:00
test_preview_loader.py Offline preview image (#21752) 2026-02-26 21:27:56 -07:00
test_profiles.py Improve profile state management and add recap tool (#22715) 2026-03-31 19:09:32 -05:00
test_proxy_auth.py Various Tweaks (#22609) 2026-03-24 13:53:39 -06:00
test_record_retention.py Improve recording retention logic (#20506) 2025-10-15 11:09:28 -06:00
test_reduce_boxes.py Smarter Regions (#8194) 2023-10-18 18:21:52 -05:00
test_storage.py Pull count of detection events by label into prometheus metrics (#20119) 2025-09-19 06:27:20 -06:00
test_video.py Merge remote-tracking branch 'origin/master' into dev 2024-02-14 18:20:55 -06:00
test_webpush_camera_monitoring.py Camera access fixes (#22987) 2026-04-23 12:27:49 -06:00
test_ws_auth.py limit access to admin-only websocket topics for viewer users (#22710) 2026-03-31 08:51:55 -05:00
test_yuv_region_2_rgb.py Cleanup and organize utils (#7033) 2023-07-06 09:28:50 -05:00