0

我有一个带有图像、Signatue 文件的 PythonCard GUI表单。我需要从实时流中捕获图像,

我正在尝试将我的实时视频作为 pythoncard 组件注入,例如 staticbox 或 staticArea

PythonCard 是否具有内置的视频组件或任何其他进入 GUI 的方式。

4

1 回答 1

0

You can try wxPython's MediaCtrl, but I don't think it works very well with streaming media. Instead, I would recommend a 3rd party widget called the MPlayerCtrl which wraps MPlayer. You can get it on PyPI

Here is a link for the documentation and I also wrote a tutorial for it. It should be noted that I didn't try to make it take screenshots. You'll have to do some research into it to find out if that is supported. If MPlayer can do it, than this wrapper should be able to as well.

于 2013-04-17T16:27:54.733 回答