Problems with vector <DMatch>

asked 2014-05-10 12:49:10 -0600

Miki13 gravatar image

I am trying to implement code from here:

into an Android app. I've added nonfree modules which I complied according to this tutorial:

but I'm getting errors in:

for( int i = 0; i < descriptors_object.rows; i++ ) { if( matches[i].distance < 3*min_dist ) { good_matches.push_back( matches[i]); } }

Field 'distance' could not be resolved Invalid arguments ' // for push_back

Any ideas how to fix it?

edit retag flag offensive close merge delete