- Guides
- Machine Learning
- ML Lens Templates
ML Lens Templates
Lens Studio comes with 5 different templates which demonstrate how you can use SnapML and ML Component.
Tip: If you have your own existing model, you can use these templates as a starting point to bring them into Lens Studio.
If you're new to Machine Learning, these templates come with their own sample model so you don’t need to worry about training your own! The template guide also provides you with information about how you can make your own model.
Templates
![]() | Style TransferUseful as a starting point for style transfer type models which take in a texture and return a modified texture. The template comes with an example style transfer model. |
![]() | ClassificationUseful as a starting point for binary classification type models which output the probability of something. The template comes with a model that can return the probability of whether someone is wearing glasses or not and call an effect based on this information. |
![]() | Object DetectionUseful as a starting point for object detection type models which output the location and probability of an object on the camera feed. The template comes with both a car and food detection model, as well as a way to visually call it out. |
![]() | Custom SegmentationUseful as a starting point for segmentation type models which take in a texture, and return a segmented version of that texture. The template comes with a pizza segmentation texture and uses Material Editor to make it look sizzling. |
![]() | Ground SegmentationA template which uses a segmentation model to segment the ground. The template comes with a way to replace the ground with a material and to occlude objects not on the ground. |
![]()
| ML Templates LibraryDownload more templates you can use, including foot tracking, eyebrow removal, tree segmentation, and more! |
Sharing Templates: If you have an ML model, or template that you're interested in sharing, please get in touch.
Still Looking for help?
Visit Support