First time here? Check out the FAQ!
answered 2014-06-18 13:57:47 -0600
Change your drawMatch statement to
drawMatch
if ( match_centers.size() > 0 ) drawMatch(object,frame,match_centers);
and that should fix it. You may also want to reset the vector to size 0 before you do tempMatch.
tempMatch