<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "Vision",
  "identifier" : "/documentation/Vision/VNImageOption",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Vision"
    ],
    "preciseIdentifier" : "c:@T@VNImageOption"
  },
  "title" : "VNImageOption"
}
-->

# VNImageOption

An option key passed into an image request handler that takes an auxiliary image.

```
struct VNImageOption
```

## Discussion

Pass an option key into the [`VNImageRequestHandler`](/documentation/Vision/VNImageRequestHandler) instance on creation or request.  Option keys are used to describe specific properties of an image or specify how an image needs to be handled.

## Topics

### Initializers

[`init(rawValue:)`](/documentation/Vision/VNImageOption/init(rawValue:))

Initializes an option key using its string name.

### Options Dictionary Keys

[`properties`](/documentation/Vision/VNImageOption/properties)

The dictionary from the image source that contains the metadata for algorithms like horizon detection.

[`cameraIntrinsics`](/documentation/Vision/VNImageOption/cameraIntrinsics)

An option to specify the camera intrinstics.

[`ciContext`](/documentation/Vision/VNImageOption/ciContext)

An option key to specify the context to use in the handler’s Core Image operations.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)