Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,12 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# π Image / PDF β Searchable PDF (OCR)
|
| 2 |
|
| 3 |
This Hugging Face Space converts **images (PNG/JPG/JPEG)** and **PDF files** into fully **searchable OCR PDFs** using **Tesseract OCR** and **Poppler**.
|
| 4 |
|
| 5 |
β Supports images
|
| 6 |
-
β Supports PDFs
|
| 7 |
-
β
|
| 8 |
-
β
|
| 9 |
-
β Download as a single searchable PDF
|
| 10 |
|
| 11 |
---
|
| 12 |
|
|
@@ -14,13 +24,22 @@ This Hugging Face Space converts **images (PNG/JPG/JPEG)** and **PDF files** int
|
|
| 14 |
|
| 15 |
This app uses:
|
| 16 |
|
| 17 |
-
- **Streamlit**
|
| 18 |
-
- **Tesseract OCR**
|
| 19 |
-
- **pdf2image**
|
| 20 |
-
- **Pillow**
|
| 21 |
-
- **Poppler**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
-
|
| 24 |
|
| 25 |
-
|
| 26 |
-
2. If it's a **PDF**, it is converted page-by-page into ima
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: ImageToOCRPdf
|
| 3 |
+
emoji: π
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: purple
|
| 6 |
+
sdk: streamlit
|
| 7 |
+
sdk_version: "1.36.0"
|
| 8 |
+
app_file: app.py
|
| 9 |
+
pinned: false
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
# π Image / PDF β Searchable PDF (OCR)
|
| 13 |
|
| 14 |
This Hugging Face Space converts **images (PNG/JPG/JPEG)** and **PDF files** into fully **searchable OCR PDFs** using **Tesseract OCR** and **Poppler**.
|
| 15 |
|
| 16 |
β Supports images
|
| 17 |
+
β Supports multi-page PDFs
|
| 18 |
+
β Works fully in-browser
|
| 19 |
+
β Download the final searchable PDF
|
|
|
|
| 20 |
|
| 21 |
---
|
| 22 |
|
|
|
|
| 24 |
|
| 25 |
This app uses:
|
| 26 |
|
| 27 |
+
- **Streamlit** for UI
|
| 28 |
+
- **Tesseract OCR** for text extraction
|
| 29 |
+
- **pdf2image** to convert PDFs into images
|
| 30 |
+
- **Pillow** for image processing
|
| 31 |
+
- **Poppler** backend for high-quality PDF rendering
|
| 32 |
+
|
| 33 |
+
---
|
| 34 |
+
|
| 35 |
+
## π₯ Supported Upload Types
|
| 36 |
+
|
| 37 |
+
- PNG
|
| 38 |
+
- JPG / JPEG
|
| 39 |
+
- PDF (multi-page supported)
|
| 40 |
+
|
| 41 |
+
---
|
| 42 |
|
| 43 |
+
## βΆοΈ Run Locally
|
| 44 |
|
| 45 |
+
### Install Python dependencies
|
|
|