June 22, 2023
June 22, 2023

Lens Studio 4.49: Say Hello to ML Retouch, Performance Dashboard, and ES6

Lens Studio 4.49 offers an array of exciting new features guaranteed to optimize Lens performance, unlock more robust coding capabilities, and highlight the natural beauty of Snapchatters. Check out our feature rundown below, and be sure to visit back soon for more Lens Studio updates.

Analyze Lens Performance 

The new Lens Performance Toolkit (BETA) offers developers a dashboard view of performance-related metrics for Lenses that are in development — all without having to leave Lens Studio. Simply pair your device and metrics like overall Lens size, memory usage, FPS, and Lens Activation Time will appear with grades of good, fair, or bad. If there’s room for Lens optimization, an Improve button will appear linking you to Optimization Best Practices

Highlight Natural Beauty

We’re thrilled to introduce our newest retouch feature powered by machine learning. Creators can easily switch on ML Retouch for realistic skin retouch and accurate texture. This feature is not meant to hide imperfections, but rather naturally enhance the user while preserving unique facial features like freckles and beauty marks. ML Retouch is already having a significant impact on more than just beauty Lenses, resulting in 2X engagement compared to the previous version of Retouch in Lens Studio.

Tap Into 50,000+ ML Models

We’re excited to announce a flagship partnership between Roboflow and Lens Studio. With Roboflow, a service whose primary focus is reducing barriers to entry for developers interested in leveraging machine learning and computer vision, developers can easily bring ML models into Lens Studio for use in their AR Lenses. This collaboration enables Lens Studio developers to utilize Roboflow’s free machine learning tools to easily train and bring models directly into SnapML. 
Now developers can explore Roboflow’s platform and upload, organize, automatically annotate, train, and deploy models to target devices, including hosted API endpoints, iOS devices, and now Lens Studio. Snap AR worked with Roboflow to make it possible for these models to be exported into a SnapML compatible format, so developers can download models in one tap and bring them into Lens Studio. 

Unlock New Coding Capabilities

Develop more robust, well-organized, and reusable Lens scripts with ES6 support for JavaScript. This transition to ES6 makes our JavaScript environment more powerful and approachable for developers who are more familiar with the newer syntax. The update also enables developers to use shared libraries without having to make changes to them to work in Lens Studio. For more information, check out this list of features in ES6