---
title: DetectedDocumentObservation
framework: vision
role: symbol
role_heading: Structure
path: vision/detecteddocumentobservation
---

# DetectedDocumentObservation

The heat map that’s a pixel buffer in a one-component floating-point pixel format.

## Declaration

```swift
struct DetectedDocumentObservation
```

## Overview

Overview The observation includes the four corner points of a document’s quadrilateral and saliency masks.

## Topics

### Creating an observation

- [init(_:)](vision/detecteddocumentobservation/init(_:).md)

### Inspecting an observation

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

## Relationships

### Conforms To

- [BoundingBoxProviding](vision/boundingboxproviding.md)
- [Copyable](swift/copyable.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [QuadrilateralProviding](vision/quadrilateralproviding.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [VisionObservation](vision/visionobservation.md)
