Interface OcrCallback


@WorkerThread public interface OcrCallback
Callback that will be invoked with displayable OCR result obtained during recognition process. NOTE: this callback will only be called if license allows returning OCR results to public API.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onOcrResult(DisplayableOcrResult displayableOcrResult)
    Called when OCR result should be displayed on screen.
  • Method Details

    • onOcrResult

      void onOcrResult(@NonNull DisplayableOcrResult displayableOcrResult)
      Called when OCR result should be displayed on screen. NOTE: this method will only be called if license allows returning OCR results to public API.
      Parameters:
      displayableOcrResult - OCR result to be displayed