AI Form Extractor is a backend and frontend application designed to extract and process data from forms using advanced AI models. This project demonstrates the integration of OCR, layout detection, and data extraction pipelines.
- OCR Integration: Supports handwritten and printed text recognition.
- Layout Detection: Identifies and processes form layouts.
- REST API: Provides endpoints for form processing.
- Frontend: User-friendly interface for uploading and viewing results.
- Python 3.9+
- Node.js 16+
- Docker (optional, for containerized deployment)
- Clone the repository:
git clone https://github.com/your-username/ai-form-extractor.git cd ai-form-extractor-backend - Create a virtual environment and activate it:
python -m venv .venv .\.venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Run the backend:
python run_backend.py
- Navigate to the frontend directory:
cd frontend - Install dependencies:
npm install
- Run the frontend:
npm run dev
- Start both the backend and frontend.
- Access the frontend at
http://localhost:5173. - Upload a form and view the extracted data.
- Backend: Python, FastAPI, Uvicorn
- Frontend: React, Vite
- AI Models: Hugging Face, YOLO
See CONTRIBUTING.md for contribution guidelines.
This project is licensed under the MIT License. See LICENSE for details.
For questions or feedback, please contact [himashasawani@gmail.com].