471,325 Members | 1,568 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,325 software developers and data experts.

How to display a videostream in the PyQt GUI by a efficient way

Hello, everyone£¬ : )

I'm a beginner of pyqt, and recently I'm having a problem with it. I
hope someone could help me.

As required, I need to get a videostream from a camera, and process
every frame to add some information on it, and then display the frame
in a PyQt GUI.
But I don't know how to display the videostream in the PyQt GUI by a
efficient way.

Currently, I do these like this:
1. Get the videostream by the videocapture module (a useful module
written by Markus Gritsch) in the format of PIL images;
2. Process every PIL image and add the information;
3. Convert every PIL image to QPixmap and display it using
QLabel.setPixmap.
I think it is a very inefficient way, but I don't known how to display
the videostream in other ways, so I need your help, Thanks!

PS:I do it with Windows XP, Python 2.5.1, PyQt4.3.0

Sep 29 '07 #1
0 897

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

10 posts views Thread by Ilya Knizhnik | last post: by
35 posts views Thread by Vamsi Mudrageda | last post: by
8 posts views Thread by simo | last post: by
4 posts views Thread by Adrian Casey | last post: by
10 posts views Thread by svenn.are | last post: by
10 posts views Thread by Simon John | last post: by
4 posts views Thread by Phil Thompson | last post: by
17 posts views Thread by eholbroo | last post: by
3 posts views Thread by Phil Thompson | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.