ashnkumar / sketch-code

Keras model to generate HTML code from hand-drawn website mockups. Implements an image captioning architecture to drawn source images.
5.11k stars 690 forks source link

Turning screenshots to sketches #36

Closed jyoonsong closed 3 years ago

jyoonsong commented 3 years ago

Hi, we are working on a similar project and we are trying to generate more data by converting additional screenshots to sketches.

If possible, would you mind elaborating on the following part of your blog post?

My final pipeline added one further step, which augmented these images by adding skews, shifts, and rotations to mimic the variability in actual drawn sketches.

We managed to get the contours of a screenshot, but we are having a hard time adding skews, shifts, and rotations to the contours. Thanks so much and my email is jyo3on@gmail.com just in case

jyoonsong commented 3 years ago

I resolved it myself using CSS.