def undistort(self, img):
""" Restore image from camera distrotation using calibration matrics
Args:
img: input image
Returns:
restored image
"""
return cv2.undistort(img, self.mtx, self.dist, None, self.mtx)