|
ReUseX
0.0.1
3D Point Cloud Processing for Building Reuse
|
#include <ReUseX/vision/common/object.hpp>#include <opencv2/opencv.hpp>#include <string>#include <tuple>#include <unordered_map>#include <vector>
Go to the source code of this file.
Namespaces | |
| namespace | ReUseX |
| namespace | ReUseX::vision |
| namespace | ReUseX::vision::osd |
Functions | |
| void | ReUseX::vision::osd::drawBaseInfoGeometry (cv::Mat &img, const common::object::DetectionBox &box, const cv::Scalar &color, int thickness) |
| Draw the base detection rectangle and label background for a single box. | |
| void | ReUseX::vision::osd::drawPositionRectGeometry (cv::Mat &img, const common::object::DetectionBox &box, const cv::Scalar &color, int thickness) |
| Draw a dashed or solid rectangle indicating a position ROI. | |
| void | ReUseX::vision::osd::drawPoseSkeleton (cv::Mat &img, const common::object::DetectionBox &box, int thickness) |
| Draw pose skeleton connections between keypoints. | |
| void | ReUseX::vision::osd::drawObbBox (cv::Mat &img, const common::object::DetectionBox &box, int thickness) |
| Draw an oriented bounding box as a rotated rectangle. | |
| void | ReUseX::vision::osd::drawSegmentationMask (cv::Mat &img, const common::object::DetectionBox &box) |
| Overlay a semi-transparent segmentation mask onto the image. | |
| void | ReUseX::vision::osd::drawTrackTrace (cv::Mat &img, const common::object::DetectionBox &box, int font_size) |
| Draw the tracking trajectory trace for a tracked object. | |
| void | ReUseX::vision::osd::drawTrackHistoryPose (cv::Mat &img, const common::object::DetectionBox &box, int thickness) |
| Draw historical pose keypoints from previous frames. | |
| void | ReUseX::vision::osd::drawDepth (cv::Mat &img, const common::object::DetectionBox &box) |
| Overlay a depth map as a colour-mapped image blended with the input. | |
| void | ReUseX::vision::osd::drawPolygon (cv::Mat &img, const std::vector< std::tuple< float, float > > &points, const cv::Scalar &color, int thickness) |
| Draw a polygon from a list of (x, y) vertices. | |
| void | ReUseX::vision::osd::make_labled_image (cv::Mat &img, const common::object::DetectionBoxArray &boxes) |
| Minimal OSD that paints each segmentation mask with its class_id color (no text labels). | |
| void | ReUseX::vision::osd::osd (cv::Mat &img, const common::object::DetectionBoxArray &boxes, bool osd_rect=true, double font_scale_ratio=0.04) |
| Full on-screen display: draws bounding boxes, masks, poses, OBBs, tracks, and text labels with automatic non-overlapping label placement. | |
| void | ReUseX::vision::osd::osd (cv::Mat &img, const std::unordered_map< std::string, std::vector< std::tuple< float, float > > > &points, const cv::Scalar &color=cv::Scalar(0, 255, 0), double font_scale_ratio=0.04) |
| Draw polygon overlays for a map of named regions. | |
| void | ReUseX::vision::osd::osd (cv::Mat &img, const std::string &fence_name, const std::vector< std::tuple< float, float > > &points, const cv::Scalar &color=cv::Scalar(0, 255, 0), double font_scale_ratio=0.04) |
| Draw a single named polygon overlay. | |
| void | ReUseX::vision::osd::osd (cv::Mat &img, const std::tuple< float, float > &position, const std::string &text, const cv::Scalar &color=cv::Scalar(0, 255, 0), int font_size=40) |
| Render a text string at an arbitrary (x, y) position. | |