You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure about the underlying issue, but I am using the same code and at least in 4.10 there's an additional code change required -- since the documentation for this is a little sparse, thought I'd leave a note here.
# Match features.matcher=cv2.DescriptorMatcher_create(cv2.DESCRIPTOR_MATCHER_BRUTEFORCE_HAMMING)
matches=matcher.match(descriptors1, descriptors2, None)
# matches is now a tuple and can't be directly sorted. Explicitly convert the tuple to a listmatches=list(matches)
#print('after matcher: ', time.time() - t)# Sort matches by scorematches.sort(key=lambdax: x.distance, reverse=False)
Anecdotally I get a reasonable solution, but I'm on Linux w/ 4.10.0.84.
Expected behaviour
I use the ORB image registration algorithm and it worked until 4.1.2.30. Same solution on same data!
Actual behaviour
From Version 4.1.2.32 to newest (4.5.1.48) it has a different (wrong) solution on the same data AND it needs about 3 times more time.
Steps to reproduce
Issue submission checklist
sorry, i don't know if it is a opencv-python issue or a opencv issue.
The text was updated successfully, but these errors were encountered: