I tried Root’s advice and with the get_data method and GTK (without Agg) I got 
decent speed -- 30 fps (display speed,  without the calculations overhead). The 
combination of matplotlib and glumpy resulted in 88 fps.

 I think I’ll have a solutionif glumpy lack of documentation will net get in 
the way.

 Thank you all for the useful advices,

    Nadav.

________________________________
מאת: numpy-discussion-boun...@scipy.org 
[mailto:numpy-discussion-boun...@scipy.org] בשם Nicolas Rougier
נשלח: Tuesday, June 28, 2011 09:47
אל: Discussion of Numerical Python
נושא: Re: [Numpy-discussion] Recommndations for an easy GUI



Have a look at glumpy: http://code.google.com/p/glumpy/
It's quite simple and very fast for images (it's based on OpenGL/shaders).

Nicolas


On Jun 28, 2011, at 6:38 AM, Nadav Horesh 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.
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org<mailto:NumPy-Discussion@scipy.org>
http://mail.scipy.org/mailman/listinfo/numpy-discussion

_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to