A C program that takes as inputs the file 3D.txt and the file 2D.txt then prints on the screen the 3X4 calibration matrix

a C program that takes as inputs the file 3D.txt and the file 2D.txt then prints on the screen the 3X4 calibration matrix
the average pixel error. Your program should use an SVD routine. Your Program should have enough comments.
The following files are located within this folder and are useful to test your program.
the file 3D.txt
the file 2D.txt
In addition, find a calibration method, either from OpenCV or Mathlab and use it, then compare the accuracies.