This sample and testing project contain the Android Text Recognise Images. The project is two simple buttons to select an image from gallery and scan for text. The project is implemented with Jetpack Compose.
https://developers.google.com/ml-kit/vision/text-recognition/v2/android
https://medium.com/@hassnaaitali/text-recognition-using-ml-kit-on-android-863735d54f95
https://www.howtodoandroid.com/pick-image-from-gallery-jetpack-compose/