How to use the imgviz.data.kitti_odometry function in imgviz

To help you get started, we’ve selected a few imgviz examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github wkentaro / imgviz / tests / test_trajectory.py View on Github external
def test_trajectory():
    data = imgviz.data.kitti_odometry()

    img = imgviz.trajectory.plot_trajectory(data["transforms"])
    assert isinstance(img, np.ndarray)
github wkentaro / imgviz / examples / plot_trajectory.py View on Github external
def plot_trajectory():
    data = imgviz.data.kitti_odometry()

    img = imgviz.plot_trajectory(data["transforms"])

    return img