Handling Changing X and Y Coordinates in IronOCR

Why do the X and Y co-ordinate locations change?

The X and Y coordinates change because images are upscaled when the resolution is determined to be too low for OCR to work.

Details of the upscaling can be found in the OcrInput.Pages object and also the OcrResult.Pages objects.
https://ironsoftware.com/csharp/ocr/object-reference/api/IronOcr.OcrInput.Page.html
https://ironsoftware.com/csharp/ocr/object-reference/api/IronOcr.OcrResult.Page.html

You can also export the upscaled images, using ContentAreaToBitmap:
https://ironsoftware.com/csharp/ocr/object-reference/api/IronOcr.OcrResult.Page.html#IronOcr_OcrResult_Page_ContentAreaToBitmap_IronOcr_OcrInput_

If you wish to disable upscaling, please set TargetDPI = 0 for the OcrInput object:
https://ironsoftware.com/csharp/ocr/object-reference/api/IronOcr.OcrInput.html?q=TargetDPI#IronOcr_OcrInput_TargetDPI