CIDetectorTypeRectangle
A detector that searches for rectangular areas in a still image or video, returning Cirectanglefeature objects that provide information about detected regions.
Declaration
let CIDetectorTypeRectangle: StringDiscussion
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.