RMVL  2.1.0-dev
Robotic Manipulation and Vision Library
载入中...
搜索中...
未找到
rm::para::ArmorDetectorParam类 参考

ArmorDetectorParam 参数模块 更多...

#include <rmvlpara/detector/armor_detector.h>

rm::para::ArmorDetectorParam 的协作图:

Public 成员函数

 ArmorDetectorParam ()=default
 
bool read (const std::string &path)
 从指定 YAML 文件中加载,并读取至 ArmorDetectorParam
 
bool write (const std::string &path) const
 ArmorDetectorParam 的数据写入指定的 YAML 文件中
 
bool load (const std::string &path)
 从指定 YAML 文件中加载 ArmorDetectorParam
 

Public 属性

int GRAY_THRESHOLD_RED = 80
 二值化R-B阈值
 
int GRAY_THRESHOLD_BLUE = 80
 二值化B-R阈值
 
double MIN_CONTOUR_AREA = 25
 最小轮廓面积
 
float MAX_TRACKER_DELTA_DIS = 255
 识别为相同装甲板序列时,装甲板中心在两帧之间允许的最大距离
 
float MODEL_MEAN = 0.449
 分类网络归一化后的颜色均值
 
float MODEL_STD = 0.226
 分类网络归一化后的颜色标准差
 

详细描述

ArmorDetectorParam 参数模块

构造及析构函数说明

◆ ArmorDetectorParam()

rm::para::ArmorDetectorParam::ArmorDetectorParam ( )
default

成员函数说明

◆ load()

bool rm::para::ArmorDetectorParam::load ( const std::string & path)
inline

从指定 YAML 文件中加载 ArmorDetectorParam

弃用
请使用 read 方法

◆ read()

bool rm::para::ArmorDetectorParam::read ( const std::string & path)

从指定 YAML 文件中加载,并读取至 ArmorDetectorParam

注解
YAML 文件的后缀允许是 *.yml*.yaml
参数
[in]path参数路径
返回
是否读取成功

◆ write()

bool rm::para::ArmorDetectorParam::write ( const std::string & path) const

ArmorDetectorParam 的数据写入指定的 YAML 文件中

注解
YAML 文件的后缀允许是 *.yml*.yaml
参数
[in]path参数路径
返回
是否写入成功

类成员变量说明

◆ GRAY_THRESHOLD_BLUE

int rm::para::ArmorDetectorParam::GRAY_THRESHOLD_BLUE = 80

二值化B-R阈值

注解
默认值:80

◆ GRAY_THRESHOLD_RED

int rm::para::ArmorDetectorParam::GRAY_THRESHOLD_RED = 80

二值化R-B阈值

注解
默认值:80

◆ MAX_TRACKER_DELTA_DIS

float rm::para::ArmorDetectorParam::MAX_TRACKER_DELTA_DIS = 255

识别为相同装甲板序列时,装甲板中心在两帧之间允许的最大距离

注解
默认值:255

◆ MIN_CONTOUR_AREA

double rm::para::ArmorDetectorParam::MIN_CONTOUR_AREA = 25

最小轮廓面积

注解
默认值:25

◆ MODEL_MEAN

float rm::para::ArmorDetectorParam::MODEL_MEAN = 0.449

分类网络归一化后的颜色均值

注解
默认值:0.449

◆ MODEL_STD

float rm::para::ArmorDetectorParam::MODEL_STD = 0.226

分类网络归一化后的颜色标准差

注解
默认值:0.226

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