Share via


MLImage.CreateFromFile(String) Method

Definition

Create a new MLImage instance from a stream.

public static Microsoft.ML.Data.MLImage CreateFromFile (string imagePath);
static member CreateFromFile : string -> Microsoft.ML.Data.MLImage
Public Shared Function CreateFromFile (imagePath As String) As MLImage

Parameters

imagePath
String

The image file path to create the image from.

Returns

MLImage object.

Applies to