Ask Your Question

# Revision history [back]

I supposed that createOptFlow(optFlow, useCuda); is the same function as in the super_resolution.cpp example. Did you try just like this to be sure that there is no mismatch:

Ptr<SuperResolution> superRes = createSuperResolution_BTVL1();
Ptr<DenseOpticalFlowExt> of = cv::superres::createOptFlow_DualTVL1();
superRes->set("opticalFlow", of);


If it still do not work, can you provide the whole error message (access conflict)?