Skip to content

revanmd/KTP-OCR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KTP OCR

Indonesian ID Card OCR using tesseract OCR

KTP OCR is python-flask with tesseract web application to convert Indonesian ID Card to text / JSON Data

  • convert KTP to JSON
  • word correction with edit distance for correcting kecamatan & tempat lahir
  • text preprocessing for enhance the quality of result (in progres)

Installation (UBUNTU)

KTP OCR needs Python 3+ and tesseract OCR. Currently i'm using Ubuntu 20.0 and its running normaly.

To install tesseract OCR Click here

  1. Clone GIT Repository
    git clone https://github.com/revanmd/KTP-OCR.git
  2. Go root directory of this project
    cd KTP-OCR
  3. Optionally to use Virtual ENV (You can skip this step if you want install dependencies globaly)
    virtualenv venv
    source venv/bin/activate
  4. Install dependencies
    pip install -r requirement.txt
  5. running the server, this is for development server
    python wsgi.py

Production

You can use gunicorn if using virtual env using this command

venv/bin/gunicorn -b 0.0.0.0:5000 -w 5 wsgi:app

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published