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
想要评论请 注册 或 登录