# Cloud Vision V1p3beta1 API - Class Google::Cloud::Vision::V1p3beta1::TextDetectionParams (v0.20.0)

0.20.0 (latest) 0.19.1 0.18.1 0.17.0 0.16.0 0.15.1 0.14.0 0.13.1 0.12.2 0.11.0 0.10.1 0.9.0 0.8.0 0.7.0 0.6.0 0.5.5 Reference documentation and code samples for the Cloud Vision V1p3beta1 API class Google::Cloud::Vision::V1p3beta1::TextDetectionParams.

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

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #advanced_ocr_options

    def advanced_ocr_options() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- A list of advanced OCR options to fine-tune OCR behavior.

### #advanced_ocr_options=

    def advanced_ocr_options=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- A list of advanced OCR options to fine-tune OCR behavior.
**Returns**

- (::Array\<::String\>) --- A list of advanced OCR options to fine-tune OCR behavior.

### #enable_text_detection_confidence_score

    def enable_text_detection_confidence_score() -> ::Boolean

**Returns**

- (::Boolean) --- By default, Cloud Vision API only includes confidence score for DOCUMENT_TEXT_DETECTION result. Set the flag to true to include confidence score for TEXT_DETECTION as well.

### #enable_text_detection_confidence_score=

    def enable_text_detection_confidence_score=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- By default, Cloud Vision API only includes confidence score for DOCUMENT_TEXT_DETECTION result. Set the flag to true to include confidence score for TEXT_DETECTION as well.
**Returns**

- (::Boolean) --- By default, Cloud Vision API only includes confidence score for DOCUMENT_TEXT_DETECTION result. Set the flag to true to include confidence score for TEXT_DETECTION as well.