Table of contents

LayoutAnalyzer

The LayoutAnalyzer class provides a high-performance layout analysis engine. It analyzes the spatial distribution of quadrilaterals to detect and map structural patterns (Lines or Matrix), with logical grid position mapping and gap-filling inference.

Definition

Package: com.dynamsoft.utility

public final class LayoutAnalyzer

Methods

Method Description
analyze Performs layout analysis on an array of quadrilaterals and returns a result set.

analyze

Performs layout analysis and returns a result set.

public static LayoutAnalysisResult analyze(Quadrilateral[] inputQuads, LayoutAnalysisParameter parameter)
public static LayoutAnalysisResult analyze(Quadrilateral[] inputQuads)

Parameters

inputQuads Array of input quadrilaterals.

parameter Optional parameters to constrain the analysis.

Return Value

Returns a LayoutAnalysisResult object, or null on failure.

See Also

Quadrilateral

LayoutAnalysisParameter

LayoutAnalysisResult

This page is compatible for: