OCR application to extract information from Indonesian ID Card (KTP) using Tesseract.js
- Extract text from KTP images
- Parse extracted text into structured data
- Support for common KTP fields (NIK, Name, Address, etc.)
- Image preprocessing for better OCR accuracy
- Node.js (v12 or higher)
- GraphicsMagick or ImageMagick installed on your system
- Clone the repository:
git clone https://github.com/ganeshaampuh/ocr-ktp.git
- Install dependencies:
npm install
- Start the server:
npm start
- Upload an image of a KTP card
- The application will extract the text and parse it into structured data
- The structured data will be displayed in the response
This project is licensed under the MIT License. See the LICENSE file for details.