Datasets:
Create README.md
Browse filesCreated README.md
README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- ru
|
| 4 |
+
- ar
|
| 5 |
+
- fr
|
| 6 |
+
- pt
|
| 7 |
+
- en
|
| 8 |
+
size_categories:
|
| 9 |
+
- 10K<n<100K
|
| 10 |
+
---
|
| 11 |
+
## Description
|
| 12 |
+
These scripts generate a dataset for testing and training the orientation classifier.
|
| 13 |
+
* The scripts/ folder contains all the necessary scripts
|
| 14 |
+
* The src/ folder contains images of document pages. In src/one_column there are single-column documents,
|
| 15 |
+
in src/multiple_column there are multi-column documents
|
| 16 |
+
|
| 17 |
+
### About generation scripts:
|
| 18 |
+
* scripts/gen_dataset.py - generates an output dataset for model training and testing. It rotates document images and creates a label.csv markup file in each dataset
|
| 19 |
+
* "-i", "--input_path_img": source folder absolute path
|
| 20 |
+
* "-o", "--output_path_img": absolute path for output folder
|
| 21 |
+
* "-l", "--output_path_lbl": absolute path for label file, by deafult it is contained in output folders
|
| 22 |
+
|
| 23 |
+
* scripts/get_imgs_from_pdf.py - just to help if you want to add images to the src folder from different pdfs
|
| 24 |
+
* "-i", "--input_path_img": source folder absolute path
|
| 25 |
+
* "-o", "--output_path_img": absolute path for output folder
|