Skip to content

JeremyComelli1/ocr-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple script for OCR

Currently uses tesseract.

Installation

First install Tesseract

sudo apt update
sudo apt install tesseract-ocr

Then create a venv using python 3.11.2

python3 -m venv -r requirements.txt

Usage

Populate the "images" folder with images you want to process.

source .venv/bin/activate
chmod +x main.py
./main.py

The script will look for written serial numbers (starting with S/N) and add them to 'output.txt' in a json format. Currently, the script does 2 passes with 2 different algorithms, so the data can be present twice.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages