---
title: Semantic Segmentation with Masks
type: templates
category: Computer Vision
cat: computer-vision
order: 105
meta_title: Semantic Segmentation with Masks Data Labeling Template
meta_description: Template for performing semantic segmentation with brush masks with Label Studio for your machine learning and data science projects.
---
Image segmentation using a brush and producing a mask.
Open in Label Studio
## Interactive Template Preview
## Labeling Configuration
```html
```
## About the labeling configuration
All labeling configurations must be wrapped in [View](/tags/view.html) tags.
Use the [Image](/tags/image.html) object tag to display the image and allow the annotator to zoom the image:
```xml
```
Use the [BrushLabels](/tags/brushlabels.html) control tag to apply brush masks to the image, using the [Label](/tags/label.html) tag to specify the value and color of the brush mask:
```xml
```
## Related tags
- [Image](/tags/image.html)
- [BrushLabels](/tags/brushlabels.html)
- [Label](/tags/label.html)