AreasType

Inheritance: java.lang.Object, java.lang.Enum

public enum AreasType extends Enum<AreasType>

Determines the type of regions detected by the model.

Fields

FieldDescription
PARAGRAPHSSets regions as paragraphs
LINESSets regions as lines
WORDSSets regions as words

Methods

MethodDescription
values()
valueOf(String name)

PARAGRAPHS

public static final AreasType PARAGRAPHS

Sets regions as paragraphs

LINES

public static final AreasType LINES

Sets regions as lines

WORDS

public static final AreasType WORDS

Sets regions as words

values()

public static AreasType[] values()

Returns: com.aspose.ocr.AreasType[]

valueOf(String name)

public static AreasType valueOf(String name)

Parameters:

ParameterTypeDescription
namejava.lang.String

Returns: AreasType