-2

我有一个 .swf 文件,我想将其嵌入到我的 opencv 中并覆盖在相机流上并将其显示给用户。到目前为止,我还没有通过简单的谷歌搜索找到解决方案。如果有人知道如何解决这个问题,我将不胜感激。谢谢

4

1 回答 1

2

OpenCV doesn't deal with .swf files, so you need to use some other technology like FFMPEG or GStreamer to retrieve the frames and decode them to BGR to be able to create a valid IplImage (or cv::Mat if you are insterested in the C++ interface).

GStreamer also provides a simple mechanism to stream video over the network.

于 2012-07-04T20:49:56.113 回答