From e543cc642ca0e782433de3503e12085e7322b35b Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Mon, 20 May 2024 12:48:01 -0500 Subject: [PATCH] add clarifying message and docs link around motion masks (#11452) --- .../settings/MotionMaskEditPane.tsx | 21 ++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/web/src/components/settings/MotionMaskEditPane.tsx b/web/src/components/settings/MotionMaskEditPane.tsx index 9b0429eed..fad130ecd 100644 --- a/web/src/components/settings/MotionMaskEditPane.tsx +++ b/web/src/components/settings/MotionMaskEditPane.tsx @@ -20,6 +20,8 @@ import axios from "axios"; import { toast } from "sonner"; import { Toaster } from "../ui/sonner"; import ActivityIndicator from "../indicators/activity-indicator"; +import { Link } from "react-router-dom"; +import { LuExternalLink } from "react-icons/lu"; type MotionMaskEditPaneProps = { polygons?: Polygon[]; @@ -187,12 +189,25 @@ export default function MotionMaskEditPane({ {polygon.name.length ? "Edit" : "New"} Motion Mask -
+

Motion masks are used to prevent unwanted types of motion from - triggering detection. Over masking will make it more difficult for - objects to be tracked. + triggering detection (example: tree branches, camera timestamps). + Motion masks should be used very sparingly, over-masking will + make it more difficult for objects to be tracked.

+ +
+ + Read the documentation{" "} + + +
{polygons && activePolygonIndex !== undefined && (