Im using the matching to many images sample with opencv here's original version
Im struggling to understand the code, I'm simply looking to calculate and output the image that has the most/best matches.
What I thought was I could use for example
`if(queryDescriptors.rows == trainDescriptors.rows)
{
imshow(bestmatch, Mat of this trainimage);
}`
But I'm unsure how I acquire that specific image from the vector of Mat's?
Thank you