Googly.CloudVision.Model.TextDetectionParams (googly_cloud_vision v0.1.0)

Copy Markdown View Source

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

Attributes

  • advanced_ocr_options (type: list(String.t())) - 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.
  • enable_text_detection_confidence_score (type: 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.

Summary

Types

t()

@type t() :: %Googly.CloudVision.Model.TextDetectionParams{
  advanced_ocr_options: [String.t()] | nil,
  enable_text_detection_confidence_score: boolean() | nil
}