Class DetectedDefect (2.29.0)

DetectedDefect(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Image Quality Defects

Attributes

Name Description
type_ str
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
confidence float
Confidence of detected defect. Range [0, 1] where 1 indicates strong confidence that the defect exists.