Cloud Vision V1 API - Class Google::Cloud::Vision::V1::TextDetectionParams (v0.6.4)

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

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