Skip to content

Commit

Permalink
formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Dudczak committed Dec 20, 2013
1 parent c596f0a commit 4df9e02
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ named like `page-generator-jar-with-dependencies.jar`.
## Running page-generator with PAGE XML

Preparation of training data consists of two steps: preparation of glyphs (cutting) and
creation of training images (generation of images). In the examples below `$PAGE_GENERATOR_JAR`
creation of training images (generation of images). In the examples below `$JAR_NAME`
is instead of real jar name.

In order to prepare glyphs, you need to invoke:
```java -cp $PAGE_GENERATOR_JAR pl.psnc.synat.a12.aletheia.Cutter --image imageName.png
```java -cp $JAR_NAME pl.psnc.synat.a12.aletheia.Cutter --image imageName.png
--xml xmlName.xml
--output ./zipWithImages.zip```

To generate images you need to:
```java -cp $PAGE_GENERATOR_JAR pl.psnc.synat.a12.generator.CLI --input zipWithImages.zip
```java -cp $JAR_NAME pl.psnc.synat.a12.generator.CLI --input zipWithImages.zip
-w imageWidth
-h imageHeight
--output ./output.zip```
Expand All @@ -37,7 +37,7 @@ information whether glyph is noised, coordinates of glyph in the original image.

Page generator can produce cleaned images based on the output from Cutouts, in order to do so,
you need to invoke it:
```java -cp $PAGE_GENERATOR_JAR pl.psnc.synat.a12.generator.cutouts.CutoutsCLI --input zipWitCutoutsOutput.zip
```java -cp $JAR_NAME pl.psnc.synat.a12.generator.cutouts.CutoutsCLI --input zipWitCutoutsOutput.zip
--output output```

Full list of available features will be listed after invocation of tool without any parameters
Expand Down

0 comments on commit 4df9e02

Please sign in to comment.