---
title: recognizedItems
framework: visionkit
role: symbol
role_heading: Instance Property
path: visionkit/datascannerviewcontroller/recognizeditems
---

# recognizedItems

An asynchronous array of items that the data scanner currently recognizes in the camera’s live video.

## Declaration

```swift
@MainActor var recognizedItems: AsyncStream<[RecognizedItem]> { get }
```

## Discussion

Discussion You can use this property instead of the DataScannerViewControllerDelegate protocol methods to track the recognized items in real time. To get the changes between arrays, use the difference(from:) method. For more information on asynchronous streams, see Concurrency. Text items in this array appear in the reading order of the language and region.

## See Also

### Scanning and recognizing items

- [startScanning()](visionkit/datascannerviewcontroller/startscanning().md)
- [stopScanning()](visionkit/datascannerviewcontroller/stopscanning().md)
- [isScanning](visionkit/datascannerviewcontroller/isscanning.md)
