pierreguillou commited on
Commit
995abd8
1 Parent(s): b37b665

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +16 -1
README.md CHANGED
@@ -48,7 +48,7 @@ At last, in order to use Hugging Face notebooks on fine-tuning layout models lik
48
 
49
  For all these reasons, I decided to process the DocLayNet dataset:
50
  - into 3 datasets of different sizes:
51
- - [DocLayNet small](https://huggingface.co/datasets/pierreguillou/DocLayNet-small) < 1.000k document images
52
  - [DocLayNet base](https://huggingface.co/datasets/pierreguillou/DocLayNet-base) < 10.000k document images- with associated texts,
53
  - DocLayNet large with full dataset (to be done)
54
  - and in a format facilitating their use by HF notebooks.
@@ -82,6 +82,21 @@ DatasetDict({
82
  })
83
  ```
84
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
85
  ### HF notebooks
86
 
87
  - [notebooks LayoutLM](https://github.com/NielsRogge/Transformers-Tutorials/tree/master/LayoutLM) (Niels Rogge)
 
48
 
49
  For all these reasons, I decided to process the DocLayNet dataset:
50
  - into 3 datasets of different sizes:
51
+ - [DocLayNet small](https://huggingface.co/datasets/pierreguillou/DocLayNet-small) < 1.000k document images (691 train, 64 val, 49 test)
52
  - [DocLayNet base](https://huggingface.co/datasets/pierreguillou/DocLayNet-base) < 10.000k document images- with associated texts,
53
  - DocLayNet large with full dataset (to be done)
54
  - and in a format facilitating their use by HF notebooks.
 
82
  })
83
  ```
84
 
85
+ ## Annotated bounding boxes
86
+
87
+ The DocLayNet base makes easy to display document image with the annotaed bounding boxes of paragraphes or lines.
88
+
89
+ Check the notebook [processing_DocLayNet_dataset_to_be_used_by_layout_models_of_HF_hub.ipynb]() in order to get the code.
90
+
91
+ ### Paragraphes
92
+
93
+ ![Annotaded DocLayNet document image with bounding boxes and categories of paragraphes](https://huggingface.co/datasets/pierreguillou/DocLayNet-small/resolve/main/DocLayNet_image_annotated_bounding_boxes_paragraph.png)
94
+
95
+ ### Lines
96
+
97
+ ![Annotaded DocLayNet document image with bounding boxes and categories of lines](https://huggingface.co/datasets/pierreguillou/DocLayNet-small/resolve/main/DocLayNet_image_annotated_bounding_boxes_line.png)
98
+
99
+
100
  ### HF notebooks
101
 
102
  - [notebooks LayoutLM](https://github.com/NielsRogge/Transformers-Tutorials/tree/master/LayoutLM) (Niels Rogge)