Skip to main content

~PostProcessBase

ImagePreProcessInfo

函数功能

类构造函数。

函数原型

ImagePreProcessInfo();
ImagePreProcessInfo(uint32_t width, uint32_t height);
ImagePreProcessInfo(uint32_t widthResize, uint32_t heightResize, uint32_t widthOriginal, uint32_t heightOriginal);

参数说明

参数名输入/输出说明
width输入图像宽。
height输入图像高。
widthResize输入缩放宽。
heightResize输入缩放高。
widthOriginal输入原图宽。
heightOriginal输入原图高。

父主题: ImagePreProcessInfo

PostProcessBase

函数功能

类构造函数。

函数原型

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

参数说明

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

父主题: PostProcessBase

~PostProcessBase

函数功能

PostProcessBase类的默认析构函数。

函数原型

virtual ~PostProcessBase() = default;

父主题: PostProcessBase

operator=

函数功能

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

函数原型

PostProcessBase& operator = (const PostProcessBase& other);

参数说明

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

父主题: PostProcessBase

Init

函数功能

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

函数原型

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

参数说明

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

返回参数说明

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

父主题: PostProcessBase

在线提单