Reference documentation and code samples for the Document AI V1beta3 API class Google::Cloud::DocumentAI::V1beta3::Document::Page::ImageQualityScores::DetectedDefect.
Image Quality Defects
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#confidence
def confidence() -> ::Float
Returns
-
(::Float) — Confidence of detected defect. Range
[0, 1]
where1
indicates strong confidence that the defect exists.
#confidence=
def confidence=(value) -> ::Float
Parameter
-
value (::Float) — Confidence of detected defect. Range
[0, 1]
where1
indicates strong confidence that the defect exists.
Returns
-
(::Float) — Confidence of detected defect. Range
[0, 1]
where1
indicates strong confidence that the defect exists.
#type
def type() -> ::String
Returns
-
(::String) —
Name of the defect type. Supported values are:
quality/defect_blurry
quality/defect_noisy
quality/defect_dark
quality/defect_faint
quality/defect_text_too_small
quality/defect_document_cutoff
quality/defect_text_cutoff
quality/defect_glare
#type=
def type=(value) -> ::String
Parameter
-
value (::String) —
Name of the defect type. Supported values are:
quality/defect_blurry
quality/defect_noisy
quality/defect_dark
quality/defect_faint
quality/defect_text_too_small
quality/defect_document_cutoff
quality/defect_text_cutoff
quality/defect_glare
Returns
-
(::String) —
Name of the defect type. Supported values are:
quality/defect_blurry
quality/defect_noisy
quality/defect_dark
quality/defect_faint
quality/defect_text_too_small
quality/defect_document_cutoff
quality/defect_text_cutoff
quality/defect_glare