Community

How does abbyy calculate A4 page area? Answered

I have read "Billing Terms", and it says that if a page is a little bigger than A4 size (8.268*11.693 in inch), it will be treated as double A4 pages.

But I have a page with size 8.305*11.708 in inch. It is surely bigger than 8.268*11.693. When I post it to cloud OCR sdk, it just cost me 5 credits.

I am wondering why?

Was this article helpful?

0 out of 0 found this helpful

Comments

1 comment

  • Avatar
    Oksana Serdyuk

    All calculations are done with integer variables, so there are some rounding nuances in favor of our users. For example, for your image the calculation formula looks like this:

    imageSizeW = (11,708 (inch) * 300 (dpi)) = 3512,4 (pixels)
    imageSizeH = (8,305 (inch) * 300 (dpi)) = 2491,5 (pixels)
    resolution = 300
    areaOfA4 = 97
     
    imageSizeW / resolution ≈ 11
    imageSizeH / resolution ≈ 8
    imageArea = 11 * 8 = 88
     
    numberOfPages = imageArea / areaOfA4 = 88 / 97 = 0,907 ≈ 1 (page)

    Kindly see also the Page Counter Calculation article for some details.

     

     

    0

Please sign in to leave a comment.