mirror of
https://github.com/UglyToad/PdfPig.git
synced 2026-03-10 00:23:29 +08:00
Updated Document Layout Analysis (markdown)
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user