mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-08-08 13:51:01 +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:
|
def __init__(self, config: FrigateConfig) -> None:
|
||||||
self.config = config
|
self.config = config
|
||||||
|
self.landmark_detector: cv2.face.FacemarkLBF = None
|
||||||
self.init_landmark_detector()
|
self.init_landmark_detector()
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
|
Loading…
Reference in New Issue
Block a user