<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "VideoToolbox",
  "identifier" : "/documentation/VideoToolbox/kVTDecodeFrameOptionKey_ContentAnalyzerCropRectangle",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Video Toolbox"
    ],
    "preciseIdentifier" : "c:@kVTDecodeFrameOptionKey_ContentAnalyzerCropRectangle"
  },
  "title" : "kVTDecodeFrameOptionKey_ContentAnalyzerCropRectangle"
}
-->

# kVTDecodeFrameOptionKey_ContentAnalyzerCropRectangle

```
let kVTDecodeFrameOptionKey_ContentAnalyzerCropRectangle: CFString
```

## Discussion

\abstract CGRect within the image to be used for content analysis, cropped before applying rotation.
\discussion 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.

---

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)