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

https://github.com/ethand91/python-text-extraction

Simple Python text extraction using Tesseract OCR
https://github.com/ethand91/python-text-extraction

python python3 tesseract tutorial

Last synced: 6 months ago
JSON representation

Simple Python text extraction using Tesseract OCR

Awesome Lists containing this project

README

          

# Introduction

A simple Python program that extracts text from an image file and saves it in a file called "results.txt".

---

## How to use

First create a Python virtual environment via the following command:

```bash
python3 -m venv env
source env/bin/activate
```

Then run the following command replacing the image file with the image you want to extract the text from.

```bash
python main.py -i [image file]
```