Getting image orientaiton in BCR
- 491 Views
- Last Post 29 March 2016
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.
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>
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.
Thank you. I have confirmed that the XML output includes <businesscard imagerotation="XXX">
1259 questions, 4147 answers.