Simple samples for custom backend implementation for streaming-mode

I want to compile and run a graph using the gapi module, with new backend on hardware accelerators . Can someone please share a working example?

The backend implementation doesn’t differ much between streaming and the regular mode.
You may want take a look on the existing backends in G-API: opencv/modules/gapi/src/backends at master · opencv/opencv · GitHub

In particular, the “CPU” backend is quite simple to get into the idea of what a backend should implement: opencv/gcpubackend.cpp at master · opencv/opencv · GitHub

1 Like