Platforms to show: All Mac Windows Linux Cross-Platform
Back to MLFeatureValueMBS class.
MLFeatureValueMBS.featureValueWithCGImage(image as variant, orientation as integer = -1, constraint as MLImageConstraintMBS, options as Dictionary = nil, byref error as NSErrorMBS) as MLFeatureValueMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreML | MBS Mac64bit Plugin | 20.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Available on macOS 10.15 or newer.
If orientation is in range 1 to 8, we pass that as orientation. Otherwise orientation will come from EXIF
See also:
MLFeatureValueMBS.featureValueWithCGImage(image as variant, orientation as integer = -1, pixelsWide as Integer, pixelsHigh as Integer, pixelFormatType as String, options as Dictionary = nil, byref error as NSErrorMBS) as MLFeatureValueMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreML | MBS Mac64bit Plugin | 20.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Available on macOS 10.15 or newer.
If orientation is in range 1 to 8, we pass that as orientation. Otherwise orientation will come from EXIF
See also:
MLFeatureValueMBS.featureValueWithDictionary(value as Dictionary, byref error as NSErrorMBS) as MLFeatureValueMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreML | MBS Mac64bit Plugin | 17.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Copies the dictionary.
For encoding a sparse feature set or for encoding probabilities. Input keys that are not number or string are rejected on construction and return a MLModelErrorFeatureTypeMismatch error. Further validation for consistency occurs on evaluation.
MLFeatureValueMBS.featureValueWithDouble(value as double) as MLFeatureValueMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreML | MBS Mac64bit Plugin | 17.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
MLFeatureValueMBS.featureValueWithImageFile(File as FolderItem, orientation as integer = -1, constraint as MLImageConstraintMBS, options as Dictionary = nil, byref error as NSErrorMBS) as MLFeatureValueMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreML | MBS Mac64bit Plugin | 20.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Available on macOS 10.15 or newer.
If orientation is in range 1 to 8, we pass that as orientation. Otherwise orientation will come from EXIF
See also:
Some examples using this method:
MLFeatureValueMBS.featureValueWithImageFile(File as FolderItem, orientation as integer = -1, pixelsWide as Integer, pixelsHigh as Integer, pixelFormatType as String, options as Dictionary = nil, byref error as NSErrorMBS) as MLFeatureValueMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreML | MBS Mac64bit Plugin | 20.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Available on macOS 10.15 or newer.
If orientation is in range 1 to 8, we pass that as orientation. Otherwise orientation will come from EXIF
See also:
MLFeatureValueMBS.featureValueWithInt64(value as Int64) as MLFeatureValueMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreML | MBS Mac64bit Plugin | 17.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
MLFeatureValueMBS.featureValueWithMultiArray(value as MLMultiArrayMBS) as MLFeatureValueMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreML | MBS Mac64bit Plugin | 17.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
MLFeatureValueMBS.featureValueWithPicture(value as Picture) as MLFeatureValueMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreML | MBS Mac64bit Plugin | 17.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Some examples using this method:
MLFeatureValueMBS.featureValueWithPixelBuffer(Handle as Integer) as MLFeatureValueMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreML | MBS Mac64bit Plugin | 20.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
MLFeatureValueMBS.featureValueWithSequence(sequence as MLSequenceMBS) as MLFeatureValueMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreML | MBS Mac64bit Plugin | 20.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
MLFeatureValueMBS.featureValueWithString(value as string) as MLFeatureValueMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreML | MBS Mac64bit Plugin | 17.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
MLFeatureValueMBS.MLFeatureValueImageOptionCropAndScale as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreML | MBS Mac64bit Plugin | 20.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
MLFeatureValueMBS.MLFeatureValueImageOptionCropRect as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreML | MBS Mac64bit Plugin | 20.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
MLFeatureValueMBS.undefinedFeatureValueWithType(type as Integer) as MLFeatureValueMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | CoreML | MBS Mac64bit Plugin | 17.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The items on this page are in the following plugins: MBS Mac64bit Plugin.