Platforms to show: All Mac Windows Linux Cross-Platform

Back to CIDetectorMBS class.

CIDetectorMBS.CIDetectorAccuracy as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreImage MBS MacCI Plugin 12.4 ✅ Yes ❌ No ❌ No ✅ Yes All
The key in the options dictionary used to specify a accuracy / performance tradeoff to be used.

Some examples using this method:

CIDetectorMBS.CIDetectorAccuracyHigh as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreImage MBS MacCI Plugin 12.4 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the values for use with the CIDetectorAccuracy key.

Lower performance, higher accuracy

Some examples using this method:

CIDetectorMBS.CIDetectorAccuracyLow as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreImage MBS MacCI Plugin 12.4 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the values for use with the CIDetectorAccuracy key.

Lower accuracy, higher performance

CIDetectorMBS.CIDetectorAspectRatio as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreImage MBS MacCI Plugin 16.0 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the keys used in the options dictionary for featuresInImage.

An option specifying the aspect ratio (width divided by height) of rectangles to search for.

The value of this key is an NSNumber object whose value is a positive floating-point number. Use this option with the CIDetectorTypeRectangle detector type 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 (3.5 / 2).

CIDetectorMBS.CIDetectorEyeBlink as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreImage MBS MacCI Plugin 14.1 ✅ Yes ❌ No ❌ No ✅ Yes All
An option for whether Core Image will perform additional processing to recognize closed eyes in detected faces.

Available in OS X v10.9 and later.

CIDetectorMBS.CIDetectorFocalLength as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreImage MBS MacCI Plugin 16.0 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the keys used in the options dictionary for featuresInImage.

An option identifying the focal length used in capturing images to be processed by the detector.

The value of this key is an NSNumber object whose value is a floating-point number between -1.0 and 1.0. Use this option with the CIDetectorTypeRectangle detector type to fine-tune the accuracy of the detector.

CIDetectorMBS.CIDetectorImageOrientation as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreImage MBS MacCI Plugin 14.1 ✅ Yes ❌ No ❌ No ✅ Yes All
An option for the display orientation of the image whose features you want to detect.

The value of this key is an NSNumber object whose value is an integer between 1 and 8. The TIFF and EXIF specifications define these values to indicate where the pixel coordinate origin (0,0) of the image should appear when it is displayed. The default value is 1, indicating that the origin is in the top left corner of the image. For further details, see kCGImagePropertyOrientation.
Core Image only detects faces whose orientation matches that of the image. You should provide a value for this key if you want to detect faces in a different orientation.
Available in OS X v10.8 and later.

CIDetectorMBS.CIDetectorMaxFeatureCount as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreImage MBS MacCI Plugin 17.4 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the options for featuresInImage.

For rectangle detector, the value for this key is an integer number from 1 ... 256 that represents the maximum number of features to return.
valid value range: 1 <= CIDetectorMaxFeatureCount <= 256. The default value is 1.

CIDetectorMBS.CIDetectorMinFeatureSize as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreImage MBS MacCI Plugin 14.1 ✅ Yes ❌ No ❌ No ✅ Yes All
A key used to specify the minimum size that the detector will recognize as a feature.

The value for this key is an NSNumber object ranging from 0.0 through 1.0 that represents a fraction of the minor dimension of the image.
Available in OS X v10.8 and later.

CIDetectorMBS.CIDetectorNumberOfAngles as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreImage MBS MacCI Plugin 15.4 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the configuration keys.

The number of perspectives to use for detecting a face in video input.

The value for this key is a number 1, 3, 5, 7, 9, or 11. At higher numbers of angles, face detection in video becomes more accurate, but at a higher computational cost.

Available in OS X 10.11 and later.

CIDetectorMBS.CIDetectorReturnSubFeatures as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreImage MBS MacCI Plugin 17.4 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the options for featuresInImage.

The value for this key is a bool. Controls whether the text detector should detect subfeatures or not. The default value is false. Requires 64-bit.

CIDetectorMBS.CIDetectorSmile as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreImage MBS MacCI Plugin 14.1 ✅ Yes ❌ No ❌ No ✅ Yes All
An option for whether Core Image will perform additional processing to recognize smiles in detected faces.

Available in OS X v10.9 and later.

CIDetectorMBS.CIDetectorTracking as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreImage MBS MacCI Plugin 14.1 ✅ Yes ❌ No ❌ No ✅ Yes All
A key used to enable or disable face tracking for the detector.

Use this option when you want to track faces across frames in a video.
Available in OS X v10.8 and later.

CIDetectorMBS.CIDetectorTypeFace as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreImage MBS MacCI Plugin 12.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Specifies a detector type for face recognition.

Some examples using this method:

CIDetectorMBS.CIDetectorTypeQRCode as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreImage MBS MacCI Plugin 16.0 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the strings used to declare the detector for which you are interested.

A detector that searches for Quick Response codes (a type of 2D barcode) in a still image or video, returning CIQRCodeFeature objects that provide information about detected barcodes.
This is Mac 64-bit only.

Some examples using this method:

CIDetectorMBS.CIDetectorTypeRectangle as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreImage MBS MacCI Plugin 16.0 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the strings used to declare the detector for which you are interested.

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

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.

CIDetectorMBS.CIDetectorTypeText as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreImage MBS MacCI Plugin 16.0 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the strings used to declare the detector for which you are interested.

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

The text detector finds areas that are likely to contain upright text, but does not perform optical character recognition.

CIDetectorMBS.detectorOfType(type as string, context as CIContextMBS = nil, options as dictionary = nil) as CIDetectorMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreImage MBS MacCI Plugin 16.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns a new detector instance of the given type.

The type is used to specify the usage intent.
The context argument specifies the CIContext to be used to operate on the image. May be nil.

If the input image to featuresInImage is the output of a CoreImage operation, it may improve performance to specify the same context that was used to operate on that image.

The detector may do image processing in this context and if the image is on the GPU and the specified context is a GPU context this may avoid additional upload to / download from the GPU. If the input image is on the CPU (or the output from a CPU based context) specifying a GPU based context (or vice versa) may reduce performance.

The options parameter lets you optinally specify a accuracy / performance tradeoff. Can be nil or an empty dictionary.

The items on this page are in the following plugins: MBS MacCI Plugin.


The biggest plugin in space...