<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Vision",
  "identifier" : "/documentation/Vision/VNGenerateForegroundInstanceMaskRequest",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Vision"
    ],
    "preciseIdentifier" : "c:objc(cs)VNGenerateForegroundInstanceMaskRequest"
  },
  "title" : "VNGenerateForegroundInstanceMaskRequest"
}
-->

# VNGenerateForegroundInstanceMaskRequest

A request that generates an instance mask of noticable objects to separate from the background.

```
class VNGenerateForegroundInstanceMaskRequest
```

## Topics

### Accessing the Results

[`results`](/documentation/Vision/VNGenerateForegroundInstanceMaskRequest/results)

The instance masks the request observes.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)