Contents

init(CGImage:constraint:options:)

Creates a feature value that contains an image defined by a core graphics image and a constraint.

Declaration

convenience init(CGImage cgImage: CGImage, constraint: MLImageConstraint, options: [MLFeatureValue.ImageOption : Any]? = nil) throws

Parameters

See Also

Creating image feature values