Ask Your Question

Why SURF_CUDA does not bind to python?

asked 2019-11-27 20:30:20 -0500

I compiled opencv and bound it to python3. Now in python I can find all functions I need but SURF_CUDA.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2019-11-28 03:22:38 -0500

updated 2020-01-29 06:16:00 -0500

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.

edit flag offensive delete link more

answered 2019-11-28 00:55:33 -0500

berak gravatar image

updated 2019-11-28 01:51:41 -0500

sad as it is, there are no python bindings for this.

(the cuda bindings for python are quite new, and not complete)

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-11-27 20:30:20 -0500

Seen: 80 times

Last updated: Jan 29