public static interface Document.Page.ImageQualityScores.DetectedDefectOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
float |
getConfidence()
Confidence of detected defect.
|
String |
getType()
Name of the defect type.
|
com.google.protobuf.ByteString |
getTypeBytes()
Name of the defect type.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getType()
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`
string type = 1;com.google.protobuf.ByteString getTypeBytes()
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`
string type = 1;float getConfidence()
Confidence of detected defect. Range `[0, 1]` where `1` indicates strong confidence that the defect exists.
float confidence = 2;Copyright © 2023 Google LLC. All rights reserved.