Class: Google::Cloud::DocumentAI::V1beta3::Document::Page::ImageQualityScores::DetectedDefect
- Inherits:
-
Object
- Object
- Google::Cloud::DocumentAI::V1beta3::Document::Page::ImageQualityScores::DetectedDefect
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/documentai/v1beta3/document.rb
Overview
Image Quality Defects
Instance Attribute Summary collapse
-
#confidence ⇒ ::Float
Confidence of detected defect.
-
#type ⇒ ::String
Name of the defect type.
Instance Attribute Details
#confidence ⇒ ::Float
Returns Confidence of detected defect. Range [0, 1]
where 1
indicates
strong confidence that the defect exists.
660 661 662 663 |
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 660 class DetectedDefect include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#type ⇒ ::String
Returns 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
.
660 661 662 663 |
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 660 class DetectedDefect include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |