diff --git a/docs/docs/troubleshooting/gpu.md b/docs/docs/troubleshooting/gpu.md new file mode 100644 index 000000000..a5b48246a --- /dev/null +++ b/docs/docs/troubleshooting/gpu.md @@ -0,0 +1,13 @@ +--- +id: gpu +title: Troubleshooting GPU +--- + +## OpenVINO + +### Can't get OPTIMIZATION_CAPABILITIES property as no supported devices found. + +Some users have reported issues using some Intel iGPUs with OpenVINO, where the GPU would not be detected. This error can be caused by various problems, so it is important to ensure the configuration is setup correctly. Some solutions users have noted: + +- In some cases users have noted that an HDMI dummy plug was necessary to be plugged into the motherboard's HDMI port. +- When mixing an Intel iGPU with Nvidia GPU, the devices can be mixed up between `/dev/dri/renderD128` and `/dev/dri/renderD129` so it is important to confirm the correct device, or map the entire `/dev/dri` directory into the Frigate container. \ No newline at end of file diff --git a/docs/sidebars.ts b/docs/sidebars.ts index bd89492e2..52b36beab 100644 --- a/docs/sidebars.ts +++ b/docs/sidebars.ts @@ -100,6 +100,7 @@ const sidebars: SidebarsConfig = { Troubleshooting: [ "troubleshooting/faqs", "troubleshooting/recordings", + "troubleshooting/gpu", "troubleshooting/edgetpu", ], Development: [ diff --git a/frigate/data_processing/common/face/model.py b/frigate/data_processing/common/face/model.py index 494e28a5b..56065d3ff 100644 --- a/frigate/data_processing/common/face/model.py +++ b/frigate/data_processing/common/face/model.py @@ -111,7 +111,7 @@ class FaceRecognizer(ABC): def get_blur_confidence_reduction(self, input: np.ndarray) -> tuple[float, float]: """Calculates the reduction in confidence based on the blur of the image.""" if not self.config.face_recognition.blur_confidence_filter: - return 1.0 + return 0, 0.0 variance = cv2.Laplacian(input, cv2.CV_64F).var()