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

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

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

公共成员函数

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
 

构造函数和析构函数文档

◆ PyParams() [1/3]

GAPI_WRAP cv::gapi::ov::PyParams::PyParams ( )
默认
Python
cv.gapi.ov.PyParams() -> <gapi_ov_PyParams 对象>
cv.gapi.ov.PyParams(tag, model_path, bin_path, device) -> <gapi_ov_PyParams 对象>
cv.gapi.ov.PyParams(tag, blob_path, device) -> <gapi_ov_PyParams 对象>

◆ 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 
)
Python
cv.gapi.ov.PyParams() -> <gapi_ov_PyParams 对象>
cv.gapi.ov.PyParams(tag, model_path, bin_path, device) -> <gapi_ov_PyParams 对象>
cv.gapi.ov.PyParams(tag, blob_path, device) -> <gapi_ov_PyParams 对象>

◆ PyParams() [3/3]

GAPI_WRAP cv::gapi::ov::PyParams::PyParams ( const std::string &  tag,
const std::string &  blob_path,
const std::string &  device 
)
Python
cv.gapi.ov.PyParams() -> <gapi_ov_PyParams 对象>
cv.gapi.ov.PyParams(tag, model_path, bin_path, device) -> <gapi_ov_PyParams 对象>
cv.gapi.ov.PyParams(tag, blob_path, device) -> <gapi_ov_PyParams 对象>

成员函数文档

◆ 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)
Python
cv.gapi.ov.PyParams.cfgInputModelLayout(tensor_layout) -> retval
cv.gapi.ov.PyParams.cfgInputModelLayout(layout_map) -> retval

◆ cfgInputModelLayout() [2/2]

GAPI_WRAP PyParams & cv::gapi::ov::PyParams::cfgInputModelLayout ( std::string  tensor_layout)
Python
cv.gapi.ov.PyParams.cfgInputModelLayout(tensor_layout) -> retval
cv.gapi.ov.PyParams.cfgInputModelLayout(layout_map) -> retval

◆ cfgInputTensorLayout() [1/2]

GAPI_WRAP PyParams & cv::gapi::ov::PyParams::cfgInputTensorLayout ( std::map< std::string, std::string >  layout_map)
Python
cv.gapi.ov.PyParams.cfgInputTensorLayout(tensor_layout) -> retval
cv.gapi.ov.PyParams.cfgInputTensorLayout(layout_map) -> retval

◆ cfgInputTensorLayout() [2/2]

GAPI_WRAP PyParams & cv::gapi::ov::PyParams::cfgInputTensorLayout ( std::string  tensor_layout)
Python
cv.gapi.ov.PyParams.cfgInputTensorLayout(tensor_layout) -> retval
cv.gapi.ov.PyParams.cfgInputTensorLayout(layout_map) -> retval

◆ cfgMean() [1/2]

GAPI_WRAP PyParams & cv::gapi::ov::PyParams::cfgMean ( std::map< std::string, std::vector< float > >  mean_map)
Python
cv.gapi.ov.PyParams.cfgMean(mean_values) -> retval
cv.gapi.ov.PyParams.cfgMean(mean_map) -> retval

◆ cfgMean() [2/2]

GAPI_WRAP PyParams & cv::gapi::ov::PyParams::cfgMean ( std::vector< float >  mean_values)
Python
cv.gapi.ov.PyParams.cfgMean(mean_values) -> retval
cv.gapi.ov.PyParams.cfgMean(mean_map) -> retval

◆ cfgNumRequests()

GAPI_WRAP PyParams & cv::gapi::ov::PyParams::cfgNumRequests ( const size_t  nireq)
Python
cv.gapi.ov.PyParams.cfgNumRequests(nireq) -> retval

◆ cfgOutputModelLayout() [1/2]

GAPI_WRAP PyParams & cv::gapi::ov::PyParams::cfgOutputModelLayout ( std::map< std::string, std::string >  layout_map)
Python
cv.gapi.ov.PyParams.cfgOutputModelLayout(tensor_layout) -> retval
cv.gapi.ov.PyParams.cfgOutputModelLayout(layout_map) -> retval

◆ cfgOutputModelLayout() [2/2]

GAPI_WRAP PyParams & cv::gapi::ov::PyParams::cfgOutputModelLayout ( std::string  tensor_layout)
Python
cv.gapi.ov.PyParams.cfgOutputModelLayout(tensor_layout) -> retval
cv.gapi.ov.PyParams.cfgOutputModelLayout(layout_map) -> retval

◆ cfgOutputTensorLayout() [1/2]

GAPI_WRAP PyParams & cv::gapi::ov::PyParams::cfgOutputTensorLayout ( std::map< std::string, std::string >  layout_map)
Python
cv.gapi.ov.PyParams.cfgOutputTensorLayout(tensor_layout) -> retval
cv.gapi.ov.PyParams.cfgOutputTensorLayout(layout_map) -> retval

◆ cfgOutputTensorLayout() [2/2]

GAPI_WRAP PyParams & cv::gapi::ov::PyParams::cfgOutputTensorLayout ( std::string  tensor_layout)
Python
cv.gapi.ov.PyParams.cfgOutputTensorLayout(tensor_layout) -> retval
cv.gapi.ov.PyParams.cfgOutputTensorLayout(layout_map) -> retval

◆ cfgOutputTensorPrecision() [1/2]

GAPI_WRAP PyParams & cv::gapi::ov::PyParams::cfgOutputTensorPrecision ( int  precision)
Python
cv.gapi.ov.PyParams.cfgOutputTensorPrecision(precision) -> retval
cv.gapi.ov.PyParams.cfgOutputTensorPrecision(precision_map) -> retval

◆ cfgOutputTensorPrecision() [2/2]

GAPI_WRAP PyParams & cv::gapi::ov::PyParams::cfgOutputTensorPrecision ( std::map< std::string, int >  precision_map)
Python
cv.gapi.ov.PyParams.cfgOutputTensorPrecision(precision) -> retval
cv.gapi.ov.PyParams.cfgOutputTensorPrecision(precision_map) -> retval

◆ cfgPluginConfig()

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

◆ cfgReshape() [1/2]

GAPI_WRAP PyParams & cv::gapi::ov::PyParams::cfgReshape ( std::map< std::string, std::vector< size_t > >  new_shape_map)
Python
cv.gapi.ov.PyParams.cfgReshape(new_shape) -> retval
cv.gapi.ov.PyParams.cfgReshape(new_shape_map) -> retval

◆ cfgReshape() [2/2]

GAPI_WRAP PyParams & cv::gapi::ov::PyParams::cfgReshape ( std::vector< size_t >  new_shape)
Python
cv.gapi.ov.PyParams.cfgReshape(new_shape) -> retval
cv.gapi.ov.PyParams.cfgReshape(new_shape_map) -> retval

◆ cfgResize() [1/2]

GAPI_WRAP PyParams & cv::gapi::ov::PyParams::cfgResize ( int  interpolation)
Python
cv.gapi.ov.PyParams.cfgResize(interpolation) -> retval

◆ cfgResize() [2/2]

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

◆ cfgScale() [1/2]

GAPI_WRAP PyParams & cv::gapi::ov::PyParams::cfgScale ( std::map< std::string, std::vector< float > >  scale_map)
Python
cv.gapi.ov.PyParams.cfgScale(scale_values) -> retval
cv.gapi.ov.PyParams.cfgScale(scale_map) -> retval

◆ cfgScale() [2/2]

GAPI_WRAP PyParams & cv::gapi::ov::PyParams::cfgScale ( std::vector< float >  scale_values)
Python
cv.gapi.ov.PyParams.cfgScale(scale_values) -> retval
cv.gapi.ov.PyParams.cfgScale(scale_map) -> retval

◆ params()

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

◆ tag()

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

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