Add object detection, tracking, mobile notifications, and search to any security camera.
remove sleep and error print
Rory Clear650e8d95253b
diff --git a/clearcam.py b/clearcam.pyindex eaa6d70..c8c44b1 100644--- a/clearcam.py+++ b/clearcam.py@@ -335,7 +335,6 @@ class VideoCapture:str(path / "stream.m3u8")]hls_proc = subprocess.Popen(command, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)- time.sleep(15)if self.start_time[cam_name] is None: self.start_time[cam_name] = time.time()command = [@@ -410,7 +409,7 @@ class VideoCapture:self.frame_num[cam_name] += 1time.sleep(1 / 100)except Exception as e:- print("Error in frame_loop:", e, cam_name)+ print("Waiting for frames from",cam_name)time.sleep(1)def process_frame(self, cam_name):