I use createOptFlow_DualTVL1()to calculate the optical flow, which gives me exactly what I want, but it is very slow. Is there a way to speed it up a bit or is there any other optical flow function that will give me the same result with less processing time? I used calcOpticalFlowFarneback(), cvGoodFeaturesToTrack()but the quality is not very good. please, help.
Thanks in advance. Below is an example of applicationcreateOptFlow_DualTVL1()
Ptr<DenseOpticalFlow> tvl1 = createOptFlow_DualTVL1();
tvl1->calc(Previous_Gray_Frame, Current_Gray_Frame, Optical_Flow);
source
share