Commit
Β·
763d5c9
1
Parent(s):
400d1bf
Enhance README.md with additional clarity and usage details for OCR scripts
Browse files
README.md
CHANGED
|
@@ -5,11 +5,13 @@ tags: [uv-script, ocr, vision-language-model, document-processing]
|
|
| 5 |
|
| 6 |
# OCR UV Scripts
|
| 7 |
|
|
|
|
|
|
|
| 8 |
Ready-to-run OCR scripts that work with `uv run` - no setup required!
|
| 9 |
|
| 10 |
## π Quick Start with HuggingFace Jobs
|
| 11 |
|
| 12 |
-
Run OCR on any dataset without
|
| 13 |
|
| 14 |
```bash
|
| 15 |
hf jobs uv run --flavor l4x1 \
|
|
@@ -22,6 +24,7 @@ That's it! The script will:
|
|
| 22 |
- β
Process all images in your dataset
|
| 23 |
- β
Add OCR results as a new `markdown` column
|
| 24 |
- β
Push the results to a new dataset
|
|
|
|
| 25 |
|
| 26 |
## π Available Scripts
|
| 27 |
|
|
@@ -93,6 +96,10 @@ uv run https://huggingface.co/datasets/uv-scripts/ocr/raw/main/nanonets-ocr.py \
|
|
| 93 |
input-dataset output-dataset
|
| 94 |
```
|
| 95 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 96 |
## ποΈ Configuration Options
|
| 97 |
|
| 98 |
| Option | Default | Description |
|
|
|
|
| 5 |
|
| 6 |
# OCR UV Scripts
|
| 7 |
|
| 8 |
+
> Part of [uv-scripts](https://huggingface.co/uv-scripts) - ready-to-run ML tools powered by UV
|
| 9 |
+
|
| 10 |
Ready-to-run OCR scripts that work with `uv run` - no setup required!
|
| 11 |
|
| 12 |
## π Quick Start with HuggingFace Jobs
|
| 13 |
|
| 14 |
+
Run OCR on any dataset without needing your own GPU:
|
| 15 |
|
| 16 |
```bash
|
| 17 |
hf jobs uv run --flavor l4x1 \
|
|
|
|
| 24 |
- β
Process all images in your dataset
|
| 25 |
- β
Add OCR results as a new `markdown` column
|
| 26 |
- β
Push the results to a new dataset
|
| 27 |
+
- π View results at: `https://huggingface.co/datasets/[your-output-dataset]`
|
| 28 |
|
| 29 |
## π Available Scripts
|
| 30 |
|
|
|
|
| 96 |
input-dataset output-dataset
|
| 97 |
```
|
| 98 |
|
| 99 |
+
## π Works With
|
| 100 |
+
|
| 101 |
+
Any HuggingFace dataset containing images - documents, forms, receipts, books, handwriting.
|
| 102 |
+
|
| 103 |
## ποΈ Configuration Options
|
| 104 |
|
| 105 |
| Option | Default | Description |
|