Ask Your Question

Revision history [back]

How to give priority to cv::myModule functions ?

Hi,

I am working on a very specific hardware I would like to use to accelerate OpenCV. Some OpenCV functions have already been re-implemented, but I am a bit lost on the way I should integrate them into a custom module. For instance, I have written a function cv::myModule::resize() for the hardware I'm working on. How can I make sure that when a user calls cv::resize() it's my version of resize which will be called? I have looked at the gpu submodule (it's more or less the same thing I'm trying to do), but I couldn't find where the magic is done.

Thank you!