Contents

generateMask(forInstances:)

Creates a low-resolution mask from the instances you specify.

Declaration

func generateMask(forInstances instances: IndexSet) throws -> CVPixelBuffer

Parameters

  • instances:

    The collection of instances.

Return Value

The pixel buffer that contains the image.

See Also

Creating a Mask