我正在开发一种使用商业计算机视觉软件Halcon的解决方案。我正在考虑用Python迁移或将我的解决方案转换为OpenCV。我想开始在Halcon中开发我的另一个计算机视觉解决方案,因为IDE是难以置信的,他们生成一个脚本来将它们迁移到OpenCV。
有人知道这个任务的库吗?
我想开始开发一个开源SDK,将Halcon转换为OpenCV。我正在考虑开始开发从Halcon到Python的所有内部函数。有什么建议吗?
发布于 2018-01-18 10:49:47
我不会把时间花在这样的努力上。以下是一些原因:
如果我不得不花时间在一个开源项目上,我会编写一个更好的OpenCV接口(正如Vladimirć所建议的)。在这个方向上有一些努力(如果您搜索的话,可能还有其他的东西):
- It looks like the future (or the present) is web based, and there are many flowchart programming tools that are open source like [Node-Red](https://nodered.org/), [No-Flo UI](https://github.com/noflo/noflo-ui) or [Apache NiFi](https://nifi.apache.org/). Probably you can modify them to use OpenCV functions (a quick search returns [this](https://github.com/jdye64/nifi-opencv) and [this](https://www.npmjs.com/package/node-red-contrib-opencv))
- [Blender](https://www.blender.org/) is a 3D editor (with a video editor and many other features) that you can program in python and also has a flowchart programming language ("Compositing Nodes"). I don't see a better place to integrate OpenCV!
发布于 2018-01-17 13:58:00
这取决于您正在使用的Halcon功能以及您想要这样做的原因。这个问题似乎很笼统。我建议您将您的Halcon程序转换为C++,并编写一个包装函数,将参数传递给/从您的openCV program.This,这将是在您的opencv和halcon程序之间提供交互的最简单的选择。希望能帮上忙。
发布于 2018-01-17 15:55:03
不幸的是,这是不可能的,因为Halcon本身并不是一个开源库,而且每个函数都被锁定。
背后的原因是运行时许可。
https://stackoverflow.com/questions/48188940
复制相似问题