Add object detection, tracking, mobile notifications, and search to any security camera.
return 1920x1080 if no match
roryclear3c1172edd55f
diff --git a/clearcam.py b/clearcam.pyindex 3852727..338dce6 100644--- a/clearcam.py+++ b/clearcam.py@@ -158,7 +158,9 @@ def _get_stream_resolution(src):if match:width, height = map(int, match.groups())return width, height- except Exception as e: return 1920, 1080+ return 1920, 1080+ except Exception as e:+ return 1920, 1080class VideoCapture:def __init__(self, src, cam_name="camera", vod=False):