mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-05 13:07:44 +03:00
Ensure landmark detector has a defualt value
This commit is contained in:
parent
1233bc3a42
commit
302e82be8e
@ -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