Cloud Vision V1p4beta1 API - Class Google::Cloud::Vision::V1p4beta1::TextDetectionParams (v0.4.0)

Reference documentation and code samples for the Cloud Vision V1p4beta1 API class Google::Cloud::Vision::V1p4beta1::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.