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
- Host: GitHub
- URL: https://github.com/ethand91/python-text-extraction
- Owner: ethand91
- Created: 2022-06-03T08:04:55.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-06-03T08:42:49.000Z (over 3 years ago)
- Last Synced: 2025-01-23T01:32:54.728Z (about 1 year ago)
- Topics: python, python3, tesseract, tutorial
- Language: Python
- Homepage:
- Size: 38.1 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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]
```