OpenCV  4.7.0-dev
Open Source Computer Vision
Public Member Functions | Protected Attributes | List of all members
cv::gapi::onnx::Params< cv::gapi::Generic > Class Template Reference

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

Public Member Functions

 Params (const std::string &tag, const std::string &model_path)
 Class constructor. More...
 
GBackend backend () const
 
cv::util::any params () const
 
std::string tag () const
 

Protected Attributes

detail::ParamDesc desc
 
std::string m_tag
 

Constructor & Destructor Documentation

◆ Params()

cv::gapi::onnx::Params< cv::gapi::Generic >::Params ( const std::string &  tag,
const std::string &  model_path 
)
inline

Class constructor.

Constructs Params based on input information and sets default values for other inference description parameters.

Parameters
tagstring tag of the network for which these parameters are intended.
model_pathpath to model file (.onnx file).

Member Function Documentation

◆ backend()

GBackend cv::gapi::onnx::Params< cv::gapi::Generic >::backend ( ) const
inline

◆ params()

◆ tag()

std::string cv::gapi::onnx::Params< cv::gapi::Generic >::tag ( ) const
inline

Member Data Documentation

◆ desc

◆ m_tag

std::string cv::gapi::onnx::Params< cv::gapi::Generic >::m_tag
protected

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