[Numpy-discussion] Recommndations for an easy GUI

Benjamin Root ben.root at ou.edu
Tue Jun 28 01:32:44 EDT 2011


On Monday, June 27, 2011, Nadav Horesh <nadavh at visionsense.com> wrote:
>
>
>
>
>
>
>
> I have an application which generates and displays RGB images as rate of several frames/seconds (5-15). Currently I use Tkinter+PIL, but I have a problem that it slows down the rate significantly.
>  I am looking for a fast and easy alternative.
>
> Platform: Linux
> I prefer tools that would work also with python3
>
> I looked at the following:
> 1. matplotlib's imshow: Easy but too slow.
> 2. pyqwt: Easy, fast, does not support rgb images (only grayscale)
> 3. pygame: Nice but lacking widgets like buttons etc.
> 4. PyQT: Can do, I would like something simpler (I'll rather focus on computations, not GUI)
>
>    Nadav.
>
>
>
>

You can get imshow to be fast.  If you save the object returned fron
the call to imshow, there is a method called set_data() (I believe),
which you can pass values to after the initial call.  I have gotten
very good framerates on my EeePC doing that.  Most of the computation
in imshow is with respect to the creation of the object, not the
display.

Ben Root



More information about the NumPy-Discussion mailing list