Class: Google::Cloud::DocumentAI::V1beta3::Document::Page::ImageQualityScores
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Cloud::DocumentAI::V1beta3::Document::Page::ImageQualityScores
 
 
- Extended by:
 - Protobuf::MessageExts::ClassMethods
 
- Includes:
 - Protobuf::MessageExts
 
- Defined in:
 - proto_docs/google/cloud/documentai/v1beta3/document.rb
 
Overview
Image quality scores for the page image.
Defined Under Namespace
Classes: DetectedDefect
Instance Attribute Summary collapse
- 
  
    
      #detected_defects  ⇒ ::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::ImageQualityScores::DetectedDefect> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A list of detected defects.
 - 
  
    
      #quality_score  ⇒ ::Float 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The overall quality score.
 
Instance Attribute Details
#detected_defects ⇒ ::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Page::ImageQualityScores::DetectedDefect>
Returns A list of detected defects.
      652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677  | 
    
      # File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 652 class ImageQualityScores include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Image Quality Defects # @!attribute [rw] type # @return [::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` # @!attribute [rw] confidence # @return [::Float] # Confidence of detected defect. Range `[0, 1]` where `1` indicates # strong confidence that the defect exists. class DetectedDefect include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end  | 
  
#quality_score ⇒ ::Float
Returns The overall quality score. Range [0, 1] where 1 is perfect quality.
      652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677  | 
    
      # File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 652 class ImageQualityScores include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Image Quality Defects # @!attribute [rw] type # @return [::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` # @!attribute [rw] confidence # @return [::Float] # Confidence of detected defect. Range `[0, 1]` where `1` indicates # strong confidence that the defect exists. class DetectedDefect include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end  |