def asOpenCV(self):
        return (int(round(self.x)),int(round(self.y)),int(round(self.w)),int(round(self.h)))
@returns a representation compatible with opencv.
dataset/ETHPy150Open bolme/pyvision/src/pyvision/types/Rect.py/Rect.asOpenCV