FLANN – the Fast Library for Approximate Nearest Neighbors – is a collection of nearest-neighbor algorithms, and a meta-algorithm to select the best of them for a given dataset.