整车状态识别模块
更多...
#include <rmvl/detector/gyro_detector.h>
◆ GyroDetector() [1/2]
| rm::GyroDetector::GyroDetector |
( |
int | armor_num | ) |
|
|
inline |
◆ ~GyroDetector()
| rm::GyroDetector::~GyroDetector |
( |
| ) |
|
|
default |
◆ GyroDetector() [2/2]
| rm::GyroDetector::GyroDetector |
( |
const std::string & | model, |
|
|
int | armor_num ) |
|
inlineexplicit |
◆ detect()
装甲板识别核心函数
- 参数
-
| [in,out] | groups | 序列组容器 |
| [in] | src | 原图像 |
| [in] | color | 待识别的颜色 |
| [in] | gyro_data | 陀螺仪数据 |
| [in] | tick | 当前时间点 |
- 返回
- 识别信息结构体
实现了 rm::detector.
◆ make_detector() [1/2]
| static std::unique_ptr< GyroDetector > rm::GyroDetector::make_detector |
( |
const std::string & | model, |
|
|
int | armor_num = 0 ) |
|
inlinestatic |
构建 GyroDetector
- 参数
-
| [in] | model | ONNX-Runtime 数字识别模型 |
| [in] | armor_num | 装甲板数目(默认为0,表示自动判断) |
◆ make_detector() [2/2]
| static std::unique_ptr< GyroDetector > rm::GyroDetector::make_detector |
( |
int | armor_num = 0 | ) |
|
|
inlinestatic |
该类的文档由以下文件生成: