Update README.md
Browse files
README.md
CHANGED
|
@@ -2,10 +2,6 @@
|
|
| 2 |
license: apache-2.0
|
| 3 |
---
|
| 4 |
|
| 5 |
-
# Suryolo : Layout Model For Arabic Documents
|
| 6 |
-
|
| 7 |
-
Suryolo is combination of Surya layout Model form SuryaOCR(based on Segformer) and YoloV10 objection detection.
|
| 8 |
-
|
| 9 |
## Setup Instructions
|
| 10 |
|
| 11 |
### Clone the Surya OCR GitHub Repository
|
|
@@ -34,6 +30,7 @@ Place `surya_yolo_pipeline_copy.cpython-310-x86_64-linux-gnu.so`, `yolov10x_best
|
|
| 34 |
```python
|
| 35 |
from surya_yolo_pipeline_copy import suryolo # This import will originate from surya_yolo_pipeline_copy.cpython-310-x86_64-linux-gnu.so , which is present in the repo. Also this works with Linux based OS only.
|
| 36 |
from surya.postprocessing.heatmap import draw_bboxes_on_image
|
|
|
|
| 37 |
|
| 38 |
image_path = "sample.jpg"
|
| 39 |
image = Image.open(image_path)
|
|
|
|
| 2 |
license: apache-2.0
|
| 3 |
---
|
| 4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
## Setup Instructions
|
| 6 |
|
| 7 |
### Clone the Surya OCR GitHub Repository
|
|
|
|
| 30 |
```python
|
| 31 |
from surya_yolo_pipeline_copy import suryolo # This import will originate from surya_yolo_pipeline_copy.cpython-310-x86_64-linux-gnu.so , which is present in the repo. Also this works with Linux based OS only.
|
| 32 |
from surya.postprocessing.heatmap import draw_bboxes_on_image
|
| 33 |
+
from PIL import Image
|
| 34 |
|
| 35 |
image_path = "sample.jpg"
|
| 36 |
image = Image.open(image_path)
|