you need to include the following include: #include <opencv2/legacy/legacy.hpp> Create an instance CvConDensation* ConDens = cvCreateConDensation( DP, MP, nSamples ); for every X and Y coordinate initialize and update the condensation refracted Code to Follow
Aresh T. Saharkhiz