Class TextDetectionParams (2.1.2)

public final class TextDetectionParams extends GeneratedMessageV3 implements TextDetectionParamsOrBuilder

Parameters for text detections. This is used to control TEXT_DETECTION and DOCUMENT_TEXT_DETECTION features.

Protobuf type google.cloud.vision.v1p1beta1.TextDetectionParams

Static Fields

ENABLE_TEXT_DETECTION_CONFIDENCE_SCORE_FIELD_NUMBER

public static final int ENABLE_TEXT_DETECTION_CONFIDENCE_SCORE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TextDetectionParams getDefaultInstance()
Returns
TypeDescription
TextDetectionParams

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static TextDetectionParams.Builder newBuilder()
Returns
TypeDescription
TextDetectionParams.Builder

newBuilder(TextDetectionParams prototype)

public static TextDetectionParams.Builder newBuilder(TextDetectionParams prototype)
Parameter
NameDescription
prototypeTextDetectionParams
Returns
TypeDescription
TextDetectionParams.Builder

parseDelimitedFrom(InputStream input)

public static TextDetectionParams parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TextDetectionParams
Exceptions
TypeDescription