---
title: CIFeatureTypeRectangle
framework: coreimage
role: symbol
role_heading: Global Variable
path: coreimage/cifeaturetyperectangle
---

# CIFeatureTypeRectangle

A Core Image feature type for rectangular object.

## Declaration

```swift
let CIFeatureTypeRectangle: String
```

## Discussion

Discussion To detect rectangles in an image or video, pass this to /CIDetector/detectorOfType:context:options: Use the CIRectangleFeature class to find more information about the detected rectangle.

## See Also

### Feature Types

- [CIFeatureTypeFace](coreimage/cifeaturetypeface.md)
- [CIFeatureTypeQRCode](coreimage/cifeaturetypeqrcode.md)
- [CIFeatureTypeText](coreimage/cifeaturetypetext.md)
