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

整车状态识别模块 更多...

#include <rmvl/detector/gyro_detector.h>

rm::GyroDetector 的协作图:

Public 类型

using ptr = std::unique_ptr<GyroDetector>

Public 成员函数

GyroDetectorInfo detect (std::vector< group::ptr > &groups, const cv::Mat &src, uint8_t color, const ImuData &imu_data, double tick)
 装甲板识别核心函数

静态 Public 成员函数

static ptr make_detector (int armor_num=0)
 构建 GyroDetector
static ptr make_detector (std::string_view model, int armor_num=0)
 构建 GyroDetector

详细描述

整车状态识别模块

成员类型定义说明

◆ ptr

using rm::GyroDetector::ptr = std::unique_ptr<GyroDetector>

成员函数说明

◆ detect()

GyroDetectorInfo rm::GyroDetector::detect ( std::vector< group::ptr > & groups,
const cv::Mat & src,
uint8_t color,
const ImuData & imu_data,
double tick )
Python:
rm.GyroDetector.detect(groups, src, color, imu, tick) -> info

装甲板识别核心函数

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

◆ make_detector() [1/2]

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>

构建 GyroDetector

参数
[in]armor_num装甲板数目(默认为0,表示自动判断)
返回
指向 GyroDetector 的唯一指针

◆ make_detector() [2/2]

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>

构建 GyroDetector

参数
[in]modelONNX-Runtime 数字识别模型
[in]armor_num装甲板数目(默认为0,表示自动判断)
返回
指向 GyroDetector 的唯一指针