Why SURF_CUDA does not bind to python?
I compiled opencv and bound it to python3. Now in python I can find all functions I need but SURF_CUDA.
I compiled opencv and bound it to python3. Now in python I can find all functions I need but SURF_CUDA.
UPDATE: The bindings should now be accessible if you compile against the latest commit on the master branch.
As berak said the bindings have not been added yet. If you examine the header you can see that the class is not proceeded by the CV_EXPORTS_W
macro and its member functions are not proceeded by CV_WRAP
macro. More details can be found here.
As you have already built OpenCV with CUDA and python bindings you can try adding these flags to the functions you require to see if the bindings are generated. Be aware that the reason they are not included may be because the bindings did not work when cv3d added them.
If you provide me with the code you are using I may have a look at this later.
sad as it is, there are no python bindings for this.
(the cuda bindings for python are quite new, and not complete)
Asked: 2019-11-27 20:30:20 -0600
Seen: 564 times
Last updated: Jan 29 '20
Area of a single pixel object in OpenCV
how to understand which functions available in python bindings?
Problems installing opencv on mac with python
build problems for android_binary_package - Eclipse Indigo, Ubuntu 12.04
OpenCV DescriptorMatcher matches
Can't compile .cu file when including opencv.hpp
Weird result while finding angle
cv2.perspectiveTransform() with Python
Using OpenCV's stitching module, strange error when compositing images