#status LED connects to gpio pin 24 #can use status LED for debugging #or varification of a positive face ID # how to turn LED on/off # IO.LEDON() # IO.LEDOFF() USBCameraSetup() IO.SetupGPIOPins() f.makedailyfolder() f.newlog() global noface global capture global frame_copy global cascade while True: frame = cv.QueryFrame(capture) if not frame: cv.WaitKey(0) break if not frame_copy: frame_copy = cv.CreateImage((frame.width,frame.height),cv.IPL_DEPTH_8U, frame.nChannels)