Loading...
Searching...
No Matches
cv::gapi::ov::PyParams Class Reference

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

Public Member Functions

GAPI_WRAP PyParams ()=default
 
GAPI_WRAP PyParams (const std::string &tag, const std::string &blob_path, const std::string &device)
 
GAPI_WRAP PyParams (const std::string &tag, const std::string &model_path, const std::string &bin_path, const std::string &device)
 
GBackend backend () const
 
GAPI_WRAP PyParamscfgInputModelLayout (std::map< std::string, std::string > layout_map)
 
GAPI_WRAP PyParamscfgInputModelLayout (std::string tensor_layout)
 
GAPI_WRAP PyParamscfgInputTensorLayout (std::map< std::string, std::string > layout_map)
 
GAPI_WRAP PyParamscfgInputTensorLayout (std::string tensor_layout)
 
GAPI_WRAP PyParamscfgMean (std::map< std::string, std::vector< float > > mean_map)
 
GAPI_WRAP PyParamscfgMean (std::vector< float > mean_values)
 
GAPI_WRAP PyParamscfgNumRequests (const size_t nireq)
 
GAPI_WRAP PyParamscfgOutputModelLayout (std::map< std::string, std::string > layout_map)
 
GAPI_WRAP PyParamscfgOutputModelLayout (std::string tensor_layout)
 
GAPI_WRAP PyParamscfgOutputTensorLayout (std::map< std::string, std::string > layout_map)
 
GAPI_WRAP PyParamscfgOutputTensorLayout (std::string tensor_layout)
 
GAPI_WRAP PyParamscfgOutputTensorPrecision (int precision)
 
GAPI_WRAP PyParamscfgOutputTensorPrecision (std::map< std::string, int > precision_map)
 
GAPI_WRAP PyParamscfgPluginConfig (const std::map< std::string, std::string > &config)
 
GAPI_WRAP PyParamscfgReshape (std::map< std::string, std::vector< size_t > > new_shape_map)
 
GAPI_WRAP PyParamscfgReshape (std::vector< size_t > new_shape)
 
GAPI_WRAP PyParamscfgResize (int interpolation)
 
GAPI_WRAP PyParamscfgResize (std::map< std::string, int > interpolation)
 
GAPI_WRAP PyParamscfgScale (std::map< std::string, std::vector< float > > scale_map)
 
GAPI_WRAP PyParamscfgScale (std::vector< float > scale_values)
 
cv::util::any params () const
 
std::string tag () const
 

Constructor & Destructor Documentation

◆ PyParams() [1/3]

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

◆ PyParams() [2/3]

GAPI_WRAP cv::gapi::ov::PyParams::PyParams ( const std::string &  tag,
const std::string &  model_path,
const std::string &  bin_path,
const std::string &  device 
)

◆ PyParams() [3/3]

GAPI_WRAP cv::gapi::ov::PyParams::PyParams ( const std::string &  tag,
const std::string &  blob_path,
const std::string &  device 
)

Member Function Documentation

◆ backend()

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

◆ cfgInputModelLayout() [1/2]

GAPI_WRAP PyParams & cv::gapi::ov::PyParams::cfgInputModelLayout ( std::map< std::string, std::string >  layout_map)

◆ cfgInputModelLayout() [2/2]

GAPI_WRAP PyParams & cv::gapi::ov::PyParams::cfgInputModelLayout ( std::string  tensor_layout)

◆ cfgInputTensorLayout() [1/2]

GAPI_WRAP PyParams & cv::gapi::ov::PyParams::cfgInputTensorLayout ( std::map< std::string, std::string >  layout_map)

◆ cfgInputTensorLayout() [2/2]

GAPI_WRAP PyParams & cv::gapi::ov::PyParams::cfgInputTensorLayout ( std::string  tensor_layout)

◆ cfgMean() [1/2]

GAPI_WRAP PyParams & cv::gapi::ov::PyParams::cfgMean ( std::map< std::string, std::vector< float > >  mean_map)

◆ cfgMean() [2/2]

GAPI_WRAP PyParams & cv::gapi::ov::PyParams::cfgMean ( std::vector< float >  mean_values)

◆ cfgNumRequests()

GAPI_WRAP PyParams & cv::gapi::ov::PyParams::cfgNumRequests ( const size_t  nireq)

◆ cfgOutputModelLayout() [1/2]

GAPI_WRAP PyParams & cv::gapi::ov::PyParams::cfgOutputModelLayout ( std::map< std::string, std::string >  layout_map)

◆ cfgOutputModelLayout() [2/2]

GAPI_WRAP PyParams & cv::gapi::ov::PyParams::cfgOutputModelLayout ( std::string  tensor_layout)

◆ cfgOutputTensorLayout() [1/2]

GAPI_WRAP PyParams & cv::gapi::ov::PyParams::cfgOutputTensorLayout ( std::map< std::string, std::string >  layout_map)

◆ cfgOutputTensorLayout() [2/2]

GAPI_WRAP PyParams & cv::gapi::ov::PyParams::cfgOutputTensorLayout ( std::string  tensor_layout)

◆ cfgOutputTensorPrecision() [1/2]

GAPI_WRAP PyParams & cv::gapi::ov::PyParams::cfgOutputTensorPrecision ( int  precision)

◆ cfgOutputTensorPrecision() [2/2]

GAPI_WRAP PyParams & cv::gapi::ov::PyParams::cfgOutputTensorPrecision ( std::map< std::string, int >  precision_map)

◆ cfgPluginConfig()

GAPI_WRAP PyParams & cv::gapi::ov::PyParams::cfgPluginConfig ( const std::map< std::string, std::string > &  config)

◆ cfgReshape() [1/2]

GAPI_WRAP PyParams & cv::gapi::ov::PyParams::cfgReshape ( std::map< std::string, std::vector< size_t > >  new_shape_map)

◆ cfgReshape() [2/2]

GAPI_WRAP PyParams & cv::gapi::ov::PyParams::cfgReshape ( std::vector< size_t >  new_shape)

◆ cfgResize() [1/2]

GAPI_WRAP PyParams & cv::gapi::ov::PyParams::cfgResize ( int  interpolation)

◆ cfgResize() [2/2]

GAPI_WRAP PyParams & cv::gapi::ov::PyParams::cfgResize ( std::map< std::string, int >  interpolation)

◆ cfgScale() [1/2]

GAPI_WRAP PyParams & cv::gapi::ov::PyParams::cfgScale ( std::map< std::string, std::vector< float > >  scale_map)

◆ cfgScale() [2/2]

GAPI_WRAP PyParams & cv::gapi::ov::PyParams::cfgScale ( std::vector< float >  scale_values)

◆ params()

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

◆ tag()

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

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