generateMask(forInstances:)
Creates a low-resolution mask from the instances you specify.
Declaration
func generateMask(forInstances instances: IndexSet) throws -> CVPixelBufferParameters
- instances:
The collection of instances.
Return Value
The pixel buffer that contains the image.