An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# Sample And Testing Machine Learning Android Text Recognise Images

[![Linktree](https://img.shields.io/badge/linktree-1de9b6?style=for-the-badge&logo=linktree&logoColor=white)](https://linktr.ee/nicos_nicolaou)
[![Site](https://img.shields.io/badge/Site-blue?style=for-the-badge&label=Web)](https://nicosnicolaou16.github.io/)
[![X](https://img.shields.io/badge/X-%23000000.svg?style=for-the-badge&logo=X&logoColor=white)](https://twitter.com/nicolaou_nicos)
[![LinkedIn](https://img.shields.io/badge/linkedin-%230077B5.svg?style=for-the-badge&logo=linkedin&logoColor=white)](https://linkedin.com/in/nicos-nicolaou-a16720aa)
[![Medium](https://img.shields.io/badge/Medium-12100E?style=for-the-badge&logo=medium&logoColor=white)](https://medium.com/@nicosnicolaou)
[![Mastodon](https://img.shields.io/badge/-MASTODON-%232B90D9?style=for-the-badge&logo=mastodon&logoColor=white)](https://androiddev.social/@nicolaou_nicos)
[![Bluesky](https://img.shields.io/badge/Bluesky-0285FF?style=for-the-badge&logo=Bluesky&logoColor=white)](https://bsky.app/profile/nicolaounicos.bsky.social)
[![Dev.to blog](https://img.shields.io/badge/dev.to-0A0A0A?style=for-the-badge&logo=dev.to&logoColor=white)](https://dev.to/nicosnicolaou16)
[![YouTube](https://img.shields.io/badge/YouTube-%23FF0000.svg?style=for-the-badge&logo=YouTube&logoColor=white)](https://www.youtube.com/@nicosnicolaou16)
[![Google Developer Profile](https://img.shields.io/badge/Developer_Profile-blue?style=for-the-badge&label=Google)](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**.