Barrel distortion issue IMX477 Nvidia Jetson Nano

My hardware:

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:

Iphone pic:

Please help me solve these issues. Thanks !


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?