mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-03-04 00:17:22 +01:00
Explore audio event tweaks (#15291)
This commit is contained in:
parent
002fdeae67
commit
4a5fe4138e
@ -108,6 +108,7 @@ export default function SearchResultActions({
|
|||||||
</a>
|
</a>
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
)}
|
)}
|
||||||
|
{searchResult.data.type == "object" && (
|
||||||
<MenuItem
|
<MenuItem
|
||||||
aria-label="Show the object lifecycle"
|
aria-label="Show the object lifecycle"
|
||||||
onClick={showObjectLifecycle}
|
onClick={showObjectLifecycle}
|
||||||
@ -115,6 +116,7 @@ export default function SearchResultActions({
|
|||||||
<FaArrowsRotate className="mr-2 size-4" />
|
<FaArrowsRotate className="mr-2 size-4" />
|
||||||
<span>View object lifecycle</span>
|
<span>View object lifecycle</span>
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
|
)}
|
||||||
{config?.semantic_search?.enabled && isContextMenu && (
|
{config?.semantic_search?.enabled && isContextMenu && (
|
||||||
<MenuItem
|
<MenuItem
|
||||||
aria-label="Find similar tracked objects"
|
aria-label="Find similar tracked objects"
|
||||||
@ -182,7 +184,8 @@ export default function SearchResultActions({
|
|||||||
</ContextMenu>
|
</ContextMenu>
|
||||||
) : (
|
) : (
|
||||||
<>
|
<>
|
||||||
{config?.semantic_search?.enabled && (
|
{config?.semantic_search?.enabled &&
|
||||||
|
searchResult.data.type == "object" && (
|
||||||
<Tooltip>
|
<Tooltip>
|
||||||
<TooltipTrigger>
|
<TooltipTrigger>
|
||||||
<MdImageSearch
|
<MdImageSearch
|
||||||
|
@ -452,7 +452,7 @@ function ObjectDetailsTab({
|
|||||||
draggable={false}
|
draggable={false}
|
||||||
src={`${apiHost}api/events/${search.id}/thumbnail.jpg`}
|
src={`${apiHost}api/events/${search.id}/thumbnail.jpg`}
|
||||||
/>
|
/>
|
||||||
{config?.semantic_search.enabled && (
|
{config?.semantic_search.enabled && search.data.type == "object" && (
|
||||||
<Button
|
<Button
|
||||||
aria-label="Find similar tracked objects"
|
aria-label="Find similar tracked objects"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
@ -626,7 +626,9 @@ export function ObjectSnapshotTab({
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</TransformComponent>
|
</TransformComponent>
|
||||||
{search.data.type == "object" && search.plus_id !== "not_enabled" && search.end_time && (
|
{search.data.type == "object" &&
|
||||||
|
search.plus_id !== "not_enabled" &&
|
||||||
|
search.end_time && (
|
||||||
<Card className="p-1 text-sm md:p-2">
|
<Card className="p-1 text-sm md:p-2">
|
||||||
<CardContent className="flex flex-col items-center justify-between gap-3 p-2 md:flex-row">
|
<CardContent className="flex flex-col items-center justify-between gap-3 p-2 md:flex-row">
|
||||||
<div className={cn("flex flex-col space-y-3")}>
|
<div className={cn("flex flex-col space-y-3")}>
|
||||||
@ -639,8 +641,8 @@ export function ObjectSnapshotTab({
|
|||||||
</div>
|
</div>
|
||||||
<div className="text-sm text-muted-foreground">
|
<div className="text-sm text-muted-foreground">
|
||||||
Objects in locations you want to avoid are not false
|
Objects in locations you want to avoid are not false
|
||||||
positives. Submitting them as false positives will confuse
|
positives. Submitting them as false positives will
|
||||||
the model.
|
confuse the model.
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user