https://github.com/nicosnicolaou16/sampleandtestingmachinelearningandroidtextrecogniseimages
This sample project demonstrates Android's Text Recognition in images.
https://github.com/nicosnicolaou16/sampleandtestingmachinelearningandroidtextrecogniseimages
android android-application compose jetpack-compose machine-learning machine-learning-android machine-learning-kit text-recognition text-recognition-android text-recognition-from-image
Last synced: about 1 month ago
JSON representation
This sample project demonstrates Android's Text Recognition in images.
- Host: GitHub
- URL: https://github.com/nicosnicolaou16/sampleandtestingmachinelearningandroidtextrecogniseimages
- Owner: NicosNicolaou16
- License: apache-2.0
- Created: 2023-06-17T20:45:46.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2026-02-22T22:32:52.000Z (3 months ago)
- Last Synced: 2026-02-23T03:17:45.083Z (3 months ago)
- Topics: android, android-application, compose, jetpack-compose, machine-learning, machine-learning-android, machine-learning-kit, text-recognition, text-recognition-android, text-recognition-from-image
- Language: Kotlin
- Homepage: https://medium.com/@nicosnicolaou/android-machine-learning-image-bitmap-text-recognize-31659d5a39d4
- Size: 168 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sample And Testing Machine Learning Android Text Recognise Images
[](https://linktr.ee/nicos_nicolaou)
[](https://nicosnicolaou16.github.io/)
[](https://twitter.com/nicolaou_nicos)
[](https://linkedin.com/in/nicos-nicolaou-a16720aa)
[](https://medium.com/@nicosnicolaou)
[](https://androiddev.social/@nicolaou_nicos)
[](https://bsky.app/profile/nicolaounicos.bsky.social)
[](https://dev.to/nicosnicolaou16)
[](https://www.youtube.com/@nicosnicolaou16)
[](https://g.dev/nicolaou_nicos)
A sample Android project demonstrating how to use **Google's ML Kit** for text recognition in images. This app allows you to select an image from the gallery and then scans it to extract any text found within the image. The entire user interface is built with **Jetpack Compose**.
> [!IMPORTANT]
> For a detailed guide on the setup and implementation, check out my article on Medium:
>
> 👉 **[Android Machine Learning: Image (Bitmap) Text Recognize](https://medium.com/@nicosnicolaou/android-machine-learning-image-bitmap-text-recognize-31659d5a39d4)** 👈
## ✨ Features
* **Image Selection:** Pick an image directly from the device gallery.
* **Text Recognition:** Utilizes Google's ML Kit to scan the selected image and extract text.
* **Modern UI:** A simple and clean interface built entirely with Jetpack Compose.
## 🛠️ Tech Stack & Libraries
* **UI:** [Jetpack Compose](https://developer.android.com/jetpack/compose)
* **Machine Learning:** [Google ML Kit Text Recognition v2](https://developers.google.com/ml-kit/vision/text-recognition/v2/android)
* **Language:** [Kotlin](https://kotlinlang.org)
## 🔧 Versioning
* **Target SDK:** **36**
* **Minimum SDK:** **29**
* **Kotlin Version:** **2.3.10**
* **Gradle Version:** **9.0.1**
## 📚 References & Tutorials
* **Google ML Kit Documentation:** [Text Recognition for Android (v2)](https://developers.google.com/ml-kit/vision/text-recognition/v2/android)
* **Image Picking in Compose:** [How To Pick an Image From Gallery in Jetpack Compose](https://www.howtodoandroid.com/pick-image-from-gallery-jetpack-compose/)
## ⭐ Stargazers
If you enjoy this project, please give it a star!
Check out all the stargazers
here: [Stargazers on GitHub](https://github.com/NicosNicolaou16/SampleAndTestingMachineLearningAndroidTextRecogniseImages/stargazers)
## 🙏 Support & Contributions
This project is actively maintained. Feedback, bug reports, and feature requests are welcome! Please feel free to **open an issue** or submit a **pull request**.