Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.
Platforms to show: All Mac Windows Linux Cross-Platform
CIDetectorMBS.CIDetectorAccuracy as string
Function:
The key in the options dictionary used to specify a accuracy / performance tradeoff to be used.
Type | Topic | Plugin | Version | macOS | Windows | Linux | Console & Web | iOS |
shared method | CoreImage | MBS MacCG Plugin | 12.4 | Yes | No | No | Yes, macOS only | No |
CIDetectorMBS.CIDetectorAccuracyHigh as string
Function:
One of the values for use with the CIDetectorAccuracy key.
Notes: Lower performance, higher accuracy
Type | Topic | Plugin | Version | macOS | Windows | Linux | Console & Web | iOS |
shared method | CoreImage | MBS MacCG Plugin | 12.4 | Yes | No | No | Yes, macOS only | No |
Notes: Lower performance, higher accuracy
CIDetectorMBS.CIDetectorAccuracyLow as string
Function:
One of the values for use with the CIDetectorAccuracy key.
Notes: Lower accuracy, higher performance
Type | Topic | Plugin | Version | macOS | Windows | Linux | Console & Web | iOS |
shared method | CoreImage | MBS MacCG Plugin | 12.4 | Yes | No | No | Yes, macOS only | No |
Notes: Lower accuracy, higher performance
CIDetectorMBS.CIDetectorAspectRatio as string
Function:
One of the keys used in the options dictionary for featuresInImage.
Notes:
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).
Type | Topic | Plugin | Version | macOS | Windows | Linux | Console & Web | iOS |
shared method | CoreImage | MBS MacCG Plugin | 16.0 | Yes | No | No | Yes, macOS only | No |
Notes:
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
Function:
An option for whether Core Image will perform additional processing to recognize closed eyes in detected faces.
Notes: Available in OS X v10.9 and later.
Type | Topic | Plugin | Version | macOS | Windows | Linux | Console & Web | iOS |
shared method | CoreImage | MBS MacCG Plugin | 14.1 | Yes | No | No | Yes, macOS only | No |
Notes: Available in OS X v10.9 and later.
CIDetectorMBS.CIDetectorFocalLength as string
Function:
One of the keys used in the options dictionary for featuresInImage.
Notes:
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.
Type | Topic | Plugin | Version | macOS | Windows | Linux | Console & Web | iOS |
shared method | CoreImage | MBS MacCG Plugin | 16.0 | Yes | No | No | Yes, macOS only | No |
Notes:
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
Function:
An option for the display orientation of the image whose features you want to detect.
Notes:
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.
Type | Topic | Plugin | Version | macOS | Windows | Linux | Console & Web | iOS |
shared method | CoreImage | MBS MacCG Plugin | 14.1 | Yes | No | No | Yes, macOS only | No |
Notes:
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
Function:
One of the options for featuresInImage.
Notes:
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.
Type | Topic | Plugin | Version | macOS | Windows | Linux | Console & Web | iOS |
shared method | CoreImage | MBS MacCG Plugin | 17.4 | Yes | No | No | Yes, macOS only | No |
Notes:
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
Function:
A key used to specify the minimum size that the detector will recognize as a feature.
Notes:
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.
Type | Topic | Plugin | Version | macOS | Windows | Linux | Console & Web | iOS |
shared method | CoreImage | MBS MacCG Plugin | 14.1 | Yes | No | No | Yes, macOS only | No |
Notes:
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
Function:
One of the configuration keys.
Notes:
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.
Type | Topic | Plugin | Version | macOS | Windows | Linux | Console & Web | iOS |
shared method | CoreImage | MBS MacCG Plugin | 15.4 | Yes | No | No | Yes, macOS only | No |
Notes:
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
Function:
One of the options for featuresInImage.
Notes: 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.
Type | Topic | Plugin | Version | macOS | Windows | Linux | Console & Web | iOS |
shared method | CoreImage | MBS MacCG Plugin | 17.4 | Yes | No | No | Yes, macOS only | No |
Notes: 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
Function:
An option for whether Core Image will perform additional processing to recognize smiles in detected faces.
Notes: Available in OS X v10.9 and later.
Type | Topic | Plugin | Version | macOS | Windows | Linux | Console & Web | iOS |
shared method | CoreImage | MBS MacCG Plugin | 14.1 | Yes | No | No | Yes, macOS only | No |
Notes: Available in OS X v10.9 and later.
CIDetectorMBS.CIDetectorTracking as string
Function:
A key used to enable or disable face tracking for the detector.
Notes:
Use this option when you want to track faces across frames in a video.
Available in OS X v10.8 and later.
Type | Topic | Plugin | Version | macOS | Windows | Linux | Console & Web | iOS |
shared method | CoreImage | MBS MacCG Plugin | 14.1 | Yes | No | No | Yes, macOS only | No |
Notes:
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
Function:
Specifies a detector type for face recognition.
Type | Topic | Plugin | Version | macOS | Windows | Linux | Console & Web | iOS |
shared method | CoreImage | MBS MacCG Plugin | 12.4 | Yes | No | No | Yes, macOS only | No |
CIDetectorMBS.CIDetectorTypeQRCode as string
Function:
One of the strings used to declare the detector for which you are interested.
Notes: 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.
Type | Topic | Plugin | Version | macOS | Windows | Linux | Console & Web | iOS |
shared method | CoreImage | MBS MacCG Plugin | 16.0 | Yes | No | No | Yes, macOS only | No |
Notes: 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.
CIDetectorMBS.CIDetectorTypeRectangle as string
Function:
One of the strings used to declare the detector for which you are interested.
Notes:
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.
Type | Topic | Plugin | Version | macOS | Windows | Linux | Console & Web | iOS |
shared method | CoreImage | MBS MacCG Plugin | 16.0 | Yes | No | No | Yes, macOS only | No |
Notes:
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
Function:
One of the strings used to declare the detector for which you are interested.
Notes:
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.
Type | Topic | Plugin | Version | macOS | Windows | Linux | Console & Web | iOS |
shared method | CoreImage | MBS MacCG Plugin | 16.0 | Yes | No | No | Yes, macOS only | No |
Notes:
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
Function:
Returns a new detector instance of the given type.
Notes:
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.
Type | Topic | Plugin | Version | macOS | Windows | Linux | Console & Web | iOS |
shared method | CoreImage | MBS MacCG Plugin | 16.0 | Yes | No | No | Yes, macOS only | No |
Notes:
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 MacCG Plugin.
Links
MBS Xojo tutorial videos