网络摄像头视频流处理

发布于 2024-08-31 21:07:37 字数 510 浏览 4 评论 0原文

我正在处理一个图像处理项目,我的最终目标是检测实时视频上的特征并最终跟踪这些特征。

我将使用名为 Freescale i.MX515 的嵌入式处理器平台,它是在 Ubuntu 9.04 上运行的 32 位媒体处理器。

现在我正在研究定位特征的算法,因此,我使用静态图像。当我对结果感到满意时,我将不得不开始使用视频流,并且我不想使用视频文件作为源流,因为那样我将不得不担心视频解码器。相反,我想将 USB Wecam 插入嵌入式平台(上面有 USB 端口),直接获取捕获的帧并将其发送到我的应用程序。

我会谨慎购买 Linux(设备驱动程序)支持的网络摄像头。但我的问题是我是否能够从网络摄像头捕获传入的视频流并将其发送到我的应用程序?我是否能够配置网络摄像头和 DMA 以将传入帧写入特定的内存位置,我可以将其指针简单地传递给我的应用程序? (困惑!!!)

我希望我能表达我的疑问,任何人都可以指导我必须采取哪些步骤才能轻松实现所有这些?你认为这里有什么不可能吗?

帮助!!!

问候

维克拉姆

I'm working with an image processing project, my final goal is to detect features on a real time video and finally track those features.

I will be working with an Embedded Processor Platform called Freescale's i.MX515, it is a 32-bit media processor running on Ubuntu 9.04.

Right now I'm working on the algorithms to locate the features, so, I'm using still images. When I'm satisfied with the results I will have to start using a video stream and I don't want to make use of a video file as a source stream, because then I will have to worry about video decoders then. Instead I would like to plug in a USB Wecam to the embedded platform (It has USB ports on it), directly take the frames as they are captured and send it to my application.

I will take care to buy a webcam which will be supported in Linux (Device driver). But my question is will I be able to capture the incoming video stream from the webcam and send it to my application? Will I be able to configure the webcam and DMA to write the incoming frames in a particular memory location whose pointer I can simply pass to my application? (Confused!!!)

I hope I could convey my doubts, can anyone guide me with what steps that I have to take to achieve all of these easily? Do you foresee any impossibility here?

Help!!!

Regards

Vikram

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

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

发布评论

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

评论(2

草莓酥 2024-09-07 21:07:37

我不是可以回答这个问题的合适人选,因为我从事视频编码工作,并且没有制作任何软件来从网络摄像头捕获视频,但我认为你可以做你想做的事。
看看这个链接,我想你可以用它作为起点观点。

I'm not right person that can give an answer to this question, because I worked in video coding and I didn't make any software to capture video from a web cam, but I think that you can do what you want.
That a look at this link, I think you can use that as a starting point.

隱形的亼 2024-09-07 21:07:37

该链接长期处于非活动状态,但在 Google 网络摄像头流媒体搜索中仍然出现在顶部附近。因此,让我正式结束该主题并提供相关的解决方案:可以使用 Open CV 来实现此目的。
http://opencv.org/

This link is long inactive, but still comes up near the top in Google search for web cam streaming. So let me formally close the topic with a relevant pointer to the solution: Open CV can be used to achieve this.
http://opencv.org/

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