Java OpenCV 绑定

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2037579/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-13 02:51:56  来源:igfitidea点击:

Java OpenCV Bindings

javaopencv

提问by Hamza Yerlikaya

I am looking for OpenCV java bindings, all the references point to the processing library. I know processing is java but isn't there a standalone java lib? or should just use processing libs?

我正在寻找 OpenCV java 绑定,所有引用都指向处理库。我知道处理是 Java,但没有独立的 Java 库吗?还是应该只使用处理库?

采纳答案by Carl Smotricz

I have just found this, a java wrapper of OpenCV : https://github.com/bytedeco/javacv

我刚刚找到了这个,OpenCV 的 Java 包装器:https: //github.com/bytedeco/javacv

Not tested, but I would love to have your point of view about this.

未经测试,但我很想了解您对此的看法。

回答by Carl Smotricz

I found this forum post where people are attempting pretty much the same thing: http://nuigroup.com/forums/viewthread/3531/#44302

我发现了这个论坛帖子,人们正在尝试几乎相同的事情:http: //nuigroup.com/forums/viewthread/3531/#44302

回答by Markus

javacv looks pretty good, works with my webcam and images in a custom format. I'm just still looking for a possibility to performant create an IplImage from an array of floats.

javacv 看起来很不错,适用于我的网络摄像头和自定义格式的图像。我只是在寻找一种从浮点数组高性能创建 IplImage 的可能性。

回答by gtiwari333

JavaCV is Java wrapper of OpenCV : https://github.com/bytedeco/javacvHere is good tutorial on eclipse project configuration for JavaCV

JavaCV 是 OpenCV 的 Java 包装器:https: //github.com/bytedeco/javacv这里是JavaCV Eclipse 项目配置的好教程

And few applications using JavaCVis also posted there.

使用JavaCV几个应用程序还贴在那里。

回答by Rui Marques

OpenCV now has an official Desktop Java port. It is still a work-in-progress and you have to compile opencv, but you should definitely take a look as it will be much friendly than JavaCV.

OpenCV 现在有一个官方的桌面 Java 端口。它仍然是一个正在进行的工作,你必须编译 opencv,但你绝对应该看看它,因为它会比 JavaCV 友好得多。

Take a look at these links for information:

查看这些链接以获取信息:

http://answers.opencv.org/question/2137/wrapping-opencv-with-desktop-java-building-for-64/

http://answers.opencv.org/question/2137/wrapping-opencv-with-desktop-java-building-for-64/

And this:

和这个:

http://code.opencv.org/projects/opencv/repository/revisions/fe0d07ae53ba9e6dcd1e470165ed0a85cbfce006

http://code.opencv.org/projects/opencv/repository/revisions/fe0d07ae53ba9e6dcd1e470165ed0a85cbfce006

UPDATE (Fev 2013):

更新(2013 年 4 月):

Java bindings have been released.

Java 绑定已经发布。