Reputation: 1530
I'm converting the source code and upgrading the library from OpenCV 2.x to OpenCV 3.x. Then I wonder how I have to change BruteForceMatcher_GPU
in OpenCV 2.x to some module in OpenCV 3.x.
Just use BFMatcher
without GPU support?
Upvotes: 0
Views: 419
Reputation: 706
From the OpenCV Transition guide, you can read that:
CUDA API has been updated (gpu module -> several cuda modules, namespace gpu -> namespace cuda)
Edit:
On the documentation page of the class cuda::DescriptorMatcher
, it seems you can use createBFMatcher()
.
Hope it helps.
Upvotes: 1