mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-17 16:44:29 +03:00
Formatting
This commit is contained in:
parent
749010b512
commit
c44ed69979
@ -174,9 +174,7 @@ class FaceClassificationModel:
|
|||||||
self.classifier = None
|
self.classifier = None
|
||||||
self.labeler = None
|
self.labeler = None
|
||||||
|
|
||||||
def classify_face(
|
def classify_face(self, embedding: np.ndarray) -> Optional[tuple[str, float]]:
|
||||||
self, embedding: np.ndarray
|
|
||||||
) -> Optional[tuple[str, float]]:
|
|
||||||
if not self.classifier:
|
if not self.classifier:
|
||||||
self.__build_classifier()
|
self.__build_classifier()
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user