I'm implementing a program which is supposed to match an image (img1) to a very similar image (usually just different resolution an lighting; sometimes some translation) from a set of around 15-30 images.
I'm using ORB feature detector and and Flann matcher. To use the matcher I compute keypoints and descriptors for the first image (img1) and then for each picture from the set, run the flann matcher comparing each of the images with img1 and get the best result.
However, if I understood it correctly, there is something called "Flann matcher Index", which can be trained for the set and than chooses the best match for you. Is this correct? If so, how can I use it with python? I saw some examples for C++ but not python is there some documentation which I overlooked?
EDIT: Basically I want to know if something like this is possible in python