def __init__(self, filename=None):
        self.filename = None
        if filename:
            self.load(filename)
def loopcv():
  import cv
  while 1:
    cv.ShowImage('hi',get_depth().astype(np.uint8))
    cv.WaitKey(10)