MCPcopy
hub / github.com/serengil/deepface / predict

Method predict

deepface/models/Demography.py:27–30  ·  view source on GitHub ↗
(
        self, img: Union[NDArray[Any], List[NDArray[Any]]]
    )

Source from the content-addressed store, hash-verified

25
26 @abstractmethod
27 def predict(
28 self, img: Union[NDArray[Any], List[NDArray[Any]]]
29 ) -> Union[NDArray[Any], np.float64]:
30 pass
31
32 def _predict_internal(self, img_batch: NDArray[Any]) -> NDArray[Any]:
33 """

Calls

no outgoing calls