Class DocumentRecognizerManager


  • public class DocumentRecognizerManager
    extends java.lang.Object
    • Constructor Detail

      • DocumentRecognizerManager

        public DocumentRecognizerManager()
    • Method Detail

      • getRecognizersFor

        @NonNull
        public java.util.List<Recognizer> getRecognizersFor​(@NonNull
                                                            DocumentSide documentSide)
      • canScanDocument

        public boolean canScanDocument()
      • getTimeoutMs

        public int getTimeoutMs()
      • saveBundleState

        public void saveBundleState()
      • clearBundleState

        public void clearBundleState()
      • hasInvalidDocumentDataMatch

        public boolean hasInvalidDocumentDataMatch()
      • getConcreteRecognizer

        @AnyThread
        public Recognizer<?> getConcreteRecognizer​(Recognizer recognizer)
        Unwraps and returns concrete recognizer if it is wrapped inside given recognizer, e.g. SuccessFrameGrabberRecognizer, or returns given recognizer if it is not wrapper.
        Parameters:
        recognizer - recognizer which contains concrete recognizer, or concrete recognizer
        Returns:
        unwrapped recognizer or simply returns given recognizer if it is not wrapped