I'm using the constant DescriptorMatcher.BRUTEFORCE_HAMMING but now I'm not sure because it has a different value in C++ (I think). DescriptorMatcher.BRUTEFORCE_HAMMING = 4 (Java) while NORM_HAMMING = 6 (C++). Are they the same? Where can I find constant/enum equivalences? I'm trying to create a brute force matcher like this:
matcher = DescriptorMatcher.create(DescriptorMatcher.BRUTEFORCE_HAMMING); // should it be BRUTEFORCE_SL2 instead because of value = 6 ??
for this C++ code:
BFMatcher matcher(NORM_HAMMING, true);
What constant should I use?
Thanks!