OpenCV  4.8.0
Open Source Computer Vision
Public Member Functions | List of all members
cv::gapi::onnx::PyParams Class Reference

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

Public Member Functions

GAPI_WRAP PyParams ()=default
 
GAPI_WRAP PyParams (const std::string &tag, const std::string &model_path)
 
GBackend backend () const
 
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
 

Constructor & Destructor Documentation

◆ PyParams() [1/2]

GAPI_WRAP cv::gapi::onnx::PyParams::PyParams ( )
default

◆ PyParams() [2/2]

GAPI_WRAP cv::gapi::onnx::PyParams::PyParams ( const std::string &  tag,
const std::string &  model_path 
)

Member Function Documentation

◆ backend()

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

◆ 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

The documentation for this class was generated from the following file: