add example image to readme

images make the readme more engaging and gives users an idea of what the output looks like for word and text extraction.
This commit is contained in:
Eliot Jones 2020-01-08 13:56:48 +00:00
parent a496daf0ce
commit 16c3322cce
2 changed files with 6 additions and 0 deletions

View File

@ -43,6 +43,12 @@ The simplest usage at this stage is to open a document, reading the words from e
}
}
An example of the output of this is shown below:
![Image shows three words 'Write something in' in 2 sections, the top section is the normal PDF output, the bottom section is the same text with 3 word bounding boxes in pink and letter bounding boxes in blue-green](https://raw.githubusercontent.com/UglyToad/Pdf/master/documentation/Letters/example-text-extraction.png)
Where for the PDF text ("Write something in") shown at the top the 3 words (in pink) are detected and each word contains the individual letters with glyph bounding boxes.
To create documents use the class ```PdfDocumentBuilder```. The Standard 14 fonts provide a quick way to get started:
PdfDocumentBuilder builder = new PdfDocumentBuilder();

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB