Updated Document Layout Analysis (markdown)

BobLd
2020-01-13 14:38:13 +00:00
parent dabb8ae98c
commit 972eecc3fa

@@ -187,13 +187,12 @@ Reading order detectors deal with the task of finding the blocks' reading order
- [__Unsupervised Reading Order Detector__](https://github.com/UglyToad/PdfPig/wiki/Document-Layout-Analysis#unsupervised-reading-order-detector)
## [Default Reading Order Detector](https://github.com/UglyToad/PdfPig/blob/master/src/UglyToad.PdfPig.DocumentLayoutAnalysis/ReadingOrderDetector/DefaultReadingOrderDetector.cs)
TO DO
### Description
TO DO
This reading order detector does nothing. It will return the blocks as they are provided and the `ReadingOrder` of each `TextBlock` remains -1.
### References
TO DO
n/a
### Usage
#### Simple case
@@ -216,20 +215,16 @@ using (var document = PdfDocument.Open(@"document.pdf"))
}
```
#### Advanced case
TO DO
### Result
TO DO: image
n/a
## [Rendering Reading Order Detector](https://github.com/UglyToad/PdfPig/blob/master/src/UglyToad.PdfPig.DocumentLayoutAnalysis/ReadingOrderDetector/RenderingReadingOrderDetector.cs)
TO DO
### Description
TO DO
This reading order detector uses the average of the `Letter.TextSequence` contained in each block to determine the reading order.
### References
TO DO
n/a
### Usage
#### Simple case
@@ -252,11 +247,8 @@ using (var document = PdfDocument.Open(@"document.pdf"))
}
```
#### Advanced case
TO DO
### Result
TO DO: image
TO DO
## [Unsupervised Reading Order Detector](https://github.com/UglyToad/PdfPig/blob/master/src/UglyToad.PdfPig.DocumentLayoutAnalysis/ReadingOrderDetector/UnsupervisedReadingOrderDetector.cs)