Component: CoreML 
------------------

macOS 10.13 and iOS 11 functions for machine learning.

See [WindowsML](component_WindowsML.md) functions for Windows 10, [FoundationModels](component_FoundationModels.md) functions for macOS and [Llama](component_Llama.md) functions cross platform.

| Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|
| [7.4](newinversion74.md "First functions introduced with version 7.4.") / [13.0](newinversion130.md "Newest functions in version 13.0.") | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ✅ Yes |

  
| Item | Details |
|:--|:--|
| [CoreImage.Detect](CoreImageDetect.md)   Detects core image features. | Mac/iOS   7.4 |
| [CoreML.Add2DArrayParameter](CoreMLAdd2DArrayParameter.md)   Adds a 2D array parameter. | Mac/iOS   10.2 |
| [CoreML.AddArrayParameter](CoreMLAddArrayParameter.md)   Adds an array parameter. | Mac/iOS   7.4 |
| [CoreML.AddDoubleParameter](CoreMLAddDoubleParameter.md)   Adds a double parameter. | Mac/iOS   7.4 |
| [CoreML.AddImageParameter](CoreMLAddImageParameter.md)   Adds an image parameter. | Mac/iOS   7.4 |
| [CoreML.AddIntegerParameter](CoreMLAddIntegerParameter.md)   Adds an integer parameter. | Mac/iOS   7.4 |
| [CoreML.AddTextParameter](CoreMLAddTextParameter.md)   Adds a text parameter. | Mac/iOS   7.4 |
| [CoreML.AddUndefinedParameter](CoreMLAddUndefinedParameter.md)   Adds an undefined parameter. | Mac/iOS   7.4 |
| [CoreML.Available](CoreMLAvailable.md)   Whether CoreML is available. | Mac/iOS   7.4 |
| [CoreML.Clear](CoreMLClear.md)   Clears all parameters. | Mac/iOS   7.4 |
| [CoreML.CompileModel](CoreMLCompileModel.md)   Compiles a model file. | Mac/iOS   7.4 |
| [CoreML.Description](CoreMLDescription.md)   Queries the description of the model. | Mac/iOS   7.4 |
| [CoreML.GetUsesCPUOnly](CoreMLGetUsesCPUOnly.md)   Queries whether to use CPU only. | Mac/iOS   7.4 |
| [CoreML.List](CoreMLList.md)   Lists all IDs of CoreML objects. | Mac/iOS   13.0 |
| [CoreML.OpenModel](CoreMLOpenModel.md)   Opens a compiled model file. | Mac/iOS   7.4 |
| [CoreML.PredictionFromFeatures](CoreMLPredictionFromFeatures.md)   Runs model with set parameters. | Mac/iOS   7.4 |
| [CoreML.Release](CoreMLRelease.md)   Releases a model. | Mac/iOS   7.4 |
| [CoreML.ReleaseAll](CoreMLReleaseAll.md)   Releases all models. | Mac/iOS   10.5 |
| [CoreML.ResultImage](CoreMLResultImage.md)   Queries result image. | Mac/iOS   7.4 |
| [CoreML.SetUsesCPUOnly](CoreMLSetUsesCPUOnly.md)   Sets whether to use CPU only. | Mac/iOS   7.4 |
| [CoreML.Update](CoreMLUpdate.md)   Updates a model. | Mac/iOS   10.0 |

21 functions shown.

These functions require a license (76%).

### Release notes

- **Version 13.0**
    - Added [CoreML.List](https://www.mbsplugins.eu/CoreMLList.shtml) function.
- **Version 12.5**
    - Disabled debug logging left over in [CoreML.Update](https://www.mbsplugins.eu/CoreMLUpdate.shtml) function.
- **Version 10.5**
    - Added [AVExport.ReleaseAll](https://www.mbsplugins.eu/AVExportReleaseAll.shtml), [AVRecorder.ReleaseAll](https://www.mbsplugins.eu/AVRecorderReleaseAll.shtml), [CoreML.ReleaseAll](https://www.mbsplugins.eu/CoreMLReleaseAll.shtml), [DNSLookup.ReleaseAll](https://www.mbsplugins.eu/DNSLookupReleaseAll.shtml), [Dictionary.ReleaseAll](https://www.mbsplugins.eu/DictionaryReleaseAll.shtml), [FM.SQL.ReleaseAll](https://www.mbsplugins.eu/FMSQLReleaseAll.shtml), [JS.ReleaseAll](https://www.mbsplugins.eu/JSReleaseAll.shtml), [JavaScript.ReleaseAll](https://www.mbsplugins.eu/JavaScriptReleaseAll.shtml), [LDAP.ReleaseAll](https://www.mbsplugins.eu/LDAPReleaseAll.shtml), [PDFKit.ReleaseAll](https://www.mbsplugins.eu/PDFKitReleaseAll.shtml), [PKCS12.ReleaseAll](https://www.mbsplugins.eu/PKCS12ReleaseAll.shtml), [PKCS7.ReleaseAll](https://www.mbsplugins.eu/PKCS7ReleaseAll.shtml), [PKey.ReleaseAll](https://www.mbsplugins.eu/PKeyReleaseAll.shtml), [SSH.ReleaseAll](https://www.mbsplugins.eu/SSHReleaseAll.shtml), [WinSendMail.ReleaseAll](https://www.mbsplugins.eu/WinSendMailReleaseAll.shtml), [WindowsML.ReleaseAll](https://www.mbsplugins.eu/WindowsMLReleaseAll.shtml), [WordFile.ReleaseAll](https://www.mbsplugins.eu/WordFileReleaseAll.shtml), and [X509.ReleaseAll](https://www.mbsplugins.eu/X509ReleaseAll.shtml).
- **Version 10.2**
    - Added [CoreML.Add2DArrayParameter](https://www.mbsplugins.eu/CoreMLAdd2DArrayParameter.shtml) function.
- **Version 10.0**
    - Added [CoreML.Update](https://www.mbsplugins.eu/CoreMLUpdate.shtml) function.
    - Improved [CoreML.Description](https://www.mbsplugins.eu/CoreMLDescription.shtml) to include newer attributes for MacOS 10.15.
- **Version 8.4**
    - Improved [CoreML.AddImageParameter](http://www.mbsplugins.eu/CoreMLAddImageParameter.shtml) function to auto scale image to required size.

### Blog Entries

- [5000 Functions in MBS Plugin](https://www.mbsplugins.de/archive/2017-11-11/5000_Functions_in_MBS_Plugin/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 7.4 - More than 4900 Functions In One Plugin](https://www.mbsplugins.de/archive/2017-09-26/MBS_FileMaker_Plugin_74_-_More/monkeybreadsoftware_blog_filemaker)

### FileMaker Magazin

- [Ausgabe 5/2022, Seite 29](https://filemaker-magazin.de/neuigkeit/4196-Appetithappen-FMM_202205)
- [Ausgabe 5/2022, Seite 26 bis 27](https://filemaker-magazin.de/neuigkeit/4196-Appetithappen-FMM_202205)
- [Ausgabe 6/2020, Seite 25](https://filemaker-magazin.de/neuigkeit/4118-Appetithappen-FMM_202006)

### Example Databases

- [Mac and iOS/Machine Learning/Core ML Photos](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/Machine%20Learning/Core%20ML%20Photos.shtml#6ScriptAnchor_)
- [Mac and iOS/Machine Learning/CoreML](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/Machine%20Learning/CoreML.shtml#1ScriptAnchor_)

[HTML Version](component_CoreImage.shtml)