CIDetectorOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Options for use with face detection. Used with CreateFaceDetector(CIContext, Nullable<FaceDetectorAccuracy>, Nullable<Single>, Nullable<Boolean>).
public class CIDetectorOptions
type CIDetectorOptions = class
- Inheritance
-
CIDetectorOptions
Constructors
CIDetectorOptions() |
Creates a new CIDetectorOptions with default values. |
Properties
Accuracy |
Gets or sets a value that indicates whether to use high or low detection accuracy. |
AspectRatio |
Gets or sets the aspect ratio of features to detect. Values greater than one are wider than they are tall. |
EyeBlink |
Gets whether to detect closed eyes. |
FocalLength |
Gets or sets a value that indicates the focal length of the device that was used to capture the image that the detector will process. |
ImageOrientation |
The orientation of the source image, or |
MaxFeatureCount | |
MinFeatureSize |
Gets or sets the smallest feature size to detect. |
NumberOfAngles |
Gets or sets the number of angles from which to sample video when detecting faces. Can be 1, 3, 5, 7, 9, or 11. |
ReturnSubFeatures |
Gets or sets a value that controls whether to return subfeature information in addition to feature information. |
Smile |
Gets or sets whether to detect smiles. |
TrackingEnabled |
Gets or sets whether faces are tracked between frames. |