跳到主要内容

ResizeReduction

ResizeReduction

函数功能

保护成员函数,用于对输入的图片信息进行缩放。该方法为内部调用方法,请用户不要使用。

函数原型

void ResizeReduction(const ResizedImageInfo &resizedImageInfo, TextObjectInfo &textObjInfo);

参数说明

参数名输入/输出说明
textObjectInfo输出输出文本目标框的坐标等信息。
resizedImageInfo输入图片信息。

父主题: TextObjectPostProcessBase

FixCoords

函数功能

保护成员函数,用于对坐标数据进行修复。该方法为内部调用方法,请用户不要使用。

函数原型

void FixCoords(uint32_t scrData, float &desData);

参数说明

参数名输入/输出说明
scrData输入原始坐标数据。
desData输出被修复的坐标数据。

父主题: TextObjectPostProcessBase

KeypointPostProcessBase

函数功能

类构造函数。

函数原型

KeypointPostProcessBase() = default;
KeypointPostProcessBase(const KeypointPostProcessBase &other) = default;

参数说明

参数输入/输出说明
other输入/输出KeypointPostProcessBase对象。

父主题: KeypointPostProcessBase

~KeypointPostProcessBase

函数功能

KeypointPostProcessBase类的默认析构函数。

函数原型

virtual ~KeypointPostProcessBase() = default;

父主题: KeypointPostProcessBase

operator=

函数功能

等号运算符重载,用于KeypointPostProcessBase对象间的赋值。

函数原型

KeypointPostProcessBase& operator = (const KeypointPostProcessBase &other);

参数说明

参数输入/输出说明
other输入/输出KeypointPostProcessBase对象。

父主题: KeypointPostProcessBase

Init

函数功能

用于完成模型后处理初始化。

函数原型

SDK_DEPRECATED_FOR() APP_ERROR Init(const std::map<std::string, std::shared_ptr<void>> &postConfig) override; //已废弃
APP_ERROR Init(const std::map<std::string, std::string> &postConfig) override;

参数说明

参数名输入/输出说明
postConfig输入配置参数。

返回参数说明

数据结构说明
APP_ERROR程序执行返回的错误码,请参考APP_ERROR说明

父主题: KeypointPostProcessBase

在线提单