public enum DetectAreasMode extends Enum<DetectAreasMode>
RecognitionSettings to specify which type of image you want to recognize.| Enum Constant and Description |
|---|
CURVED_TEXT
Automatically straightens curved lines of text in the image, improving recognition accuracy
and allowing more text to be recovered and extracted.
|
LEAN
Prioritizes speed and reduces resource consumption by omitting support for complex layouts.
|
MULTICOLUMN
Detects large blocks of text formatted in columns.
|
TABLE
Detects tabular structures in the image and extracts text from individual cells.
|
UNIVERSAL
Detects all blocks of text in the image, including sparse and irregular text on photos.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static DetectAreasMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DetectAreasMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DetectAreasMode TABLE
public static final DetectAreasMode CURVED_TEXT
public static final DetectAreasMode LEAN
public static final DetectAreasMode MULTICOLUMN
public static final DetectAreasMode UNIVERSAL
public static DetectAreasMode[] values()
for (DetectAreasMode c : DetectAreasMode.values()) System.out.println(c);
public static DetectAreasMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getValue()
Copyright © 2025 Aspose. All rights reserved.