ReUseX  0.0.1
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
ReUseX::vision::common::object::DetectionBox Struct Reference

Universal detection result container that holds a bounding box plus optional enriched data (pose, OBB, segmentation, depth, tracking). More...

#include <object.hpp>

Collaboration diagram for ReUseX::vision::common::object::DetectionBox:

Public Attributes

ObjectType type = ObjectType::UNKNOW
 Type of this detection.
Box box
 Axis-aligned bounding box.
float score = 0.0f
 Confidence score in [0, 1].
int class_id = -1
 Class index.
std::string class_name
 Human-readable class label.
std::optional< Posepose
 Populated for POSE detections.
std::optional< Obbobb
 Populated for OBB detections.
std::optional< Segmentationsegmentation
 Populated for SEGMENTATION detections.
std::optional< Depthdepth
 Populated for DEPTH_* detections.
std::optional< Tracktrack
 Populated for TRACK detections.

Friends

std::ostream & operator<< (std::ostream &os, const DetectionBox &box)

Detailed Description

Universal detection result container that holds a bounding box plus optional enriched data (pose, OBB, segmentation, depth, tracking).

Definition at line 188 of file object.hpp.

◆ operator<<

std::ostream & operator<< ( std::ostream & os,
const DetectionBox & box )
friend

References box.

Member Data Documentation

◆ box

Box ReUseX::vision::common::object::DetectionBox::box

Axis-aligned bounding box.

Definition at line 190 of file object.hpp.

Referenced by operator<<.

◆ class_id

int ReUseX::vision::common::object::DetectionBox::class_id = -1

Class index.

Definition at line 192 of file object.hpp.

◆ class_name

std::string ReUseX::vision::common::object::DetectionBox::class_name

Human-readable class label.

Definition at line 193 of file object.hpp.

◆ depth

std::optional<Depth> ReUseX::vision::common::object::DetectionBox::depth

Populated for DEPTH_* detections.

Definition at line 198 of file object.hpp.

◆ obb

std::optional<Obb> ReUseX::vision::common::object::DetectionBox::obb

Populated for OBB detections.

Definition at line 196 of file object.hpp.

◆ pose

std::optional<Pose> ReUseX::vision::common::object::DetectionBox::pose

Populated for POSE detections.

Definition at line 195 of file object.hpp.

◆ score

float ReUseX::vision::common::object::DetectionBox::score = 0.0f

Confidence score in [0, 1].

Definition at line 191 of file object.hpp.

◆ segmentation

std::optional<Segmentation> ReUseX::vision::common::object::DetectionBox::segmentation

Populated for SEGMENTATION detections.

Definition at line 197 of file object.hpp.

◆ track

std::optional<Track> ReUseX::vision::common::object::DetectionBox::track

Populated for TRACK detections.

Definition at line 199 of file object.hpp.

◆ type

ObjectType ReUseX::vision::common::object::DetectionBox::type = ObjectType::UNKNOW

Type of this detection.

Definition at line 189 of file object.hpp.


The documentation for this struct was generated from the following file:
  • libs/reusex/include/ReUseX/vision/common/object.hpp