This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import math | |
import numpy as np | |
class BoundingBox: | |
""" | |
Represents a bounding box by center, size and orientation. Note that the input will be | |
directly read from the KITTI XML files; thus, the z-axis corresponds to height instead | |
of depth and the y-axis corresponds to depth instead of height. |