File size: 1,190 Bytes
2c2e618
 
 
 
 
 
 
 
 
 
06f0097
 
2c2e618
06f0097
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2c2e618
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
---
license: apache-2.0
language:
- en
pipeline_tag: image-text-to-text
tags:
- OCR
- Jaided AI
- easyocr
---
# OCR (CPU/GPU)

- **Model:** `C` (Apache-2.0)
- **Task:** Extract text from images. Default language: English.
- **Note:** Here we just provide the resources for to run this models in the laptops we didn't develop this entire models we just use the open source models for the experiment this model is developed by Jaided AI

## Quick start (any project)

```bash
# 1) Create env
python -m venv venv && source .venv/bin/activate  # Windows: ./venv/Scripts/activate

# 2) Install deps
pip install -r requirements.txt

# 3) Run
python main.py --help
```

> Tip: If you have a GPU + CUDA, PyTorch will auto-use it. If not, everything runs on CPU (slower but works).

---

here if you face conflicts when downloading the model using main.py then reinstall the library 
**pip install numpy==1.26.4**

and while running the main.py code using command then only you the output 
**Use:** python main.py --image remiai.png or python main.py --image sample.jpg 

other wise you get the output like this 
usage: main.py [-h] --image IMAGE
error: the following arguments are required: --image