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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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.