Tag

Synthetic Samples

0 views collected around this technical thread.

Xianyu Technology
Xianyu Technology
Aug 7, 2019 · Artificial Intelligence

Weex Page Mocking with Puppeteer for Large‑Scale UI Sample Generation

To solve the shortage of annotated UI data for UI2CODE, the team uses Puppeteer to load Weex pages, traverses the DOM to gather text and image elements, records their styles and positions, screenshots the page, and repeatedly swaps content, automatically generating thousands of realistic, labeled UI samples from a few hundred templates, greatly cutting manual labeling effort and boosting model accuracy.

PuppeteerSynthetic SamplesUI Automation
0 likes · 8 min read
Weex Page Mocking with Puppeteer for Large‑Scale UI Sample Generation