mirror of
https://github.com/serengil/deepface.git
synced 2025-06-09 21:07:09 +00:00
fix typo
This commit is contained in:
parent
a5ecdc1d8c
commit
1d18013978
@ -34,7 +34,7 @@ class SFace:
|
|||||||
|
|
||||||
def predict(self, image, bbox=None, **kwargs):
|
def predict(self, image, bbox=None, **kwargs):
|
||||||
# Preprocess
|
# Preprocess
|
||||||
image = (image[0] * 255).astype(np.uint8) # revert the iamge to original format and preprocess using the model
|
image = (image[0] * 255).astype(np.uint8) # revert the image to original format and preprocess using the model
|
||||||
input_blob = self._preprocess(image, bbox)
|
input_blob = self._preprocess(image, bbox)
|
||||||
|
|
||||||
# Forward
|
# Forward
|
||||||
|
Loading…
x
Reference in New Issue
Block a user