def yaml(self):
        return yaml.dump(self.serialized, default_flow_style=False,
                         encoding=None)
def loopcv():
  import cv
  while 1:
    cv.ShowImage('hi',get_depth().astype(np.uint8))
    cv.WaitKey(10)