Skip to content

HimashaSawani/Ai-form-extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

141 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Form Extractor

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.

Features

  • 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.

Installation

Prerequisites

  • Python 3.9+
  • Node.js 16+
  • Docker (optional, for containerized deployment)

Backend Setup

  1. Clone the repository:
    git clone https://github.com/your-username/ai-form-extractor.git
    cd ai-form-extractor-backend
  2. Create a virtual environment and activate it:
    python -m venv .venv
    .\.venv\Scripts\activate
  3. Install dependencies:
    pip install -r requirements.txt
  4. Run the backend:
    python run_backend.py

Frontend Setup

  1. Navigate to the frontend directory:
    cd frontend
  2. Install dependencies:
    npm install
  3. Run the frontend:
    npm run dev

Usage

  1. Start both the backend and frontend.
  2. Access the frontend at http://localhost:5173.
  3. Upload a form and view the extracted data.

Technologies Used

  • Backend: Python, FastAPI, Uvicorn
  • Frontend: React, Vite
  • AI Models: Hugging Face, YOLO

Contributing

See CONTRIBUTING.md for contribution guidelines.

License

This project is licensed under the MIT License. See LICENSE for details.

Contact

For questions or feedback, please contact [himashasawani@gmail.com].

About

AI Form Extractor is a full-stack application that leverages advanced AI models to extract and process data from forms. It supports OCR for handwritten and printed text, layout detection, and data extraction pipelines, with a modern React frontend and FastAPI backend.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors