AutoForm / README.md
Aadityaramrame's picture
Update README.md
8efbdc8 verified
---
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: