An open API service indexing awesome lists of open source software.

https://github.com/hiborn4/kpidociq

AI-powered document intelligence system for extracting KPIs from industrial reports, PDFs, and scanned tables using computer vision, OCR, and LLMs.
https://github.com/hiborn4/kpidociq

Last synced: 12 months ago
JSON representation

AI-powered document intelligence system for extracting KPIs from industrial reports, PDFs, and scanned tables using computer vision, OCR, and LLMs.

Awesome Lists containing this project

README

          

# ๐Ÿง  i4Ideas: AI-Powered Document Processing & Extraction System

![Banner](/public/test1.png)

> An advanced AI-based system that extracts complex tabular and structured information from technical documents with unmatched precision. Built for manufacturing, steel, and QA/QC workflows.

---

### ๐Ÿ“ธ Visual Workflow โ€” Document โž Table โž KPI Extraction



๐Ÿ“„ Raw Document



โœ‚๏ธ Cropped Table



๐Ÿง  KPIs

---

## ๐Ÿ” Overview

**i4Ideas** is a state-of-the-art, production-grade document parsing system designed to extract meaningful data from industrial reports like tensile strength sheets, quality certificates, and lab reports. The system leverages deep learning, OCR, and vision-language models to output structured, human-verified JSON for downstream analytics or compliance.

This solution has been **field-tested across diverse document formats**, including JSW, Tata, Hyundai, and Jamshedpur technical data sheets.

---

## ๐Ÿง  Core Capabilities

- ๐Ÿ“„ **PDF โ†’ Table/Image Extraction**
- ๐Ÿ” **Object Detection (YOLOv5 / ResNet50)** to locate tabular blocks
- ๐Ÿงพ **PaddleOCR / Adobe OCR** integration for clean text extraction
- ๐Ÿค– **LLM-Powered Parsing (GPT)** using domain-specific prompts
- ๐Ÿ“Š **Aesthetic JSON Output** with units and data validation
- ๐Ÿ”„ **Multi-format switch handling** (JSW, Tata, Hyundai, etc.)

---

## ๐Ÿ“ธ Supported Formats

| Company | Keys Extracted |
|----------------|------------------------------------------------------------------------------|
| JSW Steel | `Coil No`, `YS`, `UTS`, `EL`, `Ra` |
| Tata Steel | `Mother Coil`, `YS`, `UTS`, `EL`, `rBAR`, `n`, `Ra` |
| Jamshedpur | `Coil No`, `YS`, `UTS`, `EL`, `rVALUE`, `NVALM`, `RaMICROM` |
| Hyundai | `Dimension`, `YP`, `TS`, `EL`, `Ra` |
| Maharashtra | `Product No`, `YP`, `TS`, `EL`, `Ra` |

---

## ๐Ÿš€ Installation

```bash
git clone https://github.com/HiBorn4/AI-powered-document-processing-and-extraction-system.git
cd AI-powered-document-processing-and-extraction-system
pip install -r requirements.txt
````

---

## ๐ŸŽฅ Demo

*(Add video preview here)*

---

## ๐Ÿงช Example Output

```json
{
"NC65081000": {
"YS": "347 MPa",
"UTS": "294 MPa",
"EL": "45%",
"Ra": "67.39 ฮผm"
},
"NC65082000": {
"YS": "364 MPa",
"UTS": "470 MPa",
"EL": "80%",
"Ra": "28.10 ฮผm"
}
}
```

---

## ๐Ÿ“ Project Structure

```
๐Ÿ“ฆ AI-powered-document-processing-and-extraction-system
โ”œโ”€โ”€ bulk_table_extraction.py # Batch document processing
โ”œโ”€โ”€ extract_keys.py # Prompt-based LLM key-value extraction
โ”œโ”€โ”€ table_detection.py # YOLO/ResNet table detection pipeline
โ”œโ”€โ”€ pdf_to_image.py # Converts PDF to image for OCR
โ”œโ”€โ”€ paddleocr_implemented/ # PaddleOCR model directory
โ”œโ”€โ”€ jcap_tsr.py, tata_tsr.py, jsw_tsr.py # Custom flows per company
โ”œโ”€โ”€ image_postprocess.py # Image cleaning and noise reduction
โ”œโ”€โ”€ summarize_prompts.py # Prompt engineering and format matching
```

---

## ๐Ÿ“ฆ Tech Stack

* ๐Ÿง  **OpenAI GPT (Function Calling + Vision)**
* ๐Ÿงพ **PaddleOCR / Adobe Acrobat OCR**
* ๐Ÿ–ผ๏ธ **YOLOv5 / ResNet50** for layout detection
* ๐Ÿงช **Prompt Engineering** for reliable key mapping
* ๐Ÿ“„ **PDF2Image**, **Pillow**, **Pandas**

---

## ๐Ÿ” Use Cases

* Steel Manufacturing QA Automation
* Compliance & Lab Test Report Digitization
* Quality Certificate Parsing & Validation
* Document Indexing for Enterprise Search

---

## ๐Ÿ’ผ Portfolio & Freelance Suitability

This project is ideal to showcase:

* LLMOps / Document AI skills
* OCR + Vision + GPT integration
* Custom multi-format prompt engineering
* PDF/Scan processing pipelines

---

## ๐Ÿ“ฌ Contact

For collaboration or freelance work:

* ๐Ÿ’ผ **Upwork**: [HiBorn4](https://www.upwork.com/freelancers/~hiborn4)
* ๐Ÿ’ป **GitHub**: [HiBorn4](https://github.com/HiBorn4)
* ๐Ÿ“ซ **Email**: [reach.hiborn@gmail.com](mailto:reach.hiborn4@gmail.com)

---

## ๐Ÿ“ License

MIT License. ยฉ 2025 HiBorn4