Hi everyone,
I’m learning the new G-Api module, but I’m having some difficulty using it in an OOP structure using classes and Qt.
I took a look at the OpenCV examples and they are not oop but they write all the code in one main.cpp file. In my case I have an object drawing in which I have * .h and * .cpp files. I get the frames from a video camera and process them in a class that I have called processor. I would like to know how to declare the g-api variables in the header file and process the arriving frames in the cpp file.
I would have a small example if possible.
Thanks in advance,
Greetings