Ask Your Question

How to use cuda in pyhton?

asked 2017-08-16 02:27:50 -0600

kkb gravatar image

I want to use cuda with python. So I build opencv3.2.0 with cuda, pytho3.5 and success it. But i cannot find any module using cuda.cv2.cuda module have no function without Global Variables. on the other hand, I can use cuda with c++. How can i get functions with cuda?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-08-16 23:59:27 -0600

berak gravatar image

unfortunately, you cannot use opencv's cuda api from python.

(none of the classes or functions from cv::cuda namespace are exposed to python (or java))

there are projects to trying to solve this, but you can't use opencv here.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2017-08-16 02:27:50 -0600

Seen: 2,489 times

Last updated: Aug 16 '17