Cloud Document AI v1beta3 API - Class Document.Types.Page.Types.ImageQualityScores.Types.DetectedDefect (2.0.0-beta18)

public sealed class Document.Types.Page.Types.ImageQualityScores.Types.DetectedDefect : IMessage<Document.Types.Page.Types.ImageQualityScores.Types.DetectedDefect>, IEquatable<Document.Types.Page.Types.ImageQualityScores.Types.DetectedDefect>, IDeepCloneable<Document.Types.Page.Types.ImageQualityScores.Types.DetectedDefect>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Document AI v1beta3 API class Document.Types.Page.Types.ImageQualityScores.Types.DetectedDefect.

Image Quality Defects

Inheritance

object > Document.Types.Page.Types.ImageQualityScores.Types.DetectedDefect

Namespace

Google.Cloud.DocumentAI.V1Beta3

Assembly

Google.Cloud.DocumentAI.V1Beta3.dll

Constructors

DetectedDefect()

public DetectedDefect()

DetectedDefect(DetectedDefect)

public DetectedDefect(Document.Types.Page.Types.ImageQualityScores.Types.DetectedDefect other)
Parameter
NameDescription
otherDocumentTypesPageTypesImageQualityScoresTypesDetectedDefect

Properties

Confidence

public float Confidence { get; set; }

Confidence of detected defect. Range [0, 1] where 1 indicates strong confidence that the defect exists.

Property Value
TypeDescription
float

Type

public string Type { get; set; }

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
Property Value
TypeDescription
string