Table of contents

LayoutAnalysisResult

The LayoutAnalysisResult class holds the comprehensive results of the layout analysis.

Definition

Package: com.dynamsoft.utility

class LayoutAnalysisResult

Attributes

Attribute Type Description
inferredQuads Quadrilateral[] Array of newly generated (inferred) quads.
elements LayoutElement[][] A 2D array (grid) of layout elements.
detectedPattern int The actual layout pattern identified by the engine.
errorCode int 0 for success, non-zero for error.

inferredQuads

Array of newly generated (inferred) quads.

public Quadrilateral[] inferredQuads;

See Also

Quadrilateral

elements

A 2D array (grid) of layout elements [rowCount][colCount]. In LP_LINES mode, rows may have varying physical lengths. Rows shorter than colCount are padded with elements whose source is set to LES_NONE.

public LayoutElement[][] elements;

See Also

LayoutElement

detectedPattern

The actual layout pattern identified by the engine.

public @EnumLayoutPattern int detectedPattern;

See Also

EnumLayoutPattern

errorCode

0 for success, non-zero for error.

public int errorCode;

This page is compatible for: