One Logo Pool Ball
Vision · IOS API REFERENCE

VNGeneratePersonSegmentationRequest

class · iOS 15.0+ · SDK 27.1

class VNGeneratePersonSegmentationRequest

Members (8)

init · iOS 15.0+

init

TypeScript
static init(): VNGeneratePersonSegmentationRequest
Swift declaration
init()
init · iOS 15.0+

init

TypeScript
static initCompletionHandler(completionHandler?: (((arg0: VNRequest, arg1: (NativeError) | null) => void)) | null): VNGeneratePersonSegmentationRequest
Swift declaration
init(completionHandler: VNRequestCompletionHandler? = nil)
method · iOS 18.0+

supportedOutputPixelFormats

TypeScript
supportedOutputPixelFormats(): Array<_Foundation_NSNumber>
Swift declaration
func supportedOutputPixelFormats() throws -> [NSNumber]
get · iOS 15.0+

outputPixelFormat

TypeScript
get outputPixelFormat(): SDKHandle
Swift declaration
var outputPixelFormat: OSType { get set }
set · iOS 15.0+

outputPixelFormat

TypeScript
set outputPixelFormat(value: SDKHandle)
Swift declaration
var outputPixelFormat: OSType { get set }
get · iOS 15.0+

qualityLevel

TypeScript
get qualityLevel(): VNGeneratePersonSegmentationRequest_QualityLevel
Swift declaration
var qualityLevel: VNGeneratePersonSegmentationRequest.QualityLevel { get set }
set · iOS 15.0+

qualityLevel

TypeScript
set qualityLevel(value: VNGeneratePersonSegmentationRequest_QualityLevel)
Swift declaration
var qualityLevel: VNGeneratePersonSegmentationRequest.QualityLevel { get set }
get · iOS 15.0+

results

TypeScript
get results(): (Array<VNPixelBufferObservation>) | null
Swift declaration
var results: [VNPixelBufferObservation]? { get }

Skipped declarations

No declarations were skipped in this snapshot.

All Vision types →