I'm trying to use regula with androidX for scanning image from gallery.
Can't use this method
val bmp = getBitmap(selectedImage, 1920, 1080)
Instead I use
val imageUri = data.data val btm = getBitmap(activity?.contentResolver, imageUri) DocumentReader.Instance().recognizeImage(btm, completion)
Field "documentReaderResults.textResults" is always null
Can you provide proper method for my case or point on any possible problems?
Thanks in advance
Good day,
I'm trying to use regula with androidX for scanning image from gallery.
Can't use this method
val bmp = getBitmap(selectedImage, 1920, 1080)
Instead I use
val imageUri = data.data val btm = getBitmap(activity?.contentResolver, imageUri) DocumentReader.Instance().recognizeImage(btm, completion)
Field "documentReaderResults.textResults" is always null
Can you provide proper method for my case or point on any possible problems? Thanks in advance