Skip to content

A fast, helpful, and open-source document parser

update some readme

Logan Markewichdb1ef11b0828
diff --git a/ocr/README.md b/ocr/README.md
index 0d1929e..49b54e9 100644
--- a/ocr/README.md
+++ b/ocr/README.md
@@ -8,7 +8,7 @@ These servers allow you to use alternative OCR engines instead of the built-in T
| Feature | Tesseract.js (built-in) | EasyOCR | PaddleOCR |
|---------|-------------------------|---------|-----------|
-| Setup | Zero (included) | Docker | Docker |
+| Setup | Zero (included) | uv | uv |
| Speed | Moderate | Moderate | Fast (2-3x) |
| Accuracy (Latin) | Good | Good | Good |
| Accuracy (CJK) | Fair | Good | Excellent |
@@ -39,13 +39,11 @@ Flask server wrapping PaddleOCR library.
```bash
# Start EasyOCR server
cd ocr/easyocr
-docker build -t liteparse-easyocr .
-docker run -p 8828:8828 liteparse-easyocr
+uv run server.py
# OR start PaddleOCR server
cd ocr/paddleocr
-docker build -t liteparse-paddleocr .
-docker run -p 8829:8829 liteparse-paddleocr
+uv run server.py
```
Then use with LiteParse:
diff --git a/ocr/easyocr/README.md b/ocr/easyocr/README.md
index 7676085..2736c51 100644
--- a/ocr/easyocr/README.md
+++ b/ocr/easyocr/README.md
@@ -4,21 +4,9 @@ This is a simple Flask server that wraps EasyOCR to conform to the LiteParse OCR
## Build and Run
-**With uv**
-
```bash
# install and run (in one command)
-uv run python3 server.py
-```
-
-**With Docker**
-
-```bash
-# Build Docker image
-docker build -t liteparse-easyocr .
-
-# Run container
-docker run -p 8828:8828 liteparse-easyocr
+uv run server.py
```
## Usage
diff --git a/ocr/paddleocr/README.md b/ocr/paddleocr/README.md
index 7bdbd6e..bf9ecbe 100644
--- a/ocr/paddleocr/README.md
+++ b/ocr/paddleocr/README.md
@@ -6,23 +6,9 @@ PaddleOCR is especially fast and accurate for Chinese, Japanese, and Korean lang
## Build and Run
-**With uv**
-
```bash
# install and run (in one command)
-uv run python3 server.py
-```
-
-**With Docker**
-
-> _The Docker build might be unstable or not working depending on the target platform for building the image and running the container (there are known issues with `linux/amd64`)_
-
-```bash
-# Build Docker image
-docker build -t liteparse-paddleocr .
-
-# Run container
-docker run -p 8829:8829 liteparse-paddleocr
+uv run server.py
```
## Usage
@@ -120,7 +106,7 @@ uv run pytest test_server.py
## GPU Support
-For GPU acceleration, modify the Dockerfile to use a CUDA base image and set `use_gpu=True` in `server.py`.
+For GPU acceleration, set `use_gpu=True` in `server.py`.
## Notes