def showData(): print tracker.getPosition(smi.PIXELS) print 'Calibration size:',tracker.getCalibrationSize() vizact.ontimer(0,showData)