File: plot_trajectory.py

package info (click to toggle)
python-imgviz 1.7.6%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,056 kB
  • sloc: python: 3,131; makefile: 25
file content (17 lines) | stat: -rwxr-xr-x 268 bytes parent folder | download | duplicates (4)
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)