Table of contents

LayoutAnalysisResult

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

Definition

Namespace: com.dynamsoft.utility

Assembly: DynamsoftCaptureVisionBundle.aar

class LayoutAnalysisResult

Attributes

Attribute Type Description
inferredQuads Quadrilateral[] Array of newly generated quadrilaterals.
elements LayoutElement[][] A 2D array of layout elements [rowCount][colCount].
rowCount int Number of rows in the analyzed layout.
colCount int Maximum number of columns across all rows.
detectedPattern int The actual layout pattern identified by the engine.
errorCode int 0 for success, non-zero for error.

inferredQuads

Array of newly generated quadrilaterals.

Quadrilateral[] inferredQuads;

elements

A 2D array of layout elements [rowCount][colCount].

LayoutElement[][] elements;

rowCount

Number of rows in the analyzed layout.

int rowCount;

colCount

Maximum number of columns across all rows.

int colCount;

detectedPattern

The actual layout pattern identified by the engine.

@EnumLayoutPattern
int detectedPattern;

errorCode

0 for success, non-zero for error.

int errorCode;

This page is compatible for: