Saving and loading Flann index on fedora & android ?

asked 2016-02-04 09:18:16 -0500

valek gravatar image

Hi there !

Is it possible to create a Flann Index on a desktop computer (fedora for example) and then to read it on an android device ?

My colleague is experiencing a segfault when reading a Flann Index created on Fedora on his android device... And I can't find a reason why. Is there somehting I have missed ? Or should it work ?

Conversely, he also tried to read an index created on the android device on his fedora... and it does not work too !

Is there a good reason for that ? The index files should be exactly the same, am I right ?

Thanks, regards,


edit retag flag offensive close merge delete


are those machines running identical opencv versions ?

berak gravatar imageberak ( 2016-02-05 01:07:32 -0500 )edit

It was my first thought, but both it seems that both uses opencv 3.1 ! I'll verify this again with him this morning.

valek gravatar imagevalek ( 2016-02-05 01:18:22 -0500 )edit

btw, small test file + example code might be helpful

berak gravatar imageberak ( 2016-02-05 01:22:51 -0500 )edit