Skip to content

Simple POC with OpenAI API to OCR Indonesian identity (KTP) & tax (NPWP) documents

Notifications You must be signed in to change notification settings

tekina/openai-doc-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Doc OCR Tool

The Doc OCR Tool is a web-based application for extracting details from Indonesian KTP (ID cards) and NPWP (taxpayer) documents using Optical Character Recognition (OCR) with OpenAI's GPT-4o API. Users can upload images of KTP or NPWP documents, and the tool will extract and display relevant information in a structured format.

Features

  • KTP and NPWP Document Processing: Select between KTP and NPWP document types to extract relevant details.
  • Image Upload: Supports image upload in JPG, PNG, or similar formats.
  • OCR and Structured Data Extraction: Uses OpenAI's GPT-4o-mini model to extract and structure text from uploaded images.
  • Dynamic Error Handling: Displays error messages for unsupported files, connection issues, or unprocessed images.

Try it yourself

Website

Tech Stack

  • Frontend: HTML, CSS, JavaScript
  • Backend: Python, Flask
  • OCR Processing: OpenAI's GPT-4o-mini model

About

Simple POC with OpenAI API to OCR Indonesian identity (KTP) & tax (NPWP) documents

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published