public class DocumentRecognitionState
State of the recognition process
public DocumentRecognitionState(double averageConfidence,
@NotNull
DocumentRecognitionStep step,
@NotNull
java.util.Map<io.scanbot.genericdocument.entity.GenericDocument.Type,io.scanbot.genericdocument.entity.GenericDocument> documents)
State of the recognition process
averageConfidence - average confidence of all the documentsstep - current step of the processdocuments - documents which were already scannedpublic double getAverageConfidence()
average confidence of all the documents
@NotNull public DocumentRecognitionStep getStep()
current step of the process
@NotNull public java.util.Map<io.scanbot.genericdocument.entity.GenericDocument.Type,io.scanbot.genericdocument.entity.GenericDocument> getDocuments()
documents which were already scanned
public double component1()
average confidence of all the documents
@NotNull public DocumentRecognitionStep component2()
current step of the process
@NotNull public java.util.Map<io.scanbot.genericdocument.entity.GenericDocument.Type,io.scanbot.genericdocument.entity.GenericDocument> component3()
documents which were already scanned
@NotNull public DocumentRecognitionState copy(double averageConfidence, @NotNull DocumentRecognitionStep step, @NotNull java.util.Map<io.scanbot.genericdocument.entity.GenericDocument.Type,io.scanbot.genericdocument.entity.GenericDocument> documents)
State of the recognition process
averageConfidence - average confidence of all the documentsstep - current step of the processdocuments - documents which were already scanned@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)