View Source GoogleApi.Vision.V1.Model.TextDetectionParams (google_api_vision v0.25.0)

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

Attributes

  • advancedOcrOptions (type: list(String.t), default: nil) - A list of advanced OCR options to further fine-tune OCR behavior. Current valid values are: - legacy_layout: a heuristics layout detection algorithm, which serves as an alternative to the current ML-based layout detection algorithm. Customers can choose the best suitable layout algorithm based on their situation.
  • enableTextDetectionConfidenceScore (type: boolean(), default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Vision.V1.Model.TextDetectionParams{
  advancedOcrOptions: [String.t()] | nil,
  enableTextDetectionConfidenceScore: boolean() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.