Share via


MLImage.CreateFromStream(Stream) Method

Definition

Create a new MLImage instance from a stream.

public static Microsoft.ML.Data.MLImage CreateFromStream (System.IO.Stream imageStream);
static member CreateFromStream : System.IO.Stream -> Microsoft.ML.Data.MLImage
Public Shared Function CreateFromStream (imageStream As Stream) As MLImage

Parameters

imageStream
Stream

The stream to create the image from.

Returns

MLImage object.

Applies to