mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-07-26 13:47:03 +02:00
Ensure landmark detector has a defualt value (#17420)
This commit is contained in:
parent
e1a4053426
commit
3f1b4438e4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user