mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
fix watchdog restart
This commit is contained in:
parent
6f6d202c99
commit
81c5b96ed7
@ -87,7 +87,7 @@ class CameraWatchdog(threading.Thread):
|
|||||||
camera_process['skipped_fps'].value = 0.0
|
camera_process['skipped_fps'].value = 0.0
|
||||||
process = mp.Process(target=track_camera, args=(name, self.config[name], FFMPEG_DEFAULT_CONFIG, GLOBAL_OBJECT_CONFIG,
|
process = mp.Process(target=track_camera, args=(name, self.config[name], FFMPEG_DEFAULT_CONFIG, GLOBAL_OBJECT_CONFIG,
|
||||||
self.tflite_process.detect_lock, self.tflite_process.detect_ready, self.tflite_process.frame_ready, self.tracked_objects_queue,
|
self.tflite_process.detect_lock, self.tflite_process.detect_ready, self.tflite_process.frame_ready, self.tracked_objects_queue,
|
||||||
camera_process['fps'], camera_process['skipped_fps']))
|
camera_process['fps'], camera_process['skipped_fps'], camera_process['detection_fps']))
|
||||||
process.daemon = True
|
process.daemon = True
|
||||||
camera_process['process'] = process
|
camera_process['process'] = process
|
||||||
process.start()
|
process.start()
|
||||||
|
Loading…
Reference in New Issue
Block a user