---
title: "init(source:target:orientation:)"
framework: vision
role: symbol
role_heading: Initializer
path: "vision/targetedimagerequesthandler/init(source:target:orientation:)-9u6ta"
---

# init(source:target:orientation:)

Creates a request handler that performs requests on an image contained within a sample buffer.

## Declaration

```swift
convenience init(source: CMSampleBuffer, target: CMSampleBuffer, orientation: CGImagePropertyOrientation? = nil)
```

## See Also

### Creating a request handler

- [init(sourceURL:targetURL:orientation:)](vision/targetedimagerequesthandler/init(sourceurl:targeturl:orientation:).md)
- [init(source:target:orientation:)](vision/targetedimagerequesthandler/init(source:target:orientation:)-4wr1c.md)
- [init(source:target:orientation:)](vision/targetedimagerequesthandler/init(source:target:orientation:)-66ft9.md)
- [init(source:target:orientation:)](vision/targetedimagerequesthandler/init(source:target:orientation:)-64lxw.md)
- [init(source:target:orientation:)](vision/targetedimagerequesthandler/init(source:target:orientation:)-1nk14.md)
