OCR / README.md
github-actions[bot]
πŸš€ Automated OCR deployment from GitHub Actions
01a27a9
---
title: "OCR Text Detection"
emoji: "πŸ“„"
colorFrom: "blue"
colorTo: "green"
sdk: "gradio"
app_file: "app.py"
pinned: false
---
# πŸ“„ OCR Text Detection
A general Optical Character Recognition (OCR) application built with Gradio and EasyOCR for extracting text from images with high accuracy.
## Features
- **Multiple Upload Options**
- Upload images directly from your device
- Load images from URL
- Try demo images with one click
- **Smart Text Detection**
- Automatic text detection with bounding boxes
- Confidence scores for each detected text
- Adjustable confidence threshold filtering
- **Visual Annotations**
- Green bounding boxes around detected text
- Confidence scores displayed on the image
- Easy-to-read formatted text output
- **User-Friendly Interface**
- Clean and modern UI design
- Real-time processing
- Copy extracted text with one click
- Responsive layout
## How to Use
1. **Upload an Image**: Choose from three options:
- Click "Upload File" tab to upload from your device
- Click "Image by URL" tab to load from a web URL
- Click on any demo image to try it instantly
2. **Adjust Confidence**: Use the confidence threshold slider (0.0 - 1.0) to filter detections based on accuracy
3. **View Results**:
- See the processed image with bounding boxes
- Read the extracted text in the text box below
- Copy the text using the copy button
## Technology Stack
- **EasyOCR**: State-of-the-art OCR engine
- **Gradio**: Interactive web interface
- **OpenCV**: Image processing
- **NumPy**: Numerical operations
## Supported Image Formats
- JPG/JPEG
- PNG
- BMP
- TIFF/TIF
## 🌐 Made by
[Techtics.ai](https://techtics.ai) - AI Solutions for Business
---
*Extract text from invoices, receipts, documents, screenshots, and more!*