mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
apply config correctly, adjust defaults
This commit is contained in:
parent
22690fa096
commit
585d093baf
10 changed files with 43 additions and 35 deletions
|
|
@ -24,7 +24,7 @@ class FaceDetector(InferenceModel):
|
|||
|
||||
return session
|
||||
|
||||
def _predict(self, inputs: NDArray[np.uint8] | bytes, **kwargs: Any) -> FaceDetectionOutput:
|
||||
def _predict(self, inputs: NDArray[np.uint8] | bytes) -> FaceDetectionOutput:
|
||||
inputs = decode_cv2(inputs)
|
||||
|
||||
bboxes, landmarks = self._detect(inputs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue