File size: 1,096 Bytes
723fad6
 
 
 
 
 
20a4372
723fad6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20a4372
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
title: OCR Image Upload Application
emoji: 📷
colorFrom: purple
colorTo: green
sdk: gradio
sdk_version: 4.44.0
app_file: gradio_app.py
pinned: false
---

# OCR Image Upload Application

This application allows users to upload images and extract text from them using Optical Character Recognition (OCR) technology. Users can choose between Hindi and English for text extraction.

## Features

- Upload images in various formats (JPEG, PNG, etc.).
- Automatically detect and extract text in Hindi or English.
- Highlight keywords in the extracted text.
- Simple and user-friendly interface using Gradio.

## Technologies Used

- **Gradio**: For creating the web interface.
- **EasyOCR**: For extracting Hindi text.
- **GOT OCR 2.0**: For extracting English text using Hugging Face Transformers.
- **Python**: The programming language used for development.

## Prerequisites

Ensure you have the following installed:

- Python 3.7 or higher
- pip (Python package installer)

## Setup Instructions

1. **Clone the repository**:
   ```bash
   git clone <repository-url>
   cd <repository-folder>