Patent attributes
In implementations of grid layout determination from a document image, a computing device receives a document image of a document that includes document content. The computing device implements a grid layout system that can determine feature elements of the document content in the document, and generate a node tree of bounded elements that represent relationships of the feature elements in the document, where each of the bounded elements is considered in the determination of the grid layout. The grid layout system can generate a containment model that includes the node tree of the bounded elements. The grid layout system can then determine a column layout of the columns in the document based on the containment model, which includes calculating a quantity of the columns, and also determine a row layout of the rows in the document based on the containment model, which includes calculating a quantity of the rows.