File: plot_trajectory.py

package info (click to toggle)
python-imgviz 1.5.1%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 9,132 kB
  • sloc: python: 3,354; makefile: 15
file content (17 lines) | stat: -rwxr-xr-x 268 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env python

import imgviz


def plot_trajectory():
    data = imgviz.data.kitti_odometry()

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

    return img


if __name__ == "__main__":
    from base import run_example

    run_example(plot_trajectory)