diff --git a/modules/services/frigate/default.nix b/modules/services/frigate/default.nix index ff88b6f..0c0ff87 100644 --- a/modules/services/frigate/default.nix +++ b/modules/services/frigate/default.nix @@ -47,19 +47,11 @@ in # Detectors # ############# detectors = { - ov_0 = { - type = "openvino"; - device = "CPU"; + coral = { + type = "edgetpu"; + device = "usb"; }; }; - model = { - width = 300; - height = 300; - input_tensor = "nhwc"; - input_pixel_format = "bgr"; - path = "/openvino-model/ssdlite_mobilenet_v2.xml"; - labelmap_path = "/openvino-model/coco_91cl_bkgr.txt"; - }; objects = { track = [ "person" @@ -199,6 +191,9 @@ in "--shm-size=612m" "--ip=10.88.0.10" ]; + devices = [ + "/dev/bus/usb:/dev/bus/usb" + ]; }; }; };