整车状态识别模块
更多...
#include <rmvl/detector/gyro_detector.h>
◆ ptr
◆ detect()
DetectInfo rm::GyroDetector::detect |
( |
std::vector< group::ptr > & | groups, |
|
|
const cv::Mat & | src, |
|
|
uint8_t | color, |
|
|
const ImuData & | imu_data, |
|
|
double | tick ) |
|
overridevirtual |
Python: |
---|
| rm.GyroDetector.detect( | groups, src, color, imu, tick | ) -> | info |
装甲板识别核心函数
- 参数
-
[in,out] | groups | 序列组容器 |
[in] | src | 原图像 |
[in] | color | 待识别的颜色 |
[in] | imu_data | IMU 数据 |
[in] | tick | 当前时间点 |
- 返回
- 识别信息结构体
实现了 rm::detector.
◆ make_detector() [1/2]
static ptr rm::GyroDetector::make_detector |
( |
int | armor_num = 0 | ) |
|
|
inlinestatic |
Python: |
---|
| rm.GyroDetector.make_detector( | [num] | ) -> | <rm.GyroDetector object> |
| rm.GyroDetector.make_detector( | model[, num] | ) -> | <rm.GyroDetector object> |
◆ make_detector() [2/2]
static ptr rm::GyroDetector::make_detector |
( |
std::string_view | model, |
|
|
int | armor_num = 0 ) |
|
inlinestatic |
Python: |
---|
| rm.GyroDetector.make_detector( | [num] | ) -> | <rm.GyroDetector object> |
| rm.GyroDetector.make_detector( | model[, num] | ) -> | <rm.GyroDetector object> |
该类的文档由以下文件生成: