How to save the flann index in opencv for java
Hello,
Can someone help me to save a trained flann index?
In time I serialize all descriptors to json and reoad all descriptors after the program is started.
For a lot of descriptors this takes a long time.
Is there another method to save the flann index with java?
did you mean a DescriptorMatcher ? (afaik, flann::index is not avilable in java)
yes, i mean the DescriptorMatcher. Is there a work around?
it has a read() / write() method, no ?
Can I use JavaCV to save a trained index?
idk. javacv != opencv' s java wrappers. unsupported 3rd party api.
okay sorry, yes the DescriptorMatcher has read and write methods but I think it only used to load the properties for the matcher (algorithm,...)
^^ ah, right. sorry i forgot that.