Skip to main content
The OpticalExpansion class provides core functionality for this module.
This code is licensed under the MIT License.
boolean
default:"True"
If True, inference call is run on the local VM, else offloaded onto GRID-Cortex. Defaults to False.
np.ndarray
required
Routes inference to GRID-Cortex if available; otherwise, uses local inference.Args: rgbimage (np.ndarray): The input RGB image.Returns: dict: The output containing TTC, occupancy, logarithmic motion in depth, and optical flow.
np.ndarray
The predicted output.