OpenCV
4.0.0
Open Source Computer Vision
|
G-API backends available in this OpenCV version. More...
Functions | |
cv::gapi::GBackend | cv::gapi::fluid::backend () |
Get a reference to Fluid backend. More... | |
cv::gapi::GBackend | cv::gapi::gpu::backend () |
Get a reference to GPU backend. More... | |
cv::gapi::GBackend | cv::gapi::cpu::backend () |
Get a reference to CPU (OpenCV) backend. More... | |
G-API backends available in this OpenCV version.
G-API backends play a corner stone role in G-API execution stack. Every backend is hardware-oriented and thus can run its kernels efficiently on the target platform.
Backends are usually "back boxes" for G-API users – on the API side, all backends are represented as different objects of the same class cv::gapi::GBackend. User can manipulate with backends mainly by specifying which kernels to use or where to look up for kernels first.
cv::gapi::GBackend cv::gapi::fluid::backend | ( | ) |
Get a reference to Fluid backend.
cv::gapi::GBackend cv::gapi::gpu::backend | ( | ) |
Get a reference to GPU backend.
At the moment, the GPU backend is built atop of OpenCV "Transparent API" (T-API), see cv::UMat for details.
cv::gapi::GBackend cv::gapi::cpu::backend | ( | ) |
Get a reference to CPU (OpenCV) backend.
This is the default backend in G-API at the moment, providing broader functional coverage but losing some graph model advantages. Provided mostly for reference and prototyping purposes.