ReUseX  0.0.1
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
createObject.hpp
Go to the documentation of this file.
1#pragma once
3#include <string>
4#include <vector>
5
6namespace cv {
7class Mat;
8}
9
11
21DetectionBox createBox(float left, float top, float right, float bottom,
22 float score, int class_id,
23 const std::string &class_name);
24
34DetectionBox createPositionBox(float left, float top, float right, float bottom,
35 float score, int class_id,
36 const std::string &class_name);
37
47DetectionBox createTrackBox(float left, float top, float right, float bottom,
48 float score, int track_id,
49 const std::string &class_name);
50
52DetectionBox createTrackBox(float left, float top, float right, float bottom,
53 float score, int track_id,
54 const std::string &class_name,
55 const object::Pose &pose);
56
58DetectionBox createTrackBox(float left, float top, float right, float bottom,
59 float score, int track_id,
60 const std::string &class_name,
61 const object::Obb &obb);
62
64DetectionBox createTrackBox(float left, float top, float right, float bottom,
65 float score, int track_id,
66 const std::string &class_name,
67 const object::Segmentation &seg);
68
81DetectionBox createObbBox(float cx, float cy, float w, float h, float angle,
82 float score, int class_id,
83 const std::string &class_name);
84
95DetectionBox createPoseBox(float left, float top, float right, float bottom,
96 const std::vector<PosePoint> &pose_points,
97 float score, int class_id,
98 const std::string &class_name);
99
110DetectionBox createSegmentationBox(float left, float top, float right,
111 float bottom, const cv::Mat &mask,
112 float score, int class_id,
113 const std::string &class_name);
114
119DetectionBox createDepthProBox(const cv::Mat &depth, float fog_data);
120
125
126} // namespace ReUseX::vision::common::object
DetectionBox createBox(float left, float top, float right, float bottom, float score, int class_id, const std::string &class_name)
Create a standard detection box.
DetectionBox createPositionBox(float left, float top, float right, float bottom, float score, int class_id, const std::string &class_name)
Create a position/region-of-interest box (type POSITION).
DetectionBox createPoseBox(float left, float top, float right, float bottom, const std::vector< PosePoint > &pose_points, float score, int class_id, const std::string &class_name)
Create a pose-estimation detection box.
DetectionBox createSegmentationBox(float left, float top, float right, float bottom, const cv::Mat &mask, float score, int class_id, const std::string &class_name)
Create a segmentation detection box with an associated mask.
DetectionBox createDepthAnythingBox(const cv::Mat &depth)
Create a depth detection from DepthAnything output.
DetectionBox createObbBox(float cx, float cy, float w, float h, float angle, float score, int class_id, const std::string &class_name)
Create an oriented bounding box detection.
DetectionBox createTrackBox(float left, float top, float right, float bottom, float score, int track_id, const std::string &class_name)
Create a simple tracking box without additional payload.
DetectionBox createDepthProBox(const cv::Mat &depth, float fog_data)
Create a depth detection from DepthPro output.
Universal detection result container that holds a bounding box plus optional enriched data (pose,...
Definition object.hpp:188
Oriented bounding box (OBB) parameterized by center, size, and rotation angle.
Definition object.hpp:86
A set of keypoints representing a human or object pose.
Definition object.hpp:77
Instance segmentation result backed by an OpenCV mask.
Definition object.hpp:134