Skip to main content
The DPVO class is a wrapper for the DPVO model, which estimates camera poses from RGB images using a deep learning approach.
boolean
default:"True"
If True, inference call is run on the local VM, else offloaded onto GRID-Cortex. Defaults to True.
np.ndarray
default:"false"
The camera calibration matrix of shape (4,)(4,). Defaults to np.array([320, 320, 320, 240]).
This model is currently not available via Cortex.
Uses DPVO to predict the camera pose for the given RGB image relative to the previous one. If this is the first image, initializes the pose estimation routine.
np.ndarray
required
The input RGB image of shape (M,N,3)(M,N,3).
np.ndarray
The predicted pose as a 1x6 tensor containing X, Y, Z positions and R, P, Y orientation.
This code is licensed under the MIT License.