Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Jianjie Liu committed Feb 26, 2021
1 parent 3362cdf commit ababee2
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions genalog/generation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@

This folder contains the scripts that allow you generate synthetic documents from any given text. We provide **three** standard templates for with document layouts:

![multi-column](../../example/sample/generation/columns_Times_11px.png =300x420)
![letter-like](../../example/sample/generation/letter_Times_11px.png =300x420)
![text-block](../../example/sample/generation/text_block_Times_11px.png =300x420)
<p float="left">
<img src="../../example/sample/generation/columns_Times_11px.png" width="300" />
<img src="../../example/sample/generation/letter_Times_11px.png" width="300" />
<img src="../../example/sample/generation/text_block_Times_11px.png" width="300" />
</p>

You can find these templates in path `genalog/generation/templates`.

Expand Down Expand Up @@ -103,4 +105,4 @@ for doc in doc_gen:
print(doc.template.name)
image_byte = doc.render_png(resolution=300)
display(Image(image_byte))
```
```

0 comments on commit ababee2

Please sign in to comment.