NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Clean user / pass from stats command line (#9189)
Nicolas Mowen8e419132eae4
diff --git a/frigate/util/services.py b/frigate/util/services.pyindex 28421cef3d..ef92b31530 100644--- a/frigate/util/services.py+++ b/frigate/util/services.py@@ -14,7 +14,7 @@ import cv2import psutilimport py3nvml.py3nvml as nvml-from frigate.util.builtin import escape_special_characters+from frigate.util.builtin import clean_camera_user_pass, escape_special_characterslogger = logging.getLogger(__name__)@@ -134,7 +134,7 @@ def get_cpu_stats() -> dict[str, dict]:"cpu": str(cpu_percent),"cpu_average": str(round(cpu_average_usage, 2)),"mem": f"{mem_pct}",- "cmdline": " ".join(cmdline),+ "cmdline": clean_camera_user_pass(" ".join(cmdline)),}except Exception:continue