Contents

applied(to:eventHandler:)

Uses the CoreML model to create image features from the input pixel buffer.

Declaration

func applied(to input: CIImage, eventHandler: EventHandler? = nil) async throws -> MLShapedArray<Float>

Parameters

  • input:

    An image.

  • eventHandler:

    An event handler.

Return Value

ImageFeatures generated by passing the pixelBuffer through the model.

See Also

Applying