Ni3SinghR commited on
Commit
723fad6
·
verified ·
1 Parent(s): d2bd83f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +42 -41
README.md CHANGED
@@ -1,41 +1,42 @@
1
- <h3><a href="">Image to text Using GOT OCR2.0 and easyocr</a></h3>
2
-
3
- ## Install
4
- 0. My Project is based on CPU
5
- 1. Clone this repository and navigate to the GOT folder
6
- ```bash
7
- git clone https://github.com/NI3singh/Image-to-text.git
8
-
9
- ```
10
- 2. Install Package
11
- ```Shell
12
- conda create -n got_ocr python=3.10 -y
13
- conda activate got_ocr
14
- pip install -r requirements.txt .
15
- ```
16
- 3. Run command
17
- ```Shell
18
- cd environment folder
19
- python gradio_app.py
20
- now CTRL+Click on the http://127.0.0.1:7860
21
- ```
22
- 4. Using Application
23
- ```Shell
24
- Select the language of the input Image either HINDI or ENGLISH.
25
- Upload the Image.
26
- Enter the Keyword.
27
- Then Submit.
28
- ```
29
- 5. Deployment Process
30
- ```Shell
31
- Prepare the application
32
- Create Huggingface Account
33
- Navigate to the Spaces page
34
- Create a New Space
35
- Select Gradio as the SDK
36
- Upload Application Files
37
- Specify Ports (if needed)
38
- Build and Launch
39
- Get the Public URL
40
-
41
-
 
 
1
+ ---
2
+ title: OCR Image Upload Application
3
+ emoji: 📷
4
+ colorFrom: purple
5
+ colorTo: green
6
+ sdk: gradio
7
+ sdk_version: "3.1.4" # Update this to the version you're using
8
+ app_file: gradio_app.py
9
+ pinned: false
10
+ ---
11
+
12
+ # OCR Image Upload Application
13
+
14
+ 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.
15
+
16
+ ## Features
17
+
18
+ - Upload images in various formats (JPEG, PNG, etc.).
19
+ - Automatically detect and extract text in Hindi or English.
20
+ - Highlight keywords in the extracted text.
21
+ - Simple and user-friendly interface using Gradio.
22
+
23
+ ## Technologies Used
24
+
25
+ - **Gradio**: For creating the web interface.
26
+ - **EasyOCR**: For extracting Hindi text.
27
+ - **GOT OCR 2.0**: For extracting English text using Hugging Face Transformers.
28
+ - **Python**: The programming language used for development.
29
+
30
+ ## Prerequisites
31
+
32
+ Ensure you have the following installed:
33
+
34
+ - Python 3.7 or higher
35
+ - pip (Python package installer)
36
+
37
+ ## Setup Instructions
38
+
39
+ 1. **Clone the repository**:
40
+ ```bash
41
+ git clone <repository-url>
42
+ cd <repository-folder>