Ensure landmark detector has a defualt value

This commit is contained in:
Nicolas Mowen 2025-03-27 13:20:45 -06:00
parent 1233bc3a42
commit 302e82be8e

View File

@ -20,6 +20,7 @@ class FaceRecognizer(ABC):
def __init__(self, config: FrigateConfig) -> None:
self.config = config
self.landmark_detector: cv2.face.FacemarkLBF = None
self.init_landmark_detector()
@abstractmethod