Python too slow?

Christian Heimes lists at cheimes.de
Wed Jan 9 22:15:35 CET 2008


dongie.agnir at gmail.com wrote:
> I'm pretty new to Python, and even newer to Image/Video processing,
> and trying to get started on a project similar to GRL Vienna's laser
> marker. I found some sample code here http://janto.blogspot.com/2006/01/motion-capture-in-python.html,
> but after running the code with the included sample input file, it
> seems quite slow (1-2 seconds from start to finish to do the 800 by
> 600 gif image).

Have you profiled your application? Do you know the bottle necks and the
reason for the bottle necks? Is your application IO, memory or CPU
bound? Have you considered rewriting the bottle necks in C?

Christian




More information about the Python-list mailing list