public static interface Document.Page.ImageQualityScores.DetectedDefectOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getConfidence()
public abstract float getConfidence() Confidence of detected defect. Range [0, 1] where 1 indicates
strong confidence that the defect exists.
float confidence = 2;
| Returns | |
|---|---|
| Type | Description |
float |
The confidence. |
getType()
public abstract String getType()Name of the defect type. Supported values are:
quality/defect_blurryquality/defect_noisyquality/defect_darkquality/defect_faintquality/defect_text_too_smallquality/defect_document_cutoffquality/defect_text_cutoffquality/defect_glare
string type = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The type. |
getTypeBytes()
public abstract ByteString getTypeBytes()Name of the defect type. Supported values are:
quality/defect_blurryquality/defect_noisyquality/defect_darkquality/defect_faintquality/defect_text_too_smallquality/defect_document_cutoffquality/defect_text_cutoffquality/defect_glare
string type = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for type. |