OpenCV  4.10.0
开源计算机视觉
正在加载...
正在搜索...
无匹配项
公共成员函数 | 所有成员列表
cv::gapi::onnx::PyParams 类参考

#include <opencv2/gapi/infer/bindings_onnx.hpp>

cv::gapi::onnx::PyParams 的协作图

公共成员函数

GAPI_WRAP PyParams ()=default
 
GAPI_WRAP PyParams (const std::string &tag, const std::string &model_path)
 
GBackend backend () const
 
GAPI_WRAP PyParamscfgAddExecutionProvider (ep::CoreML ep)
 
GAPI_WRAP PyParamscfgAddExecutionProvider (ep::CUDA ep)
 
GAPI_WRAP PyParamscfgAddExecutionProvider (ep::DirectML ep)
 
GAPI_WRAP PyParamscfgAddExecutionProvider (ep::OpenVINO ep)
 
GAPI_WRAP PyParamscfgAddExecutionProvider (ep::TensorRT ep)
 
GAPI_WRAP PyParamscfgDisableMemPattern ()
 
GAPI_WRAP PyParamscfgMeanStd (const std::string &layer_name, const cv::Scalar &m, const cv::Scalar &s)
 
GAPI_WRAP PyParamscfgNormalize (const std::string &layer_name, bool flag)
 
cv::util::any params () const
 
std::string tag () const
 

构造函数和析构函数文档

◆ PyParams() [1/2]

GAPI_WRAP cv::gapi::onnx::PyParams::PyParams ( )
默认
Python
cv.gapi.onnx.PyParams() -> <gapi_onnx_PyParams 对象>
cv.gapi.onnx.PyParams(tag, model_path) -> <gapi_onnx_PyParams 对象>

◆ PyParams() [2/2]

GAPI_WRAP cv::gapi::onnx::PyParams::PyParams ( const std::string &  tag,
const std::string &  model_path 
)
Python
cv.gapi.onnx.PyParams() -> <gapi_onnx_PyParams 对象>
cv.gapi.onnx.PyParams(tag, model_path) -> <gapi_onnx_PyParams 对象>

成员函数文档

◆ backend()

GBackend cv::gapi::onnx::PyParams::backend ( ) const

◆ cfgAddExecutionProvider() [1/5]

GAPI_WRAP PyParams & cv::gapi::onnx::PyParams::cfgAddExecutionProvider ( ep::CoreML  ep)
Python
cv.gapi.onnx.PyParams.cfgAddExecutionProvider(ep) -> retval

◆ cfgAddExecutionProvider() [2/5]

GAPI_WRAP PyParams & cv::gapi::onnx::PyParams::cfgAddExecutionProvider ( ep::CUDA  ep)
Python
cv.gapi.onnx.PyParams.cfgAddExecutionProvider(ep) -> retval

◆ cfgAddExecutionProvider() [3/5]

GAPI_WRAP PyParams & cv::gapi::onnx::PyParams::cfgAddExecutionProvider ( ep::DirectML  ep)
Python
cv.gapi.onnx.PyParams.cfgAddExecutionProvider(ep) -> retval

◆ cfgAddExecutionProvider() [4/5]

GAPI_WRAP PyParams & cv::gapi::onnx::PyParams::cfgAddExecutionProvider ( ep::OpenVINO  ep)
Python
cv.gapi.onnx.PyParams.cfgAddExecutionProvider(ep) -> retval

◆ cfgAddExecutionProvider() [5/5]

GAPI_WRAP PyParams & cv::gapi::onnx::PyParams::cfgAddExecutionProvider ( ep::TensorRT  ep)
Python
cv.gapi.onnx.PyParams.cfgAddExecutionProvider(ep) -> retval

◆ cfgDisableMemPattern()

GAPI_WRAP PyParams & cv::gapi::onnx::PyParams::cfgDisableMemPattern ( )
Python
cv.gapi.onnx.PyParams.cfgDisableMemPattern() -> retval

◆ cfgMeanStd()

GAPI_WRAP PyParams & cv::gapi::onnx::PyParams::cfgMeanStd ( const std::string &  layer_name,
const cv::Scalar m,
const cv::Scalar s 
)
Python
cv.gapi.onnx.PyParams.cfgMeanStd(layer_name, m, s) -> retval

◆ cfgNormalize()

GAPI_WRAP PyParams & cv::gapi::onnx::PyParams::cfgNormalize ( const std::string &  layer_name,
bool  flag 
)
Python
cv.gapi.onnx.PyParams.cfgNormalize(layer_name, flag) -> retval

◆ params()

cv::util::any cv::gapi::onnx::PyParams::params ( ) const

◆ tag()

std::string cv::gapi::onnx::PyParams::tag ( ) const

此类的文档是从以下文件生成的