WelcomeUser Guide
ToSPrivacyCanary
DonateBugsLicense

©2024 Poal.co

1.4K

This one is pretty simple.

If you haven't already be sure to setup storage in Termux

  • termux-setup-storage

Install

  • pkg update
  • pkg install tesseract

Select y and press enter when prompted.

One liner

  • pkg update && pkg install tesseract -y

Usage

tesseract "./storage/downloads/eurotext.png" eurotext

This will give you eurotext.txt

In Termux it will be located at ./eurotext.txt

In Android filebrowser it will be at /data/data/com.termux/files/home or /data/user/0/com.termux/files/home

I recommend just using stdout to get the results directly in the terminal tesseract "./storage/downloads/eurotext.png" -

Also works with image urls tesseract "https://tesseract-ocr.github.io/tessdoc/images/eurotext.png" -

Resources

Command Line Usage (tesseract-ocr.github.io)

Tesseract Manual (github.com)

This one is pretty simple. If you haven't already be sure to setup storage in Termux - `termux-setup-storage` ## Install - `pkg update` - `pkg install tesseract` Select `y` and press enter when prompted. One liner - `pkg update && pkg install tesseract -y` ## Usage `tesseract "./storage/downloads/eurotext.png" eurotext` This will give you `eurotext.txt` In Termux it will be located at `./eurotext.txt` In Android filebrowser it will be at `/data/data/com.termux/files/home` or `/data/user/0/com.termux/files/home` I recommend just using stdout to get the results directly in the terminal `tesseract "./storage/downloads/eurotext.png" -` Also works with image urls `tesseract "https://tesseract-ocr.github.io/tessdoc/images/eurotext.png" -` ## Resources [Command Line Usage](https://tesseract-ocr.github.io/tessdoc/Command-Line-Usage.html#simplest-invocation-to-ocr-an-image) [Tesseract Manual](https://github.com/tesseract-ocr/tesseract/blob/main/doc/tesseract.1.asc)

(post is archived)