egillanton / text-correction-toolkit

Text Correction Toolkit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Text Correction Toolkit

Screenshot

Table of Contents

Click to expand
  1. Introduction
  2. Setup
  3. License
  4. References

1 Introduction

This is a frontend tool used for text correction on extracted OCR text from images. Runs on top of a Flask Micro-Web Server

2 Setup

Install Python 3.8

Run the following commands as root or user with sudo access to update the packages list and install the prerequisites:

sudo apt update
sudo apt install software-properties-common

Add the deadsnakes PPA to your system’s sources list:

sudo add-apt-repository ppa:deadsnakes/ppa

When prompted press Enter to continue:

Press [ENTER] to continue or Ctrl-c to cancel adding it.

Once the repository is enabled, install Python 3.8 with:

sudo apt install python3.8

Verify that the installation was successful by typing:

python3.8 --version

Create Virtual Enviroment

Create

virtualenv -p /usr/bin/python3.8 venv

Activate

. venv/bin/activate

Install Packages

pip install -r requirements.txt

Set Enviroment Variables

export FLASK_APP=app
export FLASK_ENV=development
export FLASK_DEBUG=1

Run Server

flask run

3. License

This project is licensed under the GNU General Public License, Version 3.0 - see the LICENSE file for details.

4. References

🌟 PLEASE STAR THIS REPO IF YOU FOUND SOMETHING INTERESTING 🌟

About

Text Correction Toolkit

License:GNU General Public License v3.0


Languages

Language:HTML 46.8%Language:JavaScript 22.6%Language:Python 19.1%Language:CSS 11.4%