How to obtain a camera image without distortion and the effects of pose?

Thank you for your reply. This type of calibration is exactly what I’m aiming for. I understand that there will inevitably be some deviation in the camera’s posture, regardless of how it is set up.

What I need is for the image, after distortion correction, to be further adjusted so that the subject appears perfectly facing the camera. How can I achieve this?
Thank you for your support.