Add object detection, tracking, mobile notifications, and search to any security camera.
patch crash
Rory Cleara8d8eb61e091
diff --git a/clearcam.py b/clearcam.pyindex 3d348e9..11e8a58 100644--- a/clearcam.py+++ b/clearcam.py@@ -257,6 +257,7 @@ class VideoCapture:cam_check = time.time()new_cams = database.run_get("links", None)for cam_name in new_cams.keys():+ if type(new_cams[cam_name]) != str: continue # todo find causeif cam_name not in cams:self.init_cam(cam_name=cam_name, src=new_cams[cam_name])if not self.vod[cam_name]: threading.Thread(target=self.frame_loop, args=(cam_name,), daemon=True).start() # todo non vod only