Community

slanted text detection Answered

if the text in a PDF is at a 45 degree angle how to detect that text, Because i have tried that using CorrectSkew and CorrectSkewMode, i am not getting any result. i am getting perfect result for vertical and horizontal  texts.

please help me if anyone knows how to do it.

ps: using FRE11

Was this article helpful?

0 out of 0 found this helpful

Comments

3 comments

  • Avatar
    Oksana Serdyuk

    ABBYY technology supports the images deskewing, but skew can be corrected only for angles not greater than 20 degrees (small angle autorotation). 45 degrees is a very strong skew for automatic skew correction, we do not support this and cannot guarantee the success.

    Also our technology supports autodetection of the page orientation (90, 180 and 270 degrees).

    0
  • Avatar
    Rama Reddy

    Hi,

    So Abby don't handle the skew by default? or it will handle the skew till 25? I am using ABBYY Fine Reader Java SDK

    If the orientation is below 90. how to handle it?

     

    can we find orientation angle of the document and then set the correct orientation ?

     

    0
  • Avatar
    Oksana Serdyuk

    Hi Rama,

    Koen has already answered you in your skew and orientation and image preprocessing posts in detail. To summarize:

    • The IPrepareImageMode::CorrectSkew property is TRUE by default. It is not necessary to set it to TRUE explicitly, but it could be useful to tune the type of the skew correction. Please take a look on the IPrepareImageMode::CorrectSkewMode property and its default settings. The image deskewing allows changing a picture angle only up to 20 degrees.
    • The skew correction will not automatically correct the picture orientation, the IPagePreprocessingParams::CorrectOrientation property is disabled by default. If this property is TRUE, the page orientation is detected during page preprocessing, and if it differs from normal, ABBYY FineReader Engine automatically rotates the image. It means, if you set it to TRUE, you do not need to rotate page manually. Also sometimes, you may need to set the IPagePreprocessingParams::OrientationDetectionParams property for better handling depending on the concrete scenario.

    Please see the detailed description of all these properties in the Developer’s Help.

    0

Please sign in to leave a comment.