read Function
@JvmOverloads external fun read(reader: ScanReader, callback: ScanReader.DisplayCallback? = null)
Recognises the text on this page.
The result is stored in scanText and reported in this image’s coordinates.
Parameters
- reader — the reader to recognise with
- callback — receives the image recognition ran on, if you want to show it
Throws
- ScanningSdkException — if this page or the reader has been closed, or if recognition fails