diff --git a/web/src/pages/Settings.tsx b/web/src/pages/Settings.tsx
index b4931b57f4..92d992f8a7 100644
--- a/web/src/pages/Settings.tsx
+++ b/web/src/pages/Settings.tsx
@@ -40,7 +40,7 @@ import UiSettingsView from "@/views/settings/UiSettingsView";
const allSettingsViews = [
"UI settings",
- "search settings",
+ "explore settings",
"camera settings",
"masks / zones",
"motion tuner",
@@ -175,7 +175,7 @@ export default function Settings() {
{page == "UI settings" &&
}
- {page == "search settings" && (
+ {page == "explore settings" && (
)}
{page == "debug" && (
diff --git a/web/src/views/settings/SearchSettingsView.tsx b/web/src/views/settings/SearchSettingsView.tsx
index af0bfcff52..027f550705 100644
--- a/web/src/views/settings/SearchSettingsView.tsx
+++ b/web/src/views/settings/SearchSettingsView.tsx
@@ -91,7 +91,7 @@ export default function SearchSettingsView({
)
.then((res) => {
if (res.status === 200) {
- toast.success("Search settings have been saved.", {
+ toast.success("Explore settings have been saved.", {
position: "top-center",
});
setChangedValue(false);
@@ -128,7 +128,7 @@ export default function SearchSettingsView({
if (changedValue) {
addMessage(
"search_settings",
- `Unsaved search settings changes`,
+ `Unsaved Explore settings changes`,
undefined,
"search_settings",
);
@@ -140,7 +140,7 @@ export default function SearchSettingsView({
}, [changedValue]);
useEffect(() => {
- document.title = "Search Settings - Frigate";
+ document.title = "Explore Settings - Frigate";
}, []);
if (!config) {
@@ -152,7 +152,7 @@ export default function SearchSettingsView({
- Search Settings
+ Explore Settings
@@ -221,7 +221,7 @@ export default function SearchSettingsView({
Model Size
- The size of the model used for semantic search embeddings.
+ The size of the model used for Semantic Search embeddings.
-
From 98338e4c7f7788239edb92392a4debbf5aef3b90 Mon Sep 17 00:00:00 2001
From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
Date: Sat, 28 Dec 2024 14:37:39 -0600
Subject: [PATCH 5/8] Ensure object lifecycle ratio is re-normalized to camera
aspect (#15717)
---
web/src/components/overlay/detail/ObjectLifecycle.tsx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/web/src/components/overlay/detail/ObjectLifecycle.tsx b/web/src/components/overlay/detail/ObjectLifecycle.tsx
index 7a667529e8..9512e4a7ee 100644
--- a/web/src/components/overlay/detail/ObjectLifecycle.tsx
+++ b/web/src/components/overlay/detail/ObjectLifecycle.tsx
@@ -477,7 +477,10 @@ export default function ObjectLifecycle({
{Array.isArray(item.data.box) &&
item.data.box.length >= 4
- ? (item.data.box[2] / item.data.box[3]).toFixed(2)
+ ? (
+ aspectRatio *
+ (item.data.box[2] / item.data.box[3])
+ ).toFixed(2)
: "N/A"}
From 322b847356a5a718a5069af96d060fc245b3cec2 Mon Sep 17 00:00:00 2001
From: Nicolas Mowen
Date: Sun, 29 Dec 2024 14:47:40 -0600
Subject: [PATCH 6/8] Fix event cleanup (#15724)
---
frigate/events/cleanup.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/frigate/events/cleanup.py b/frigate/events/cleanup.py
index 713e336301..d4efb26e83 100644
--- a/frigate/events/cleanup.py
+++ b/frigate/events/cleanup.py
@@ -121,8 +121,8 @@ def expire_snapshots(self) -> list[str]:
events_to_update = []
- for batch in query.iterator():
- events_to_update.extend([event.id for event in batch])
+ for event in query.iterator():
+ events_to_update.append(event.id)
if len(events_to_update) >= CHUNK_SIZE:
logger.debug(
f"Updating {update_params} for {len(events_to_update)} events"
@@ -257,7 +257,7 @@ def expire_clips(self) -> list[str]:
events_to_update = []
for event in query.iterator():
- events_to_update.append(event)
+ events_to_update.append(event.id)
if len(events_to_update) >= CHUNK_SIZE:
logger.debug(
From a1ce9aacf27591d141619e887579c963df55ce8e Mon Sep 17 00:00:00 2001
From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
Date: Mon, 30 Dec 2024 08:23:25 -0600
Subject: [PATCH 7/8] Tracked object details pane bugfix (#15736)
* restore save button in tracked object details pane
* conditionally show save button
---
.../overlay/detail/SearchDetailDialog.tsx | 82 +++++++++----------
1 file changed, 41 insertions(+), 41 deletions(-)
diff --git a/web/src/components/overlay/detail/SearchDetailDialog.tsx b/web/src/components/overlay/detail/SearchDetailDialog.tsx
index ba32eec2ba..bf4b70947d 100644
--- a/web/src/components/overlay/detail/SearchDetailDialog.tsx
+++ b/web/src/components/overlay/detail/SearchDetailDialog.tsx
@@ -505,45 +505,46 @@ function ObjectDetailsTab({
{config?.cameras[search.camera].genai.enabled && search.end_time && (
- <>
-
-
- {search.has_snapshot && (
-
-
-
-
-
- regenerateDescription("snapshot")}
- >
- Regenerate from Snapshot
-
- regenerateDescription("thumbnails")}
- >
- Regenerate from Thumbnails
-
-
-
- )}
-
-
+
+
+ {search.has_snapshot && (
+
+
+
+
+
+ regenerateDescription("snapshot")}
+ >
+ Regenerate from Snapshot
+
+ regenerateDescription("thumbnails")}
+ >
+ Regenerate from Thumbnails
+
+
+
+ )}
+
+ )}
+ {(config?.cameras[search.camera].genai.enabled && search.end_time) ||
+ (!config?.cameras[search.camera].genai.enabled && (
- >
- )}
+ ))}