Document AI V1 API - Class Google::Cloud::DocumentAI::V1::Document::Page::ImageQualityScores (v0.22.0)

Reference documentation and code samples for the Document AI V1 API class Google::Cloud::DocumentAI::V1::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::V1::Document::Page::ImageQualityScores::DetectedDefect>

#detected_defects=

def detected_defects=(value) -> ::Array<::Google::Cloud::DocumentAI::V1::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.