How to accurately calculate absolute bbox coordinates of detected text in Doctr ocr?
I have been trying to draw bbox on a picture of the document which I am trying to ocr using mindee-doctr to see the detected lines of text. The problem I am facing is the absolute coordinates of the bboxes I calculated, by multiplying the relative coords and page dimensions, when drawn on the original image are all shifted towards the top right corner. Is there a way to correct this?
How to calculate accurate bbox coordinates in Doctr ocr?
I have been trying to draw bbox on a picture of the document which I am trying to ocr using mindee-doctr to see the detected lines of text. The problem I am facing is the absolute coordinates of the bboxes I calculated, by multiplying the relative coords and page dimensions, when drawn on the original image are all shifted towards the top right corner. Is there a way to correct this?