OpenCV 5.0.0-pre
Open Source Computer Vision
Loading...
Searching...
No Matches
cv::gapi::onnx Namespace Reference

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

Namespaces

namespace  detail
 
namespace  ep
 This namespace contains Execution Providers structures for G-API ONNX Runtime backend.
 

Classes

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

Typedefs

using PostProc
 

Enumerations

enum class  TraitAs : int {
  TENSOR ,
  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

Initial value:
std::function<void(const std::unordered_map<std::string, cv::Mat> &,
std::unordered_map<std::string, cv::Mat> &)>

Enumeration Type Documentation

◆ TraitAs

enum class 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