mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-01 11:07:41 +03:00
Cleanup
This commit is contained in:
parent
0c29e5bd66
commit
098a8130a8
@ -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 0, 0.0
|
||||
return 0, 0.0
|
||||
|
||||
variance = cv2.Laplacian(input, cv2.CV_64F).var()
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user