public enum DetectAreasMode extends Enum<DetectAreasMode>
RecognitionSettings
to specify which type of image you want to recognize.Enum Constant and Description |
---|
COMBINE
Detects paragraphs with text and then uses other NN model to detect areas inside of paragraphs.
|
DOCUMENT
Detects paragraphs uses NN model for documents.
|
NONE
Doesn't detect paragraphs.
|
PHOTO
Detects paragraphs uses NN model for photos.
|
Modifier and Type | Method and Description |
---|---|
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 NONE
public static final DetectAreasMode DOCUMENT
public static final DetectAreasMode PHOTO
public static final DetectAreasMode COMBINE
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 nullCopyright © 2022 Aspose. All rights reserved.