OpenCV  4.8.0
Open Source Computer Vision
Namespaces | Classes | Typedefs | Enumerations | Functions
cv::gapi::onnx Namespace Reference

This namespace contains G-API ONNX Runtime backend functions, structures, and symbols. More...

Namespaces

 detail
 

Classes

class  Params
 
class  Params< cv::gapi::Generic >
 
struct  PortCfg
 
class  PyParams
 

Typedefs

using PostProc = std::function< void(const std::unordered_map< std::string, cv::Mat > &, std::unordered_map< std::string, cv::Mat > &)>
 

Enumerations

enum  TraitAs : int {
  TraitAs::TENSOR,
  TraitAs::IMAGE
}
 

Functions

cv::gapi::GBackend backend ()
 
PyParams params (const std::string &tag, const std::string &model_path)
 

Detailed Description

This namespace contains G-API ONNX Runtime backend functions, structures, and symbols.

Typedef Documentation

◆ PostProc

using cv::gapi::onnx::PostProc = typedef std::function<void(const std::unordered_map<std::string, cv::Mat> &, std::unordered_map<std::string, cv::Mat> &)>

Enumeration Type Documentation

◆ TraitAs

enum cv::gapi::onnx::TraitAs : int
strong
Enumerator
TENSOR 

G-API traits an associated cv::Mat as a raw tensor.

IMAGE 

G-API traits an associated cv::Mat as an image so.

Function Documentation

◆ backend()

cv::gapi::GBackend cv::gapi::onnx::backend ( )

◆ params()

PyParams cv::gapi::onnx::params ( const std::string &  tag,
const std::string &  model_path 
)
Python:
cv.gapi.onnx.params(tag, model_path) -> retval