From 972eecc3fa7831d3db41d93681ff5f62fa09a012 Mon Sep 17 00:00:00 2001 From: BobLd <38405645+BobLd@users.noreply.github.com> Date: Mon, 13 Jan 2020 14:38:13 +0000 Subject: [PATCH] Updated Document Layout Analysis (markdown) --- Document-Layout-Analysis.md | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/Document-Layout-Analysis.md b/Document-Layout-Analysis.md index 798acf7..504a55d 100644 --- a/Document-Layout-Analysis.md +++ b/Document-Layout-Analysis.md @@ -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)