Messages
Box2D class
paz.abstract.messages.Box2D(coordinates, score, class_name=None)
Bounding box 2D coordinates with class label and score.
Properties
- coordinates: List of float/integers indicating the
[x_min, y_min, x_max, y_max]
coordinates. - score: Float. Indicates the score of label associated to the box.
- class_name: String indicating the class label name of the object.
Methods
contains()
Box2D methods
contains
contains(point)
Checks if point is inside bounding box.
Arguments
- point: Numpy array of size 2.
Returns
Boolean. 'True' if 'point' is inside bounding box. 'False' otherwise.
Pose6D
paz.abstract.messages.Pose6D(quaternion, translation, class_name=None)
Pose estimation results with 6D coordinates.
Properties
- quaternion: List of 4 floats indicating (w, x, y, z) components.
- translation: List of 3 floats indicating (x, y, z) translation components.
- class_name: String or
None
indicating the class label name of the object.
Class Methods
- from_rotation_vector: Instantiates a
Pose6D
object using a rotation and a translation vector.