DetectAreasMode

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

public enum DetectAreasMode extends Enum<DetectAreasMode>

Fields

FieldDescription
NONEDoesn’t detect paragraphs.
DOCUMENTDetects paragraphs uses NN model for documents.
PHOTODetects paragraphs uses NN model for photos.
COMBINEDetects paragraphs with text and then uses other NN model to detect areas inside of paragraphs.
TABLEDetects cells with text.
CURVED_TEXTDetects lines and recognizes text on curved images.
TEXT_IN_WILDA super-powerful neural network specialized in extracting words from low-quality images such as street photos, license plates, passport photos, meter photos, and photos with noisy backgrounds.

Methods

MethodDescription
values()
valueOf(String name)

NONE

public static final DetectAreasMode NONE

Doesn’t detect paragraphs. Better for a simple one-column document without pictures.

DOCUMENT

public static final DetectAreasMode DOCUMENT

Detects paragraphs uses NN model for documents. Better for multicolumn document, document with pictures or with other not text objects.

PHOTO

public static final DetectAreasMode PHOTO

Detects paragraphs uses NN model for photos. Better for image with a lot of pictures and other not text objects.

COMBINE

public static final DetectAreasMode COMBINE

Detects paragraphs with text and then uses other NN model to detect areas inside of paragraphs. Better for images with complex structure.

TABLE

public static final DetectAreasMode TABLE

Detects cells with text. Preferable mode for images with table structure.

CURVED_TEXT

public static final DetectAreasMode CURVED_TEXT

Detects lines and recognizes text on curved images. Preferred mode for photos of book and magazine pages.

TEXT_IN_WILD

public static final DetectAreasMode TEXT_IN_WILD

A super-powerful neural network specialized in extracting words from low-quality images such as street photos, license plates, passport photos, meter photos, and photos with noisy backgrounds.

values()

public static DetectAreasMode[] values()

Returns: com.aspose.ocr.DetectAreasMode[]

valueOf(String name)

public static DetectAreasMode valueOf(String name)

Parameters:

ParameterTypeDescription
namejava.lang.String

Returns: DetectAreasMode