OCR_easyocr / README.md
remiai3's picture
Update README.md
2c2e618 verified
---
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