Barrel distortion issue IMX477 Nvidia Jetson Nano

My hardware:

ISSUE:
I want to position the coreyXY system based on the image from the camera but I have a large measurement error due to barrel distortion.
In the photo below, the lens is positioned at a distance of 0.85m from the floor.
Another problem is the poor quality of objects visible on the floor despite accurate focus and aperture settings.
Below is a photo taken with an Arducam camera and iPhone XR for comparison

I can’t attach pictures due to an error, so here are the links

Arducam quality:

Arducam barrel distortion:
{host-as-above}/plik-ZSdcmN6WfE

Iphone pic:
{host-as-above}/plik-qbyFx380Ml

Please help me solve these issues. Thanks !

@karol_ce

Sorry, I can’t see all the pictures, I can only see the first one, can you upload the other pictures to the cloud disk and share them with me?