LayoutAnalysisParameter
The LayoutAnalysisParameter class holds input parameters to guide the layout analysis.
Definition
Package: com.dynamsoft.utility
class LayoutAnalysisParameter
Attributes
| Attribute | Type | Description |
|---|---|---|
pattern |
int | Desired layout pattern. |
axes |
LayoutAxis[] | Configuration for Primary (0) and Secondary (1) axes. |
inputImageWidth |
int | Width of the source image in pixels. |
inputImageHeight |
int | Height of the source image in pixels. |
Constructors
| Constructor | Description |
|---|---|
LayoutAnalysisParameter() |
Initializes a new instance with default values. |
pattern
Desired layout pattern. Use LP_UNKNOWN for auto-detection.
public @EnumLayoutPattern int pattern = EnumLayoutPattern.LP_UNKNOWN;
See Also
axes
Configuration for Primary (axis 0) and Secondary (axis 1) axes.
public LayoutAxis[] axes;
See Also
inputImageWidth
Width of the source image in pixels. When provided, prevents inferred quads from extending beyond the image bounds. Default: 0 (no boundary check).
public int inputImageWidth = 0;
inputImageHeight
Height of the source image in pixels. When provided, prevents inferred quads from extending beyond the image bounds. Default: 0 (no boundary check).
public int inputImageHeight = 0;