---
title: globalSegmentationMask
framework: vision
role: symbol
role_heading: Instance Property
path: vision/detecteddocumentobservation/globalsegmentationmask
---

# globalSegmentationMask

A pixel buffer representing a segmentation mask for the detected document.

## Declaration

```swift
var globalSegmentationMask: PixelBufferObservation
```

## See Also

### Inspecting an observation

- [RequestDescriptor](vision/requestdescriptor.md)
- [PixelBufferObservation](vision/pixelbufferobservation.md)
