[フレーム]
Skip to main content

This neural network lets you transform graphic designs into functioning code

Pix2Code, by Copenhagen-based startup UIzard Technologies, uses a deep learning network to create code from screenshots

The gap between graphic designers and coders just got smaller. Until now, if you wanted to build a graphic user interface, whether for app design or custom websites, you would have to enlist a developer to turn your ideas into code. But designers could soon take this power into their own hands.

Read more: DeepMind's new algorithm adds 'memory' to AI

Copenhagen-based startup UIzard Technologies has developed an app, Pix2Code, which uses a trained neural network to transform screenshots into lines of code. All it needs is an image of a design for a graphic user interface (GUI) and, once recognised, it begins to automatically churn out corresponding code. Even more impressively, it creates code that's compatible with Android, iOS and web-based technologies – a rare functionality across platforms.

The Pix2Code prototype only needs a single input image and has demonstrated an accuracy of 77 per cent. Tony Beltramelli, the founder of UIzard, states that he believes Pix2Code has the potential to "end the need for manually-programmed GUIs".

In order to program the neural network, Beltramelli says that the team had to overcome three main problems. The first being computer vision - that a computer will not automatically understand the given scene and cannot naturally identify the objects present, their positions, and characteristics (i.e. buttons and labels). Secondly, they had to overcome a language problem – the issue of teaching the network to understand text, so it could create accurate samples. Finally, the deep learning programme had to be trained to understand the link between code, text and the corresponding images, so it could connect all three while generating new code.

Subscribe to WIRED

In the future, Beltramelli writes, Generative Adversarial Networks (GANs) could be used to further update Pix2Code. GANs have shown promising accuracy when generating sequences and images. However, this is a relatively unexplored area of research and the need to train neural networks takes a considerable amount of time – posing an obstacle for the quick progression of this technology. But the obstacle may soon be overcome – thanks to the internet.

"Considering a large number of websites are already available online and the fact that new websites are created every day, the web could theoretically supply an unlimited amount of training data," Beltramelli says.

Merging the fields of design and coding is becoming a trend – Google has recently launched a Data GIF Maker to transform code into colourful animations. It's the natural successor to pie charts and other spreadsheet methods of data presentation – except in this case the figures you enter into the program turn into bold comparisons that literally push against each other on screen.

This article was originally published by WIRED UK

Read More
Everything You Need to Know Before Buying Protein Bars
What to prioritize, what to skip, when to enjoy—plus, we’ve selected WIRED's favorite bars worth trying.
You’ve Got a Public Reddit Profile. Here’s How to Curate It
Make your profile page look good—and make sure you’re not sharing more than you want to.
8 WhatsApp Features to Boost Your Security and Privacy
Meta’s end-to-end encrypted messaging app is used by billions of people. Here’s how to make sure you’re one of the most locked-down ones out there.
Top Womanizer Coupons for December 2025
Enjoy discounts on Duo Premium and more sex toys with our Womanizer coupon codes.
Top AirDoctor Coupon Codes for January 2026
Save up to 400ドル on top air purifiers and filters with verified AirDoctor promo codes and special offers for January 2026.
Western Digital Promo Code: January 2026
Get 10% off your first order at Western Digital when you register your email.
Top Hydrow Discount Codes This January 2026
Save on rowers and accessories with Hydrow coupons, including an exclusive discount of 50ドル.
Top Hulu Promo Code for January 2026 at WIRED
Students can get a Hulu plan for 1ドル.99 per month. Get more details on this and other great deals below.
Enjoy up to 60% Off With eBay Coupons in January 2026
Save up to 60% on a selection of items at eBay, including electronics, home products, card games, and more.
Sephora Promo Codes for December 2025
Earn more points on skincare purchases when you use our Sephora coupon.
The Best Bose Coupon Codes for January 2026
Enjoy at least 40% off headphones, speakers, soundbars, and other audio products from Bose.
What Happens Next in Venezuela—and the Rest of Latin America?
Donald Trump says that Venezuela’s governance will remain in the hands of senior US officials until a "proper and judicious transition" can take place. The rest of the region is on notice.

AltStyle によって変換されたページ (->オリジナル) /