onProgress Function

open fun onProgress(page: Int, progress: Int, box: RectF?)

Reports how far recognition has got, for driving a progress indicator.

Parameters

  • page — the page being recognised, counting from zero
  • progress — -1 when page is analyzing. 0..70 for recognition first pass. 70..100 for recognition second pass
  • box — the region currently being recognised.
Top