---
title: CIDetectorTypeRectangle
framework: coreimage
role: symbol
role_heading: Global Variable
path: coreimage/cidetectortyperectangle
---

# CIDetectorTypeRectangle

A detector that searches for rectangular areas in a still image or video, returning CIRectangleFeature objects that provide information about detected regions.

## Declaration

```swift
let CIDetectorTypeRectangle: String
```

## Discussion

Discussion The rectangle detector finds areas that are likely to represent rectangular objects that appear in perspective in the image, such as papers or books seen on a desktop.

## See Also

### Constants

- [CIDetectorTypeFace](coreimage/cidetectortypeface.md)
- [CIDetectorTypeQRCode](coreimage/cidetectortypeqrcode.md)
- [CIDetectorTypeText](coreimage/cidetectortypetext.md)
