1 | initial version |
I don't know the Java API, but the following line:
[with Distance = cvflann::L2<float>, IndexType = cvflann::Index<cvflann::L2<float> >]
suggests that you are using L2 distance. FREAK creates binary descriptors and thus requires the Hamming distance.