Skip to content

swieke/driving-license-ocr-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Indonesian Driving License OCR Service (API)

An OCR API service for a cropped Indonesian Driving License

  • Extracts all text data

Third party library used:

kraken, CV, Tesseract

Instructions:

  1. Install requirements in requirements.txt
  2. Run home.py for API testing

Output:

json = {
        "message"       : "OCR Success",
        "success"       : True,
        "documentType"  : "SIMprocessed",
        "data"          : {
            "Nama" : nama,
            "Alamat": alamat,
            "JenisKelamin": kelamin,
            "TempatLahir" : teL,
            "TanggalLahir": taL,
            "Tinggi": tinggi,
            "Pekerjaan": pekerjaan,
            "NoSIM": noSIM,
            "JenisSIM": jenisSim,
            "mb":mb
        },
        "img"           : {
            "sim": filename,
        }
    }

About

Indonesian Driving License OCR Service (API)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages