Community

Getting document resolution (dpi) and confidence level via script

Hi,

In our setup I wish to get the document resolution (dpi) and confidence level via script. Reason being that if resolution or confidence is low then we can do some specific action e.g. send the document for image enhancement etc..

Your help is appreciated

Thanks,
- Manoj

Was this article helpful?

1 out of 1 found this helpful

Comments

2 comments

  • Avatar
    Permanently deleted user
    I got following reply from Abbyy for the above query-


    In scripts you could find image resolution as IPage -> Picture (IPictureObject) -> XResolution / YResolution.

    For Confidence level you could get it in different ways: (1) export it into xml as mask "001010" in xml export settings, or (2) get it for each character as ICharacterParams -> Confidence, or (3) for full document via Service fields with UncertainSymbolsCount and with RecognizedSymbolsCount.

    In Help you could find more details.
    1
  • Avatar
    Permanently deleted user


    manojag,

    Thanks for sharing!
    0

Please sign in to leave a comment.