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>
Returns
- (::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::ImageQualityScores::DetectedDefect>) — A list of detected defects.
#detected_defects=
def detected_defects=(value) -> ::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::ImageQualityScores::DetectedDefect>
Parameter
- value (::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::ImageQualityScores::DetectedDefect>) — A list of detected defects.
Returns
- (::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::ImageQualityScores::DetectedDefect>) — A list of detected defects.
#quality_score
def quality_score() -> ::Float
Returns
-
(::Float) — The overall quality score. Range
[0, 1]
where1
is perfect quality.
#quality_score=
def quality_score=(value) -> ::Float
Parameter
-
value (::Float) — The overall quality score. Range
[0, 1]
where1
is perfect quality.
Returns
-
(::Float) — The overall quality score. Range
[0, 1]
where1
is perfect quality.