sightseer
Unlocking the conversion of Web Screenshots into HTML Code with the WebSight Dataset
Laurençon, Hugo, Tronchon, Léo, Sanh, Victor
Current advancements in vision-language models (VLMs) have significantly improved their capabilities, enabling them to master a variety of tasks including image captioning, question answering, and optical character recognition (OCR) (OpenAI et al., 2023; Team et al., 2023; Hong et al., 2023; Liu et al., 2024a). Despite these achievements, the task of converting screenshots of websites or web components into usable HTML code--a process highly valuable to web developers--remains relatively unexplored, particularly in the open-source community. The development and open-source release of a model capable of such a conversion could unlock new AI-powered tools for UI developers, facilitating the creation of no-code modules and plugins for design tools like Figma. For instance, the ability to rapidly transform a design sketch into a functional UI component and code could significantly increase the iteration pace for UI developers. We posit that the primary challenge for VLMs to achieve proficiency in this specific task does not stem from the inherent difficulty of the task itself. Rather, it is the lack of a large, high-quality, dataset of pairs of HTML codes and their associated screenshots that poses the primary obstacle.
r/MachineLearning - [P] Sightseer: SOTA Computer Vision and Object Detection models in 10 lines of code
This is the creator of gpt2-client here. Inspired by Hugging Face's Transformers, I built and launched Sightseer, a TensorFlow package that allows anyone to access SOTA Computer Vision and Object Detection models in 10 lines of code or less. In less than 10 lines of code, you can now access general-purpose SOTA models!!! For now, the Beta release supports YOLOv3 (Darknet by Joseph Redmon) and enables you to quickly load images and ingest them into the model. In the next release (coming very soon!), I'll be adding Facebook AI's Mask R-CNN model with support for video, webcam footage, and screen recordings and tools for data annotation and inter-format conversion (XML/CSV/JSON/TFRecords).