Contents

init(imageAtURL:pixelsWide:pixelsHigh:pixelFormatType:options:)

Creates a feature value that contains an image defined by an image URL and the image’s size and pixel format.

Declaration

convenience init(imageAtURL url: URL, pixelsWide: Int, pixelsHigh: Int, pixelFormatType: OSType, options: [MLFeatureValue.ImageOption : Any]? = nil) throws

Parameters

See Also

Creating image feature values