Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

CoreML.AddImageParameter

Adds an image parameter.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
CoreML 7.4 Yes No Yes, macOS only No Yes

MBS( "CoreML.AddImageParameter"; CoreMLRef; Name; Image )

Parameters

Parameter Description Example value
CoreMLRef The reference number to the model. $Model
Name The name of the parameter. "test"
Image A container value with image content.
Can be PNG, JPEG, GIF, TIFF, BMP or various other types.

Result

Returns OK or error.

Description

Adds an image parameter.
Please make sure that the image has the required size.

Examples

Add image parameter:

Set Variable [ $r ; Value: MBS("CoreML.AddImageParameter"; $$ML; "image"; CoreML::Input Picture) ]

See also

Example Databases


CoreML.AddDoubleParameter   -   CoreML.AddIntegerParameter

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins