MCPcopy Create free account
hub / github.com/D-Robotics/rdk_model_zoo / __call__

Method __call__

samples/vision/modnet/runtime/python/modnet.py:264–276  ·  view source on GitHub ↗

Provide functional-style calling capability, equivalent to ``predict()``. Args: image: Input image in BGR format. Returns: Alpha matte as a uint8 grayscale image.

(
        self,
        image: np.ndarray,
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

predictMethod · 0.95

Tested by

no test coverage detected