Introduction - If you have any usage issues, please Google them yourself
Source code and run an example of the results given the coordinates of the control points, run the program, you can get a photo of the six foreign elements and the rotation matrix, and the calculation results for accuracy assessment.