init(cgImage:orientation:constraint:options:)

Construct image feature value from CGImage w/ specified orientation, using the size and type information required by feature description

Declaration

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