简体   繁体   English

在JAVA中使用OpenCV GPU模块

[英]Using OpenCV GPU module in JAVA

I am using the wrapped version of the OpenCV image processing library for java ( opencv java api by OpenCv ) in order to detect cars' plates at the real time. 我正在使用Java的OpenCV图像处理库的包装版本( OpenCv的 opencv java api ),以便实时检测汽车的车牌。 Where in order to do so, I must gain the maximum possible processing speed for better performance, so I intended to try moving the calculations into the GPU where the OpenCV library has added, since 2010, what is called the OpenCV GPU module into the c++ library , supported by NVIDIA-CUDA . 为此,我必须获得最大可能的处理速度才能获得更好的性能,因此我打算尝试将计算移至已添加OpenCV库的GPU中,自2010年以来,在c++ library称为OpenCV GPU模块 c++ library ,由NVIDIA-CUDA However, After a lot of research, I find that this GPU module is not supported in any of the opencv java api versions. 但是,经过大量研究,我发现任何opencv java api版本均不支持此GPU模块

Then the question says: 然后问题说:

Is it ever possible in JAVA to move the OpenCv processing procedures to the GPU without this GPU module? JAVA中 ,有没有可能在没有此GPU模块的情况下将OpenCv处理过程移至GPU? or is there any wrapped version out there for the OpenCv that supports this module in JAVA ? 还是有支持JAVA中此模块的OpenCv任何包装版本? or any other ideas?!! 或其他任何想法?!

Any help would be appreciated. 任何帮助,将不胜感激。 Thanks in advance!! 提前致谢!!

速度和Java是两个相反的方面,但是如果您完全想通过CUDA版本的OpenCV来加速操作,我会说编写JNI包装器接口以在Java代码中访问它们。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM