Update README.md
Browse files
README.md
CHANGED
@@ -11,7 +11,7 @@ Suryolo is combination of Surya layout Model form SuryaOCR(based on Segformer) a
|
|
11 |
### Clone the Surya OCR GitHub Repository
|
12 |
|
13 |
```bash
|
14 |
-
git clone https://github.com/
|
15 |
cd surya
|
16 |
```
|
17 |
|
@@ -23,24 +23,13 @@ git checkout f7c6c04
|
|
23 |
|
24 |
### Install Dependencies
|
25 |
|
26 |
-
|
27 |
|
28 |
-
```bash
|
29 |
-
pip install -r requirements.txt
|
30 |
-
```
|
31 |
-
|
32 |
-
```bash
|
33 |
-
pip install ultralytics
|
34 |
-
```
|
35 |
-
|
36 |
-
```bash
|
37 |
-
pip install supervision
|
38 |
-
```
|
39 |
|
40 |
### Suryolo Pipeline
|
41 |
|
42 |
-
Download `surya_yolo_pipeline_copy.cpython-310-x86_64-linux-gnu.so`
|
43 |
-
Place `surya_yolo_pipeline_copy.cpython-310-x86_64-linux-gnu.so
|
44 |
|
45 |
```python
|
46 |
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.
|
|
|
11 |
### Clone the Surya OCR GitHub Repository
|
12 |
|
13 |
```bash
|
14 |
+
git clone https://github.com/VikParuchuri/surya.git
|
15 |
cd surya
|
16 |
```
|
17 |
|
|
|
23 |
|
24 |
### Install Dependencies
|
25 |
|
26 |
+
The author has not provided requirements.txt file, but `environment.yml` from our conda environment has been uploaded, This file can be used to recreate environment for Suryolo model.
|
27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
|
29 |
### Suryolo Pipeline
|
30 |
|
31 |
+
Download `surya_yolo_pipeline_copy.cpython-310-x86_64-linux-gnu.so` , `yolov10x_best.pt` and `surya folder` from the Repository.
|
32 |
+
Place `surya_yolo_pipeline_copy.cpython-310-x86_64-linux-gnu.so`, `yolov10x_best.pt` and `surya folder` in same directory (They are dependent on each other).
|
33 |
|
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.
|