mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-18 09:04:28 +03:00
Correctly clear
This commit is contained in:
parent
a54aa72c87
commit
2678c25ad1
@ -309,8 +309,7 @@ class FaceClassificationModel:
|
|||||||
)
|
)
|
||||||
|
|
||||||
def clear_classifier(self) -> None:
|
def clear_classifier(self) -> None:
|
||||||
self.classifier = None
|
self.face_recognizer = None
|
||||||
self.labeler = None
|
|
||||||
self.label_map = {}
|
self.label_map = {}
|
||||||
|
|
||||||
def detect_faces(self, input: np.ndarray) -> tuple[int, cv2.typing.MatLike] | None:
|
def detect_faces(self, input: np.ndarray) -> tuple[int, cv2.typing.MatLike] | None:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user