File size: 838 Bytes
720db82 8efbdc8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
---
title: AUTOFILL FORM
emoji: π»
colorFrom: blue
colorTo: red
sdk: gradio
sdk_version: 5.49.1
app_file: app.py
pinned: false
short_description: IT IS OCR+GEMINI PIPELINE FOR AUTOMATIC FORMFILLING
---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
# π§ AutoFill Form Extractor
This app extracts structured information from documents (like PAN Card forms) using:
- **OCR (pytesseract)** for text extraction
- **Gemini 1.5 Flash** for intelligent field parsing
## π How to Use
1. Upload a PDF document (e.g., PAN Card)
2. Select the form type
3. View the extracted JSON output
## π§© Tech Stack
- Python + Gradio
- Google Gemini API
- Tesseract OCR
- pdf2image
## π Environment Variable
Set your Gemini API key in Hugging Face Space β Settings β Variables and Secrets:
|