Ask Your Question

Use gpu on java opencv

asked 2016-10-18 09:11:58 -0500

Hi, I'm working with the opencv's java wrapper. It's very good, but I miss a thing: how can I use my gpu? I know about umat and tapi, and I'm able to work with them in C++ world. Is there something also in java? I can't see any *.gpu *.ocl packages or Umat class. I know that I can use jni, but I keep it if I cannot do anything else. Thank you

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-10-18 10:33:20 -0500

benT gravatar image

AFAIK, there is no Java wrapper for the t-api, but before you move completely to the JNI, you might want to write your own wrapper for the UMats. If you do not want to write your own wrapper or need some help, check out javaCV, maybe they have a wrapper for the t-api and if not you can see how they write their wrappers in the source.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-10-18 09:11:58 -0500

Seen: 1,546 times

Last updated: Oct 18 '16