#42 · Primary category: AI Design & Prototyping

Screenshot-to-code

cnn cnn-keras deep-learning encoder-decoder floydhub jupyter jupyter-notebook keras lstm machine-learning seq2seq

A neural network that transforms a design mock-up into a static website.

Project last updated:08/16/24

GitHub Stars

16.5K

Forks

1.5K

Contributors

7

License

Other

Why we included this project

This is one of the most-cited open-source demonstrations of a neural network generating HTML and CSS from a design mock-up. The code is organized in three iterations, starting with a Hello World proof of concept and ending with a Bootstrap version that can generalize to new screenshots using 16 domain-specific tokens. It follows the pix2code approach, and the Jupyter notebooks make the training and inference steps easy to follow. The author is upfront about the limits: only the Bootstrap variant generalizes reliably, and the training data is small and homogeneous, so treat it as a reference implementation and learning resource rather than a drop-in production tool. If you are weighing whether image-to-markup models are worth building on, this is a good place to start, with trained models available for testing.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category