Ask Your Question

Revision history [back]

How to use cudaoptflow in python

I have build opencv4.1.0 with opencv-contrib, python2.7, cuda9.0 in centos7 successfully.And I want to use GPU to speed up TVL1 calculate. But when I use cv.cuda.OpticalFlowDual_TVL1 or cv.cudaoptflow it will retrun error 'module' object has no attribute.But in C++, we can find cv::cuda::OpticalFlowDual_TVL1. How can I do the same work in python ?