feat(oci): offer an Intel NPU or a Coral as Frigate's object detector

This commit is contained in:
MacRimi
2026-09-28 17:48:47 +02:00
parent adc42caae3
commit bf07f0a8a9
8 changed files with 200 additions and 4 deletions
+2 -1
View File
@@ -15,8 +15,9 @@ def gpu_path(path):
def peripheral_path(path):
"""Coral, NPU (/dev/accel), USB and serial nodes, identified by their sysfs path."""
return isinstance(path, str) and re.fullmatch(
r'/dev/(apex_[0-9]+|ttyUSB[0-9]+|ttyACM[0-9]+|bus/usb/[0-9]{3}/[0-9]{3})', path) is not None
r'/dev/(apex_[0-9]+|accel/accel[0-9]+|ttyUSB[0-9]+|ttyACM[0-9]+|bus/usb/[0-9]{3}/[0-9]{3})', path) is not None
def system_path(path):