How do I show a IplImage in a gtk.Image?
*Joseph Soares Alcântara*
Engenharia da Computação - 8º semestre
Universidade Federal do Ceará - UFC
Sobral - Ceará
+--+
.| - °v°...A liberdade não pode ser comprada e sim |
.| -/(
Thank you very much.
what solved my problem on windows os is (from your code):
from ctypes import cdll
libintl = cdll.intl
libintl.bindtextdomain(domain, localedir)
Best regards,
Giuseppe.
On Mon, Feb 20, 2012 at 09:21, Dieter Verfaillie
wrote:
> On Mon, 20 Feb 2012 00:08:13 +0100, Giuseppe Pe
I cannot access FAQ, I think it's not working now.
Don't you have any example how could I solve that?
Yes, I'd like to show image from cv.QueryFrame in a gtk.Image, But I am new
in this, I'm learning a little slow.
It's a project to the university. We have an Open Source Study Group, and I
have to
IIRC opecv starts a mainloop when create window is called.
In general, don't use threads unless you have read the FAQ and
understand what you are doing.
John
2012/2/21 Joseph S. Alcântara :
> Even if I don't use, ie, if I comment the lines where NamedWindow, ShowImage
> and WaitKey appear it fre
Even if I don't use, ie, if I comment the lines where NamedWindow,
ShowImage and WaitKey appear it freezes too.
*Joseph Soares Alcântara*
Engenharia da Computação - 8º semestre
Universidade Federal do Ceará - UFC
Sobral - Ceará
+
GTK is not threadsafe.
If opencv shows a gtk mainwindow in cv.ShowImage, and that occurs in a
different thread to the one running gtk_main, then unpredictable
crashes and odd behaviour will result.
Please check the pygtk FAQ for how to use threading and pygtk.
I suggest displaying the image your