NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
initialize path before calling super() (#14203)
Josh Hawkins6ebad8416065
diff --git a/frigate/db/sqlitevecq.py b/frigate/db/sqlitevecq.pyindex 51035ee4f2..b37e117173 100644--- a/frigate/db/sqlitevecq.py+++ b/frigate/db/sqlitevecq.py@@ -6,10 +6,9 @@ from playhouse.sqliteq import SqliteQueueDatabaseclass SqliteVecQueueDatabase(SqliteQueueDatabase):def __init__(self, *args, load_vec_extension: bool = False, **kwargs) -> None:self.load_vec_extension: bool = load_vec_extension- super().__init__(*args, **kwargs)-# no extension necessary, sqlite will load correctly for each platformself.sqlite_vec_path = "/usr/local/lib/vec0"+ super().__init__(*args, **kwargs)def _connect(self, *args, **kwargs) -> sqlite3.Connection:conn: sqlite3.Connection = super()._connect(*args, **kwargs)