Community

Getting image orientaiton in BCR

Does processBusinessCard output support image rotation as here? If not, would you support it?

Thanks

Was this article helpful?

0 out of 0 found this helpful

Comments

4 comments

  • Avatar
    Permanently deleted user

    Recently ABBYY Cloud OCR SDK team has improved the BCR technology regarding your feature request. The imageRotation attribute for the businessCard element was added to the XML export format. This attribute specifies rotation that was performed upon the input image, namely:

    • noRotation - this value denotes no rotation,
    • clockwise - rotation 90 degrees clockwise,
    • counterclockwise - rotation 90 degrees counterclockwise or 270 degrees clockwise,
    • upsideDown - rotation upside down, or 180 degrees.

    ABBYY Cloud OCR SDK documentation will be updated accordingly.

    1
  • Avatar
    Permanently deleted user

    Hi, I just tried a few business card image rotated. I didn't get the new field "imageRotation".

    Has the feature started to work online? I thought there will be one new filed on output xml. <field type="imageRotation">


    <businesscard> <field type="Phone"> <value>783-37-00</value> </field> <field type="Fax"> <value>783-26-63</value> </field> </businesscard>

    0
  • Avatar
    Permanently deleted user

    It's strange, because the neccessary changes were published two days ago. Possibly the issue connected with some cache. Moreover when I process a business card sample on my side, the XML output contains the 'imageRotation' attribute with correct values:

    <businesscard imagerotation="noRotation"> <field type="Phone"> <value>510-226-6717 x 107</value> ...

    Please note that 'imageRotation' is not a separate field, it is a new attribute for the 'businessCard' element.

    0
  • Avatar
    Permanently deleted user

    Thank you. I have confirmed that the XML output includes <businesscard imagerotation="XXX">

    0

Please sign in to leave a comment.