|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
Axis-aligned bounding box in normalised image coordinates. More...
#include <Features.hpp>
Collaboration diagram for MayaFlux::Kinesis::Vision::BoundingBox:Public Member Functions | |
| Kinesis::AABB2D | to_ndc () const noexcept |
| Convert to NDC AABB2D for use with Portal::Forma::Element. | |
Public Attributes | |
| float | confidence { 1.0F } |
| float | h {} |
| uint32_t | label_id {} |
| float | w {} |
| float | x {} |
| float | y {} |
Axis-aligned bounding box in normalised image coordinates.
Origin is top-left, x and y in [0, 1], +Y down. Distinct from Kinesis::AABB2D which is NDC with center origin and +Y up.
Use to_ndc() to convert to AABB2D for Forma hit testing.
Definition at line 15 of file Features.hpp.