Class DocumentRecognitionState
-
- All Implemented Interfaces:
public final class DocumentRecognitionState
State of the recognition process
-
-
Field Summary
Fields Modifier and Type Field Description private final Double
averageConfidence
private final DocumentRecognitionStep
step
private final Map<GenericDocument.Type, GenericDocument>
documents
-
Constructor Summary
Constructors Constructor Description DocumentRecognitionState(Double averageConfidence, DocumentRecognitionStep step, Map<GenericDocument.Type, GenericDocument> documents)
-
Method Summary
Modifier and Type Method Description final Double
getAverageConfidence()
final DocumentRecognitionStep
getStep()
final Map<GenericDocument.Type, GenericDocument>
getDocuments()
-
-
Constructor Detail
-
DocumentRecognitionState
DocumentRecognitionState(Double averageConfidence, DocumentRecognitionStep step, Map<GenericDocument.Type, GenericDocument> documents)
- Parameters:
averageConfidence
- average confidence of all the documentsstep
- current step of the processdocuments
- documents which were already scanned
-
-
Method Detail
-
getAverageConfidence
final Double getAverageConfidence()
-
getStep
final DocumentRecognitionStep getStep()
-
getDocuments
final Map<GenericDocument.Type, GenericDocument> getDocuments()
-
-
-
-