Page 1 of 1
Posted: Tue Jun 07, 2016 8:35 pm
How do I calculate the coordinates (left, right, upper,...)?
In the help I find this quote “The unit is points (72 per inch).” But this does not seem correct?
Posted: Fri Jun 10, 2016 10:40 am
Can you please provide a snippet of the code you are trying to use, and comment why you think the result is not correct?
Posted: Tue Jun 14, 2016 8:36 am
PXO_InputField MyInputField = PXO_InputField();
MyInputField.top = 0;
MyInputField.bottom = 100;
MyInputField.left = 403;
MyInputField.right = 604;
MyInputField.nPage = 0;
OCR_GetField(pdf, ref Options, out TextOut, Zone, (uint)PXO_FieldInputFlags.PXO_Origin_TopLeft);
These MyinputField coordinates how do i know them? Can I visualize it on the PDF?
Posted: Tue Jun 14, 2016 11:35 am
From the description of the PXO_InputField method:
Coordinates are in PDF page coordinates, starting with (0,0) at the lower left corner of the page, similar to conventional / Cartesian mathematics (and in contrast to Windows RECT coordinates). The unit is points (72 per inch).
So the bottom left corner of the page is (0,0), and the top right corner for an A4 page (210x297mm) is (595.2755, 841.8897)
For a Letter page - 8.5 x 11 inch the top left will be (612.0 , 792.0)
Posted: Tue Jun 21, 2016 1:32 pm
Is there a way to optimize the OCR results of a certain font?
I have some numbers that are very frequently are miss translated:
1 instead of 7 (see attachment 1)
Posted: Tue Jun 21, 2016 4:22 pm
There are no training tools available for our OCR currently - sorry.
Numbers are indeed quite tricky with some fonts.