pub unsafe static CIDetectorAspectRatio: &'static NSStringAvailable on crate feature
CIDetector only.Expand description
A dictionary key that configures a Core Image rectangle feature detection operation to search for a rectangle of a desired aspect ratio (width divided by height).
This option is used with /CIDetector/featuresInImage:options:
The value for this key needs to be is a positive float number.
Use this option with a CIDetectorTypeRectangle detector to fine-tune the accuracy of the detector.
For example, to more accurately find a business card (3.5 x 2 inches) in an image, specify an aspect ratio of 1.75.
If this key is not specified, the a default value of 1.6 is used.
See also Appleās documentation