---
title: "analyze(_:orientation:configuration:)"
framework: visionkit
role: symbol
role_heading: Instance Method
path: "visionkit/imageanalyzer/analyze(_:orientation:configuration:)-2ezqw"
---

# analyze(_:orientation:configuration:)

Returns the data for providing a Live Text interaction with a pixel buffer image in the specified orientation.

## Declaration

```swift
final func analyze(_ pixelBuffer: CVPixelBuffer, orientation: CGImagePropertyOrientation, configuration: ImageAnalyzer.Configuration) async throws -> ImageAnalysis
```

## Parameters

- `pixelBuffer`: A Core Video pixel buffer object that the analyzer processes.
- `orientation`: The orientation that the analyzer uses to process the image.
- `configuration`: A configuration that specifies the data types, and locales for text items, to recognize.

## Return Value

Return Value The data items that the analyzer finds in the image.

## See Also

### Finding items in images

- [analyze(_:configuration:)](visionkit/imageanalyzer/analyze(_:configuration:).md)
- [analyze(_:orientation:configuration:)](visionkit/imageanalyzer/analyze(_:orientation:configuration:)-5bs2w.md)
- [analyze(_:orientation:configuration:)](visionkit/imageanalyzer/analyze(_:orientation:configuration:)-ufrs.md)
- [analyze(_:orientation:configuration:)](visionkit/imageanalyzer/analyze(_:orientation:configuration:)-4h43g.md)
- [analyze(_:orientation:configuration:)](visionkit/imageanalyzer/analyze(_:orientation:configuration:)-fcjz.md)
- [analyze(imageAt:orientation:configuration:)](visionkit/imageanalyzer/analyze(imageat:orientation:configuration:).md)
