Class: Google::Cloud::Vision::V1p4beta1::TextDetectionParams

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/vision/v1p4beta1/image_annotator.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#advanced_ocr_options::Array<::String>

Returns 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.



572
573
574
575
# File 'proto_docs/google/cloud/vision/v1p4beta1/image_annotator.rb', line 572

class TextDetectionParams
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#enable_text_detection_confidence_score::Boolean

Returns 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.



572
573
574
575
# File 'proto_docs/google/cloud/vision/v1p4beta1/image_annotator.rb', line 572

class TextDetectionParams
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end