def yaml(self):
        return yaml.dump(self.serialized, default_flow_style=False,
                         encoding=None)
def make_grayscale(img):
    ret = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
    return ret