Skip to content

(3.4) flann: drop wrapping of Index class#19062

Merged
opencv-pushbot merged 1 commit intoopencv:3.4from
alalek:3.4_issue_17553
Dec 11, 2020
Merged

(3.4) flann: drop wrapping of Index class#19062
opencv-pushbot merged 1 commit intoopencv:3.4from
alalek:3.4_issue_17553

Conversation

@alalek
Copy link
Copy Markdown
Member

@alalek alalek commented Dec 9, 2020

  • due to lifetime restrictions on passed 'features' parameter and its dangling pointers
  • dangling pointer issue is fixed for OpenCV 4.5.1+

Added a note for C++ coders about limitations (but it is not in scope of Doxygen documentation).

Consider using FlannBasedMatcher instead.

relates #17553
fix for 4.5.1+: #19045
related commit: 562914e (Jul 13, 2011)

- due to lifetime restrictions on passed 'features' parameter and its dangling pointers
- dangling pointer issue is fixed for OpenCV 4.5.1+
@alalek
Copy link
Copy Markdown
Member Author

alalek commented Dec 11, 2020

👍

@opencv-pushbot opencv-pushbot merged commit d2b8fd6 into opencv:3.4 Dec 11, 2020
@alalek alalek mentioned this pull request Dec 11, 2020
@alalek alalek mentioned this pull request Apr 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants