Spaces:
Runtime error
Runtime error
| title: Heat Treatment API | |
| emoji: 🔥 | |
| colorFrom: red | |
| colorTo: yellow | |
| sdk: docker | |
| pinned: false | |
| app_port: 7860 | |
| # 🔥 Heat Treatment Backend API | |
| [](https://www.python.org/) | |
| [](https://fastapi.tiangolo.com/) | |
| [](https://huggingface.co/spaces) | |
| This folder contains the FastAPI backend for the **Intelligent Document Processing (IDP)** application, specifically tailored for analyzing and extracting structured data from complex Heat Treatment log sheets. | |
| ## ✨ Key Features | |
| * **Automated Data Extraction:** Leverages PaddleOCR for printed text and TrOCR for handwriting recognition. | |
| * **Intelligent Mapping:** Utilizes Google's Gemini LLM for reasoning and precise field mapping from unstructured log sheets. | |
| * **FastAPI Server:** High-performance, asynchronous REST API. | |
| * **MongoDB Integration:** Seamless storage and retrieval of processed log sheet data. | |
| * **Automated CI/CD:** Integrated with GitHub Actions for continuous deployment to Hugging Face Spaces. | |
| ## 🛠️ Tech Stack | |
| * **Framework:** FastAPI | |
| * **Machine Learning:** OpenCV, PaddleOCR, Transformers (TrOCR), Google Generative AI (Gemini) | |
| * **Database:** MongoDB Atlas | |
| * **Deployment:** Docker, Hugging Face Spaces | |