---
title: DocumentObservation
framework: vision
role: symbol
role_heading: Structure
path: vision/documentobservation
---

# DocumentObservation

Information about the sections of content that an image-analysis request detects in a document.

## Declaration

```swift
struct DocumentObservation
```

## Overview

Overview The observation allows you to access a document’s content and group it within different sections. An observation is the result of using a RecognizeDocumentsRequest to process an image of a document and detects the content within that document using a container. Each container provides access to any text, lists, barcodes, or any other detected data that appears within the region of the container.

## Topics

### Inspecting an observation

- [uuid](vision/documentobservation/uuid.md)
- [confidence](vision/documentobservation/confidence.md)
- [document](vision/documentobservation/document.md)
- [timeRange](vision/documentobservation/timerange.md)

### Getting the recognized text

- [DocumentObservation.Container](vision/documentobservation/container.md)

## Relationships

### Conforms To

- [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)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [VisionObservation](vision/visionobservation.md)
