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

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

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

公共成员函数

GAPI_WRAP PyParams ()=default
 
GAPI_WRAP PyParams (const std::string &tag, const std::string &model, const std::string &device)
 
GAPI_WRAP PyParams (const std::string &tag, const std::string &model, const std::string &weights, const std::string &device)
 
GBackend backend () const
 
GAPI_WRAP PyParamscfgBatchSize (const size_t size)
 
GAPI_WRAP PyParamscfgNumRequests (size_t nireq)
 
GAPI_WRAP PyParamsconstInput (const std::string &layer_name, const cv::Mat &data, TraitAs hint=TraitAs::TENSOR)
 
cv::util::any params () const
 
std::string tag () const
 

构造函数和析构函数文档

◆ PyParams() [1/3]

GAPI_WRAP cv::gapi::ie::PyParams::PyParams ( )
默认
Python
cv.gapi.ie.PyParams() -> <gapi_ie_PyParams 对象>
cv.gapi.ie.PyParams(tag, model, weights, device) -> <gapi_ie_PyParams 对象>
cv.gapi.ie.PyParams(tag, model, device) -> <gapi_ie_PyParams 对象>

◆ PyParams() [2/3]

GAPI_WRAP cv::gapi::ie::PyParams::PyParams ( const std::string &  tag,
const std::string &  model,
const std::string &  weights,
const std::string &  device 
)
Python
cv.gapi.ie.PyParams() -> <gapi_ie_PyParams 对象>
cv.gapi.ie.PyParams(tag, model, weights, device) -> <gapi_ie_PyParams 对象>
cv.gapi.ie.PyParams(tag, model, device) -> <gapi_ie_PyParams 对象>

◆ PyParams() [3/3]

GAPI_WRAP cv::gapi::ie::PyParams::PyParams ( const std::string &  tag,
const std::string &  model,
const std::string &  device 
)
Python
cv.gapi.ie.PyParams() -> <gapi_ie_PyParams 对象>
cv.gapi.ie.PyParams(tag, model, weights, device) -> <gapi_ie_PyParams 对象>
cv.gapi.ie.PyParams(tag, model, device) -> <gapi_ie_PyParams 对象>

成员函数文档

◆ backend()

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

◆ cfgBatchSize()

GAPI_WRAP PyParams & cv::gapi::ie::PyParams::cfgBatchSize ( const size_t  size)
Python
cv.gapi.ie.PyParams.cfgBatchSize(size) -> retval

◆ cfgNumRequests()

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

◆ constInput()

GAPI_WRAP PyParams & cv::gapi::ie::PyParams::constInput ( const std::string &  layer_name,
const cv::Mat data,
TraitAs  hint = TraitAs::TENSOR 
)
Python
cv.gapi.ie.PyParams.constInput(layer_name, data[, hint]) -> retval

◆ params()

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

◆ tag()

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

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