Document AI V1beta3 API - Class Google::Cloud::DocumentAI::V1beta3::Document::Page::ImageQualityScores (v0.21.0)

Reference documentation and code samples for the Document AI V1beta3 API class Google::Cloud::DocumentAI::V1beta3::Document::Page::ImageQualityScores.

Image Quality Scores for the page image

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#detected_defects

def detected_defects() -> ::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::ImageQualityScores::DetectedDefect>

#detected_defects=

def detected_defects=(value) -> ::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::ImageQualityScores::DetectedDefect>
Parameter

#quality_score

def quality_score() -> ::Float
Returns
  • (::Float) — The overall quality score. Range [0, 1] where 1 is perfect quality.

#quality_score=

def quality_score=(value) -> ::Float
Parameter
  • value (::Float) — The overall quality score. Range [0, 1] where 1 is perfect quality.
Returns
  • (::Float) — The overall quality score. Range [0, 1] where 1 is perfect quality.