Grzego / handwriting-generation

Implementation of handwriting generation with use of recurrent neural networks in tensorflow. Based on Alex Graves paper (https://arxiv.org/abs/1308.0850).
MIT License
540 stars 107 forks source link

how to make black color of letters #18

Closed designervoid closed 4 years ago

designervoid commented 4 years ago

so i've running this command python generate.py --noinfo --text="this was generated by computer" --bias=1. in readme.md (https://github.com/Grzego/handwriting-generation/raw/master/imgs/example-1.PNG) - result of this command how i can get only black letters or blue letters on image after running of this command?

Grzego commented 4 years ago

Hi @designervoid,

Just add color='blue' or color='black' at this line.

You should end up with:

plt.plot(stroke[:, 0], -stroke[:, 1], color='black')