MLImage.CreateFromFile(String) 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 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.