Skip to content

OCR (Tesseract)

Android OCR service that other apps call through Intents, using Tesseract or ML Kit

Permissive (OSI) · Apache-2.0
  • Android

Listed by , founder & editor

14

Health

Dormant

Overview

Stars

86

Last commit

2 years ago

Mar 2025

Repository age

6 years

since Oct 2020

Latest version

r10

Mar 2025

Contributors

–

Releases

0

last 12 months

Language

Java

This Android app provides text recognition to other apps. It does not work as a standalone scanner. A client app sends an Intent with the action org.totschnig.ocr.action.RECOGNIZE and a URI that points to a JPEG file. The app returns the recognized text in a result extra.

The recognition engine depends on the product flavor. One build uses Google's ML Kit. The other uses Tesseract through the Tesseract4Android library. The app is written in Java, licensed under Apache-2.0, and available through F-Droid.

The MyExpenses app is the reference client. It shows how to start the activity and how to process the result. You would use this as a building block if you develop an Android app and want OCR without bundling the engine yourself. It has no specific commercial product it replaces.

Who it's for

Android developers adding receipt or document scanning to an app

You can call it with a single Intent and get text back without shipping an OCR engine yourself.

Skip if: You need a ready-to-use scanner with its own interface, since this app only responds to Intents.

MyExpenses users who want OCR on receipts

MyExpenses is the reference client, so the integration is already worked out.

Skip if: You do not use an app that can call this Intent.

The problem it solves

Android apps that need to read text from photos usually have to bundle an OCR engine. This app offers recognition as a shared service that other apps can call through an Intent.

Strengths

  • Simple Intent interface with one action and a JPEG URI
  • Two engine options: Tesseract through Tesseract4Android, or ML Kit
  • Apache-2.0 license allows reuse in other projects
  • Available from F-Droid
  • MyExpenses provides a working client example

Trade-offs

  • No standalone interface for scanning documents
  • Only JPEG input is expected
  • No commits since March 2025 and no recent releases
  • Android only

Frequently asked questions

Is it free and open source?

Yes. It is licensed under Apache-2.0 and the source is on GitHub.

Which platforms does it run on?

Android only. You can install it from F-Droid.

Which OCR engines does it use?

Depending on the product flavor, it uses either ML Kit or Tesseract through Tesseract4Android.

How do other apps use it?

They send an Intent with the action org.totschnig.ocr.action.RECOGNIZE and a URI to a JPEG file. The text comes back in the result extra.

Similar tools in OCR and text recognition

FPInk

OCR and text recognition

Offline Android app that turns fountain-pen notes into searchable text with ink colors

7 29 days ago Slowing GPL-3.0

Glyfen

OCR and text recognition

5 5 months ago Slowing MIT

OCRFeeder

OCR and text recognition

GPL-3.0+

Rescribe

OCR and text recognition

GPL-3.0

NormCap

OCR and text recognition

OCR screen-capture tool that copies text from the screen instead of saving images

2.8k 127 33 days ago Active GPL-3.0-or-later