mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-17 08:35:21 +03:00
clean up
This commit is contained in:
parent
418c85d08a
commit
ce45c54969
@ -241,8 +241,6 @@ class GenericONNXEmbedding:
|
|||||||
else:
|
else:
|
||||||
raise ValueError(f"Unable to preprocess inputs for {self.model_type}")
|
raise ValueError(f"Unable to preprocess inputs for {self.model_type}")
|
||||||
|
|
||||||
# for face recognition
|
|
||||||
|
|
||||||
def _process_image(self, image, output: str = "RGB") -> Image.Image:
|
def _process_image(self, image, output: str = "RGB") -> Image.Image:
|
||||||
if isinstance(image, str):
|
if isinstance(image, str):
|
||||||
if image.startswith("http"):
|
if image.startswith("http"):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user