MCPcopy
hub / github.com/mudler/LocalAI / prepare

Method prepare

backend/python/insightface/engines.py:53–53  ·  view source on GitHub ↗
(self, options: dict[str, str])

Source from the content-addressed store, hash-verified

51 """Minimal interface every engine must implement."""
52
53 def prepare(self, options: dict[str, str]) -> None: ...
54 def detect(self, img: np.ndarray) -> list[FaceDetection]: ...
55 def embed(self, img: np.ndarray) -> np.ndarray | None: ...
56 def analyze(self, img: np.ndarray) -> list[FaceAttributes]: ...

Callers 3

LoadModelMethod · 0.45
prepareMethod · 0.45
constructorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected