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

Function composite

samples/vision/modnet/runtime/python/main.py:65–79  ·  view source on GitHub ↗

Composite the foreground (image) onto a background using the alpha matte. Args: image: Original image in BGR format. matte: Alpha matte as a uint8 grayscale image. background: Background image in BGR format. Returns: Composited image.

(image: np.ndarray, matte: np.ndarray, background: np.ndarray)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected