https://github.com/ganeshaampuh/ktp-ocr
Open Source KTP Extractor (Express, Tesseract.js)
https://github.com/ganeshaampuh/ktp-ocr
image-processing indonesia ktp ocr tesseract
Last synced: 2 months ago
JSON representation
Open Source KTP Extractor (Express, Tesseract.js)
- Host: GitHub
- URL: https://github.com/ganeshaampuh/ktp-ocr
- Owner: ganeshaampuh
- Created: 2024-11-02T12:30:46.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-11-10T10:09:19.000Z (6 months ago)
- Last Synced: 2025-01-23T05:23:16.460Z (4 months ago)
- Topics: image-processing, indonesia, ktp, ocr, tesseract
- Language: JavaScript
- Homepage: https://ktp-ocr.vercel.app
- Size: 3.89 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OCR Kartu Tanda Penduduk (KTP)
OCR application to extract information from Indonesian ID Card (KTP) using Tesseract.js
## Features
- 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## Prerequisites
- Node.js (v12 or higher)
- GraphicsMagick or ImageMagick installed on your system## Installation
1. Clone the repository:
```bash
git clone https://github.com/ganeshaampuh/ocr-ktp.git
```2. Install dependencies:
```bash
npm install
```3. Start the server:
```bash
npm start
```## Usage
- 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## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.