Cloud Document AI v1 API - Class Document.Types.Page.Types.ImageQualityScores.Types.DetectedDefect (3.4.0)

public sealed class 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 v1 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.V1

Assembly

Google.Cloud.DocumentAI.V1.dll

Constructors

DetectedDefect()

public DetectedDefect()

DetectedDefect(Document.Types.Page.Types.ImageQualityScores.Types.DetectedDefect)

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

Properties

Confidence

public float Confidence { get; set; }

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

Property Value
TypeDescription
Single

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