mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-07 03:11:15 +03:00
Only match on exact config name in some cases (#16704)
* Only match on exact config name in some cases * Cleanup
This commit is contained in:
@@ -49,7 +49,7 @@ class ImprovedMotionDetector(MotionDetector):
|
||||
self.contrast_values = np.zeros((contrast_frame_history, 2), np.uint8)
|
||||
self.contrast_values[:, 1:2] = 255
|
||||
self.contrast_values_index = 0
|
||||
self.config_subscriber = ConfigSubscriber(f"config/motion/{name}")
|
||||
self.config_subscriber = ConfigSubscriber(f"config/motion/{name}", True)
|
||||
self.ptz_metrics = ptz_metrics
|
||||
self.last_stop_time = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user