@Generated(value="OracleSDKGenerator", comments="API Version: 20220125") public final class ImageTextDetectionFeature extends ImageFeature
The text detection parameters.
Note: Objects should always be created or deserialized using the ImageTextDetectionFeature.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the ImageTextDetectionFeature.Builder
, which maintain a
set of all explicitly set fields called ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and
equals(Object)
methods are implemented to take ExplicitlySetBmcModel.__explicitlySet__
into account.
The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the
constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
ImageTextDetectionFeature.Builder |
ImageFeature.FeatureType
Constructor and Description |
---|
ImageTextDetectionFeature(DocumentLanguage language)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ImageTextDetectionFeature.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
DocumentLanguage |
getLanguage()
The language of the document image, abbreviated according to ISO 639-2.
|
int |
hashCode() |
ImageTextDetectionFeature.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public ImageTextDetectionFeature(DocumentLanguage language)
public static ImageTextDetectionFeature.Builder builder()
Create a new builder.
public ImageTextDetectionFeature.Builder toBuilder()
public DocumentLanguage getLanguage()
The language of the document image, abbreviated according to ISO 639-2.
public String toString()
toString
in class ImageFeature
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class ImageFeature
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class ImageFeature
public int hashCode()
hashCode
in class ImageFeature
Copyright © 2016–2023. All rights reserved.