Convert from lines to individual word generation
Budget: $30 – $250 USD
I'm using this repo https://github.com/sarahstrong/handwriting-synthesis/tree/cli
I want the demo.py file modified to support word wrapping in the _sample and _draw functions. Most notably the for loop on line 126 which parses the individual lines and processes through the AI's checkpoint model to generate handwriting and line 66 with the _sample function which generates the drawing paths.
Right now the way it works is by giving the program exact lines to be processed, I want it to support word wrapping so during processing it'll dynamically add line breaks appropriately as the processed line gets closer to the margin.
https://i.imgur.com/IB21F6gl.png as an example, each of the 3 samples have varying line lengths, which render awkward gaps at the end of the lines which isn't very natural.
I want the demo.py file modified to support word wrapping in the _sample and _draw functions. Most notably the for loop on line 126 which parses the individual lines and processes through the AI's checkpoint model to generate handwriting and line 66 with the _sample function which generates the drawing paths.
Right now the way it works is by giving the program exact lines to be processed, I want it to support word wrapping so during processing it'll dynamically add line breaks appropriately as the processed line gets closer to the margin.
https://i.imgur.com/IB21F6gl.png as an example, each of the 3 samples have varying line lengths, which render awkward gaps at the end of the lines which isn't very natural.