Ask Your Question
0

Why SURF_CUDA does not bind to python?

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

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
2

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

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

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
1

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

berak gravatar image

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

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

Question Tools

1 follower

Stats

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

Seen: 564 times

Last updated: Jan 29 '20