CIDetector.CreateFaceDetector Method
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.
Overloads
CreateFaceDetector(CIContext, CIDetectorOptions) |
Create a new face detector using the specified parameters. |
CreateFaceDetector(CIContext, Boolean) |
Create a new face detector using the specified parameters. |
CreateFaceDetector(CIContext, Boolean, Single) |
Create a new face detector using the specified parameters. |
CreateFaceDetector(CIContext, Nullable<FaceDetectorAccuracy>, Nullable<Single>, Nullable<Boolean>) |
Create a new face detector using the specified parameters. |
CreateFaceDetector(CIContext, CIDetectorOptions)
Create a new face detector using the specified parameters.
public static CoreImage.CIDetector CreateFaceDetector (CoreImage.CIContext context, CoreImage.CIDetectorOptions detectorOptions);
static member CreateFaceDetector : CoreImage.CIContext * CoreImage.CIDetectorOptions -> CoreImage.CIDetector
Parameters
- context
- CIContext
Image context.
- detectorOptions
- CIDetectorOptions
Options to use for the face detector.
Returns
A CIDetector instance.
Applies to
CreateFaceDetector(CIContext, Boolean)
Create a new face detector using the specified parameters.
public static CoreImage.CIDetector CreateFaceDetector (CoreImage.CIContext context, bool highAccuracy);
static member CreateFaceDetector : CoreImage.CIContext * bool -> CoreImage.CIDetector
Parameters
- context
- CIContext
Image context.
- highAccuracy
- Boolean
If true, it uses a more precise but slower scanning method; If false, it uses a fast path, but not as precise..
Returns
A CIDetector instance.
Applies to
CreateFaceDetector(CIContext, Boolean, Single)
Create a new face detector using the specified parameters.
public static CoreImage.CIDetector CreateFaceDetector (CoreImage.CIContext context, bool highAccuracy, float minFeatureSize);
static member CreateFaceDetector : CoreImage.CIContext * bool * single -> CoreImage.CIDetector
Parameters
- context
- CIContext
Image context.
- highAccuracy
- Boolean
If true, it uses a more precise but slower scanning method; If false, it uses a fast path, but not as precise..
- minFeatureSize
- Single
Minimum size that the detector will discover as a feature.
Returns
A CIDetector instance.
Remarks
minFeatureSize is new in iOS 6, it will be ignored in earlier releases.
Applies to
CreateFaceDetector(CIContext, Nullable<FaceDetectorAccuracy>, Nullable<Single>, Nullable<Boolean>)
Create a new face detector using the specified parameters.
public static CoreImage.CIDetector CreateFaceDetector (CoreImage.CIContext context, Nullable<CoreImage.FaceDetectorAccuracy> accuracy = null, Nullable<float> minFeatureSize = null, Nullable<bool> trackingEnabled = null);
static member CreateFaceDetector : CoreImage.CIContext * Nullable<CoreImage.FaceDetectorAccuracy> * Nullable<single> * Nullable<bool> -> CoreImage.CIDetector
Parameters
- context
- CIContext
Image context.
- accuracy
- Nullable<FaceDetectorAccuracy>
Returns
A CIDetector instance.
Remarks
Both minFeatureSize and trackingEnabled are new in iOS 6, they will be ignored in earlier releases.