I have a piece of code written in C++ which is cross-platform and uses OpenCV.
My C++ code does some processing on an image input.
I want to use iOS's AVFoundation to decode a video and send the data to C++ for processing.
I can find many tutorials that allow me to run C++ code in my App, but what I need is to call an Objective-C function from C++ that will request the next frame of the video.
Please Help.
Oh and I know that OpenCV has a VideoReader class - but I need to have my own implementation.