OpenCV  4.6.0-dev
Open Source Computer Vision
Classes | Typedefs | Functions
cv::gapi::python Namespace Reference

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

Classes

struct  GPythonContext
 
class  GPythonFunctor
 
class  GPythonKernel
 

Typedefs

using Impl = std::function< cv::GRunArgs(const GPythonContext &)>
 
using Setup = std::function< cv::GArg(const GMetaArgs &, const GArgs &)>
 

Functions

cv::gapi::GBackend backend ()
 

Detailed Description

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

This functionality is required to enable G-API custom operations and kernels when using G-API from Python, no need to use it in the C++ form.

Typedef Documentation

◆ Impl

using cv::gapi::python::Impl = typedef std::function<cv::GRunArgs(const GPythonContext&)>

◆ Setup

using cv::gapi::python::Setup = typedef std::function<cv::GArg(const GMetaArgs&, const GArgs&)>

Function Documentation

◆ backend()

cv::gapi::GBackend cv::gapi::python::backend ( )