---
title: kVTDecodeFrameOptionKey_ContentAnalyzerCropRectangle
framework: videotoolbox
role: symbol
role_heading: Global Variable
path: videotoolbox/kvtdecodeframeoptionkey_contentanalyzercroprectangle
---

# kVTDecodeFrameOptionKey_ContentAnalyzerCropRectangle

## Declaration

```swift
let kVTDecodeFrameOptionKey_ContentAnalyzerCropRectangle: CFString
```

## Discussion

Discussion CGRect within the image to be used for content analysis, cropped before applying rotation. This value specifies a rectangle within the original frame that should be used for content analysis. The cropping is applied before any rotation specified by kVTDecodeFrameOptionKey_ContentAnalyzerRotation. The value should be a CFDictionary representing a CGRect created using CGRectCreateDictionaryRepresentation(). This key is not used unless you have attached a SCVideoStreamAnalyzer to the decompression session.

## See Also

### Per-Frame Decoder Options

- [kVTDecodeFrameOptionKey_ContentAnalyzerRotation](videotoolbox/kvtdecodeframeoptionkey_contentanalyzerrotation.md)
