![]() |
RMVL
1.0.0
RoboMaster Vision Library
|
ONNX-Runtime (Ort) 部署库 [2] 更多...
#include <rmvl/ml/ort.h>
Public 成员函数 | |
| OnnxRT (const std::string &model_path) | |
| Construct the OnnxRT object 更多... | |
| ~OnnxRT ()=default | |
| void | printModelInfo () |
| std::vector< size_t > | inference (const std::vector< cv::Mat > &images) |
| 预处理,推理和后处理 更多... | |
ONNX-Runtime (Ort) 部署库 [2]
| rm::OnnxRT::OnnxRT | ( | const std::string & | model_path | ) |
Construct the OnnxRT object
| [in] | model_path | 模型路径,如果该路径不存在,则程序将因错误而退出 |
|
default |
| std::vector<size_t> rm::OnnxRT::inference | ( | const std::vector< cv::Mat > & | images | ) |
预处理,推理和后处理
| [in] | images | 所有的输入图像 |
| void rm::OnnxRT::printModelInfo | ( | ) |
1.9.1