Skip to content

Conversation

@dhigby
Copy link

@dhigby dhigby commented Dec 6, 2025

Expanded explanations for motion and object filter masks, including usage guidelines and performance considerations.

Proposed change

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code
  • [x ] Documentation Update

Additional information

  • This PR fixes or closes issue: fixes #
  • This PR is related to issue:

Checklist

  • The code change is tested and works locally.
  • Local tests pass. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.
  • UI changes including text have used i18n keys and have been added to the en locale.
  • The code has been formatted using Ruff (ruff format frigate)

Expanded explanations for motion and object filter masks, including usage guidelines and performance considerations.
@netlify
Copy link

netlify bot commented Dec 6, 2025

Deploy Preview for frigate-docs ready!

Name Link
🔨 Latest commit 03dd84f
🔍 Latest deploy log https://app.netlify.com/projects/frigate-docs/deploys/693459148009e30008d1daff
😎 Deploy Preview https://deploy-preview-21175--frigate-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Collaborator

@NickM-27 NickM-27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am happy to defer to other maintainers, but this seems like too much of an overhaul. It removes important information that has been very helpful for users while adding some information that is either incorrect or too ambiguous and may make things more confusing.

The tip #13040 contains the primary explanation and recommendations for users regarding zones and masks.

## Motion masks

Motion masks are used to prevent unwanted types of motion from triggering detection. Try watching the Debug feed (Settings --> Debug) with `Motion Boxes` enabled to see what may be regularly detected as motion. For example, you want to mask out your timestamp, the sky, rooftops, etc. Keep in mind that this mask only prevents motion from being detected and does not prevent objects from being detected if object detection was started due to motion in unmasked areas. Motion is also used during object tracking to refine the object detection area in the next frame. _Over-masking will make it more difficult for objects to be tracked._
Motion masks tell Frigate where motion should be ignored when deciding whether to run object detection or continue tracking an object.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or continue tracking an object.

this is not correct, it does not stop it from tracking objects that have been detected

- Detect-stream resolution
- Detected object types (e.g., only `person`)

### Further Clarification
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section should not be removed

Comment on lines +64 to +70
To reduce load:

1. Motion-mask busy areas that never contain relevant objects (streets, public sidewalks, distant parking lots).
2. If needed, tune:
- `detect.fps`
- Detect-stream resolution
- Detected object types (e.g., only `person`)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not recommended, in fact it is highly discouraged. Areas where objects are detected should not be motion masked

@hawkeye217
Copy link
Collaborator

In addition to @NickM-27's feedback above, I’m curious about the motivation for doing a full rewrite of this page. I would rather keep the existing content and instead make a few targeted edits or clarifications. I’m not convinced that a complete overhaul is necessary - maybe small adjustments might address the issues without losing the helpful information the current version provides.

@github-actions github-actions bot added the stale label Jan 7, 2026
@github-actions github-actions bot closed this Jan 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants