Is there a way to avoid using Pygame related components

asked 2013-06-27 01:37:31 -0500

cipher gravatar image

updated 2013-06-27 01:37:48 -0500

I know that SimpleCV will move away from Pygame later, but for now if I do not want to use the display then can i still use SimpleCV without calling Pygame or is it used in other functions too?

edit retag flag offensive close merge delete

Comments

You could use it somehow, but certain features like DrawingLayer won't work, which means you won't be able to draw. Why don't you want to use Pygame ?

Vighnesh Birodkar gravatar imageVighnesh Birodkar ( 2013-06-27 03:24:16 -0500 )edit

Actually, Pygame gives some errors now and then which are hard to understand. many a times, the error is caused due to python code but that is not clear from error messages. I do not need drawing layer I can do without the display also but i am not sure what do i do to start the while loop : while not display.done: ?

cipher gravatar imagecipher ( 2013-06-27 04:16:02 -0500 )edit

A simple while(True) should work, which can be interrupted via Keyboard (Ctrl-C)

Vighnesh Birodkar gravatar imageVighnesh Birodkar ( 2013-06-27 05:03:37 -0500 )edit