Trying to use G-Api in my class

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Trying to use G-Api in my class

Franco Amato
Hi to all,
I am learning the G-Api new module, but I have some difficulty in using it
in OOP structured classes.

All the OpenCV examples are not oop but all code in a single main.cpp file.
In my case I have a design where I have *.h and *.cpp files. I get frames
from a camera and I process it in a special processor class so i would know
how to declare the g-api variables in the header file and process the
incoming frames in the cpp file.

 I would have a little example if possible.

Thanks in advance,

Regards