flann/kmeans: Fix non-determinism of KMeans index
When running with >1 OpenCV thread, KMeans index generation was non-deterministic because of a RWW race. Issue is resolved by removing the offending logic from the parallel section.
Showing
Please
register
or
sign in
to comment