← all repositories

emilwallner/Screenshot-to-code

A neural network that converts design mock-up images into HTML/CSS code using a CNN encoder and LSTM/GRU decoder.

Screenshot-to-code
Velocity · 7d
+5.2
★ / day
Trend
steady
star history

This repository implements a deep learning model inspired by pix2code that takes screenshots of UI designs as input and outputs corresponding HTML and CSS markup. The model uses a convolutional neural network to encode the visual input, followed by a recurrent neural network (LSTM or GRU) that decodes the image features into a sequence of domain-specific tokens. The Bootstrap-specific version achieves 97% accuracy and can generalize to new design mock-ups, while a raw HTML version remains experimental.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.