RMVL  2.1.0-dev
Robotic Manipulation and Vision Library
载入中...
搜索中...
未找到

装甲板识别模块 更多...

#include <rmvl/detector/armor_detector.h>

类 rm::ArmorDetector 继承关系图:
rm::ArmorDetector 的协作图:

Public 成员函数

 ArmorDetector ()=default
 
 ~ArmorDetector ()=default
 
 ArmorDetector (const std::string &model)
 
DetectInfo detect (std::vector< group::ptr > &groups, cv::Mat &src, PixChannel color, const GyroData &gyro_data, double tick) override
 装甲板识别核心函数
 
- Public 成员函数 继承自 rm::detector
 detector ()=default
 
virtual ~detector ()=default
 

静态 Public 成员函数

static std::unique_ptr< ArmorDetectormake_detector ()
 构建 ArmorDetector
 
static std::unique_ptr< ArmorDetectormake_detector (const std::string &model)
 构建 ArmorDetector
 

额外继承的成员函数

- Public 类型 继承自 rm::detector
using ptr = std::unique_ptr<detector>
 
- Protected 属性 继承自 rm::detector
double _tick
 每一帧对应的时间点
 
GyroData _gyro_data
 每一帧对应的陀螺仪数据
 

详细描述

装甲板识别模块

构造及析构函数说明

◆ ArmorDetector() [1/2]

rm::ArmorDetector::ArmorDetector ( )
default

◆ ~ArmorDetector()

rm::ArmorDetector::~ArmorDetector ( )
default

◆ ArmorDetector() [2/2]

rm::ArmorDetector::ArmorDetector ( const std::string & model)
inlineexplicit

成员函数说明

◆ detect()

DetectInfo rm::ArmorDetector::detect ( std::vector< group::ptr > & groups,
cv::Mat & src,
PixChannel color,
const GyroData & gyro_data,
double tick )
overridevirtual

装甲板识别核心函数

参数
[in,out]groups序列组容器
[in]src原图像
[in]color待识别的颜色
[in]gyro_data陀螺仪数据
[in]tick当前时间点
返回
识别信息结构体

实现了 rm::detector.

◆ make_detector() [1/2]

◆ make_detector() [2/2]

static std::unique_ptr< ArmorDetector > rm::ArmorDetector::make_detector ( const std::string & model)
inlinestatic

构建 ArmorDetector

参数
[in]modelONNX_Runtime 数字识别模型

该类的文档由以下文件生成: