ARFrame captured image distortion correction

I am trying to use an image from ARFrame.capturedImage during ARSession with ARWorldTrackingConfiguaration for computer vision task. Is this image is corrected for distortion errors (such as strait lines in object space remain strait on the image ) or I have to apply some sort of correction myself?

ARFrame captured image distortion correction
 
 
Q