opencv+wxpython MenuBar very slow

18 kali dilihat
Langsung ke pesan pertama yang belum dibaca

mamik

belum dibaca,
23 Mar 2012, 21.12.1123/03/12
kepadawxpytho...@googlegroups.com
i get code face detection from this site http://www.lucaamore.com/?p=638
and i have edited and combine with wxpython.
why the MenuBar very slow to show like this Screen Shot?
http://imageshack.us/photo/my-images/29/wxpythonopencv.png/

Robin Dunn

belum dibaca,
26 Mar 2012, 13.22.4626/03/12
kepadawxpytho...@googlegroups.com


Probably because the face detection library is blocking the event loop
so the menu (and other things) are not able to process their paint events.

http://wiki.wxpython.org/LongRunningTasks
http://wiki.wxpython.org/Non-Blocking_Gui
http://wiki.wxpython.org/CallAfter

--
Robin Dunn
Software Craftsman
http://wxPython.org

Balas ke semua
Balas ke penulis
Teruskan
0 pesan baru