MLImage.CreateFromStream(Stream) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.