diff --git a/web/src/views/settings/ObjectSettingsView.tsx b/web/src/views/settings/ObjectSettingsView.tsx index 8b6c99f4f..927d08ee0 100644 --- a/web/src/views/settings/ObjectSettingsView.tsx +++ b/web/src/views/settings/ObjectSettingsView.tsx @@ -11,13 +11,17 @@ import { usePersistence } from "@/hooks/use-persistence"; import { Skeleton } from "@/components/ui/skeleton"; import { useCameraActivity } from "@/hooks/use-camera-activity"; import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs"; +import { + Popover, + PopoverContent, + PopoverTrigger, +} from "@/components/ui/popover"; import { ObjectType } from "@/types/ws"; import useDeepMemo from "@/hooks/use-deep-memo"; import { Card } from "@/components/ui/card"; import { getIconForLabel } from "@/utils/iconUtil"; import { capitalizeFirstLetter } from "@/utils/stringUtil"; -import { Link } from "react-router-dom"; -import { LuExternalLink } from "react-icons/lu"; +import { LuInfo } from "react-icons/lu"; type ObjectSettingsViewProps = { selectedCamera?: string; @@ -37,6 +41,30 @@ export default function ObjectSettingsView({ param: "bbox", title: "Bounding boxes", description: "Show bounding boxes around tracked objects", + info: ( + <> +
+ Object Bounding Box Colors +
++ Motion Boxes +
++ Red boxes will be overlaid on areas of the frame where motion is + currently being detected +
+ > + ), }, { param: "regions", title: "Regions", description: "Show a box of the region of interest sent to the object detector", + info: ( + <> ++ Region Boxes +
++ Bright green boxes will be overlaid on areas of interest in the + frame that are being sent to the object detector. +
+ > + ), }, ]; @@ -136,17 +186,6 @@ export default function ObjectSettingsView({ statistics. The object list shows a time-delayed summary of detected objects. -