---
title: detectedData
framework: vision
role: symbol
role_heading: Instance Property
path: vision/documentobservation/container/text-swift.struct/detecteddata
---

# detectedData

Detected content in the document matched to a specific type of data, such as emails, phone numbers, addresses, and so on.

## Declaration

```swift
var detectedData: [DocumentObservation.Container.DataDetectorMatch] { get }
```

## Discussion

Discussion This is a computed property that may be computationally expensive for large text regions.

## See Also

### Accessing the text

- [lines](vision/documentobservation/container/text-swift.struct/lines.md)
- [transcript](vision/documentobservation/container/text-swift.struct/transcript.md)
- [words](vision/documentobservation/container/text-swift.struct/words.md)
