diff --git a/docs/docs/configuration/advanced.md b/docs/docs/configuration/advanced.md index 4296e523d..5c8c0178c 100644 --- a/docs/docs/configuration/advanced.md +++ b/docs/docs/configuration/advanced.md @@ -41,8 +41,8 @@ Global object detection settings. These may also be defined at the camera level. ```yaml detect: - # Optional: Number of frames without a detection before frigate considers an object to be gone. (default: double the frame rate) - max_disappeared: 10 + # Optional: Number of frames without a detection before frigate considers an object to be gone. (default: 5x the frame rate) + max_disappeared: 25 ``` ### `logger` diff --git a/docs/docs/configuration/cameras.md b/docs/docs/configuration/cameras.md index 058583c28..cb2c5df16 100644 --- a/docs/docs/configuration/cameras.md +++ b/docs/docs/configuration/cameras.md @@ -276,8 +276,8 @@ cameras: # Optional: enables detection for the camera (default: True) # This value can be set via MQTT and will be updated in startup based on retained value enabled: True - # Optional: Number of frames without a detection before frigate considers an object to be gone. (default: double the frame rate) - max_disappeared: 10 + # Optional: Number of frames without a detection before frigate considers an object to be gone. (default: 5x the frame rate) + max_disappeared: 25 # Optional: save clips configuration clips: diff --git a/frigate/config.py b/frigate/config.py index bda3c9f57..e84db706f 100644 --- a/frigate/config.py +++ b/frigate/config.py @@ -746,7 +746,7 @@ class MotionConfig(): class DetectConfig(): def __init__(self, global_config, config, camera_fps): self._enabled = config['enabled'] - self._max_disappeared = config.get('max_disappeared', global_config.get('max_disappeared', camera_fps*2)) + self._max_disappeared = config.get('max_disappeared', global_config.get('max_disappeared', camera_fps*5)) @property def enabled(self):