Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to prevent my program from stopping?

My program tracks an orange traffic cone using a webcam. It does this inside a while loop ( while myDisplay.isNotDone(): ) It outputs the coordinates and area of the largest blob that it finds. When the orange cone moves out of the field of view of the webcam, the program stops running.

Can someone tell me how to keep the program running?