什么是最好的视频处理编程语言?

发布于 2024-09-05 09:47:00 字数 132 浏览 2 评论 0原文

我有 4 个数码摄像头,每个摄像头之间的距离是 30 厘米,我需要一个在 C++ 或 Java 上运行的软件或编程库,可以从这 4 个摄像头拍摄视频,并将它们放入一个仅显示一张图像的视频中是从 4 个摄像头收集的,任何提示都会有帮助,无论如何,谢谢。

i have 4 digital cams, the distance between every cam is 30 CM, i need a software or a programming library that works on c++ or Java, that can take videos from these 4 cams, and put them in one video showing only one image that is gathered from the 4 cams, any hints would be helpful, Thanks anyway.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

嘴硬脾气大 2024-09-12 09:47:00

查看纯数据创业板。它有一些有趣的可能性,尽管它可能超出你的想象。

Java 有 Java Media Framework,它为您提供了一些不错的工具一起工作。

Look at Pure Data and GEM. It has some interesting possibilities, although it might be more than you want to bite off.

Java has the Java Media Framework, which gives you some decent tools to work with.

何时共饮酒 2024-09-12 09:47:00

我会推荐您 OpenCV,它是一个用于 C 开发的开源计算机视觉库。配置完成后,使用起来相对容易。

查看此参考。查看参考中详细介绍的方法cvCaptureFromCAM(),以便从摄像机读取帧。

I would recommend you OpenCV, which is an Open Source Computer Vision library for C development. Once configured, it's relatively easy to use.

Check out this reference. Take a look at the method cvCaptureFromCAM() detailed in the reference in order to read frames from a video camera.

梦太阳 2024-09-12 09:47:00

我建议您为此使用 GStreamer 框架。我用它做了类似的事情:将视频流、屏幕录制和徽标组合成一个组合视频。

编程语言选项有:

  • C:直接使用API​​。这并不太难。请参阅文档
  • Python:绑定到 C API
  • gst -launch:一种用于快速设置管道的声明性语言。提示:很震撼!
  • Vala:采用 C# 语法的脚本语言。它从未使用过它,所以我不能说它有什么好处。

另请查看我对此问题的回答:如何我可以平铺视频/创建视频蒙太奇吗?

I recommend that you use the GStreamer framework for this. I have done similar things with it: combining a video stream, a screen recording and a logo into one combined video.

Programming language options are:

  • C: using the API directly. It's not too hard. See the documentation.
  • Python: bindings to the C API
  • gst-launch: a declarative language for quickly setting up a pipeline. Hint: It rocks!
  • Vala: scripting language with C# syntax. It never used it so I can't say it it's any good.

Also check out my answer to this question: How can I tile videos/create a video montage?

谈下烟灰 2024-09-12 09:47:00

这是一个立体对应问题,合并 n 个不同图像的一种方法是使用某种局部特征(SIFT、SURF、FAST 等)。在 OpenCV 库中已经实现了 SURF 检测器。您可能需要使用 C 或 C++ 进行实时处理。

That is a stereo correspondence problem and one way to merge n different images would be using some kind of local features (SIFT, SURF, FAST etc.) In OpenCV library there's SURF detector already implemented. You would probably need to use C or C++ for real time processing.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文