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

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

Public Member Functions

GAPI_WRAP PyParams ()=default
 
GAPI_WRAP PyParams (const std::string &tag, const std::string &model, const std::string &weights, const std::string &device)
 
GAPI_WRAP PyParams (const std::string &tag, const std::string &model, 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
 

Constructor & Destructor Documentation

◆ PyParams() [1/3]

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

◆ 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 
)

◆ PyParams() [3/3]

GAPI_WRAP cv::gapi::ie::PyParams::PyParams ( const std::string &  tag,
const std::string &  model,
const std::string &  device 
)

Member Function Documentation

◆ 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

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