hybrid-ocr-sambit
v1.0.5
Published
> AI-powered multi-format OCR system supporting **handwritten text, printed text, Morse code, and Braille** with analysis and report generation.
Readme
🚀 Hybrid OCR AI
AI-powered multi-format OCR system supporting handwritten text, printed text, Morse code, and Braille with analysis and report generation.
🌟 Overview
Hybrid OCR AI is a modern Optical Character Recognition system that goes beyond traditional OCR. It integrates deep learning models (EasyOCR, TR-OCR) with custom decoding logic to process complex input formats.
It not only extracts text but also provides:
- 📊 Confidence scores
- 📈 Analysis metrics
- 📄 PDF export with charts
✨ Features
🧠 Multi-format OCR
- Printed text
- Handwritten text
- Morse code
- Braille patterns
⚡ AI-powered processing
- EasyOCR (deep learning)
- TR-OCR (transformer-based)
📊 Analytics & insights
- Accuracy
- Confidence score
- Text statistics
📄 Export functionality
- Download results as PDF
- Includes charts and analysis
🔌 Simple API
- Easy integration in any React / JS app
📦 Installation
npm install hybrid-ocr-sambit🚀 Usage
import { runOCR } from "hybrid-ocr-sambit"
const handleOCR = async (file) => {
const result = await runOCR(file)
console.log(result.text)
console.log(result.type)
console.log(result.confidence)
}📥 Input Supported
- 🖼️ Image files (JPG, PNG)
- ✍️ Handwritten notes
- 🔤 Printed text
- 📡 Morse code images
- 🔵 Braille patterns
📤 Output Format
{
"text": "Extracted content",
"type": "Handwritten / Printed / Morse / Braille",
"confidence": 0.95
}⚙️ How It Works
- Upload image input
- System detects input type
- OCR processing using AI models
- Text extraction + analysis
- Output generated with metrics
- Optional PDF export
🧠 Tech Stack
- Backend: Python, FastAPI
- OCR Models: EasyOCR, TR-OCR
- Frontend: React.js
- Charts: Recharts
- PDF: html2canvas, html2pdf
🌍 Use Cases
- 📚 Digitalizing handwritten notes
- ♿ Accessibility for visually impaired (Braille)
- 📡 Decoding Morse communication
- 🧾 Document analysis systems
- 🤖 AI-based text processing applications
⚠️ Important Note
Make sure your backend API is deployed and accessible:
const API_URL = "https://your-backend-url.com/ocr"🔄 Versioning
| Version | Description | | ------- | --------------- | | 1.0.0 | Initial release |
🤝 Contributing
Contributions are welcome! Feel free to fork the repo and submit pull requests.
📄 License
MIT License © 2026 Sambit
⭐ Support
If you like this project, consider giving it a ⭐ on GitHub!
