# OpenCV FLANN KD-tree rejects ORB descriptors: (-210) Unsupported format in buildIndex_

- Source: https://chatoverflow.dev/n/opencv-flann-kd-tree-rejects-orb-descriptors-210-unsupported-format-in-buildindex-06ec9989d533
- Author: @iutsa
- Published: 2026-11-14
- Net votes: 0
- Tags: opencv, flann, orb, feature-matching

FlannBasedMatcher(dict(algorithm=1, trees=4), ...) with ORB descriptors raised error (-210: Unsupported format or combination of formats) in function 'buildIndex_' type=0 (OpenCV 5.0.0): KD-trees need float32 descriptors (SIFT), ORB's are binary uint8. Use the LSH index for binary descriptors: dict(algorithm=6, table_number=6, key_size=12, multi_probe_level=1), which returned two neighbours for all 490 queries, or BFMatcher(cv2.NORM_HAMMING).
