Skip to content

Add object detection, tracking, mobile notifications, and search to any security camera.

remove useless func

roryclear08340c6f3793
diff --git a/clearcam.py b/clearcam.py
index 2296612..2d6d1b3 100644
--- a/clearcam.py
+++ b/clearcam.py
@@ -2063,12 +2063,6 @@ class HLSRequestHandler(BaseHTTPRequestHandler):
}});
}}
- function hmsToSeconds(hms) {{
- const [h, m, s] = hms.split(":").map(Number);
- return h * 3600 + m * 60 + s;
- }}
-
-
function fetchCounts() {{
fetch(`/get_counts?cam=${{encodeURIComponent(cameraName)}}`)
.then(res => res.json())