prebuilt-layout page orientation marks points inconsistent

Mauricio Villegas 0 Reputation points
2024-05-24T13:15:09.3466667+00:00

I have been trying out analyze_document with model prebuilt-layout (2024-02-29-preview). I have noticed that the points of the polygons for lines and words encode the text orientation. That is, when looking at the text horizontally (rotating the image if needed) the points always start with the top-left point and the rest of the points are in clockwise order. I think this is great and very convenient! I am not sure if this is documented somewhere. Is this a feature that can be relied on to be preserved?

If this is an intended feature, I observed an inconsistency with the marks (checkboxes). When the image is rotated, the polygon points don't follow the top-left + clockwise order. Is this a bug? Or is there a reason for this inconsistency?

Thank you in advance!

Azure AI Document Intelligence
Azure AI Document Intelligence
An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
1,472 questions
{count} votes