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

# VNPixelBufferObservation

An object that represents an image that an image-analysis request produces.

```
class VNPixelBufferObservation
```

## Overview

This type of observation results from performing a [`VNCoreMLRequest`](/documentation/Vision/VNCoreMLRequest) image analysis with a Core ML model that has an image-to-image processing role. For example, this observation might result from a model that analyzes the style of one image and then transfers that style to a different image.

Vision infers that an <doc://com.apple.documentation/documentation/CoreML/MLModel> object is an image-to-image model if that model includes an image. Its <doc://com.apple.documentation/documentation/CoreML/MLModel/modelDescription> object includes an image-typed feature description in its <doc://com.apple.documentation/documentation/CoreML/MLModelDescription/outputDescriptionsByName> dictionary.

## Topics

### Parsing Observation Content

[`pixelBuffer`](/documentation/Vision/VNPixelBufferObservation/pixelBuffer)

The image that results from a request with image output.

[`featureName`](/documentation/Vision/VNPixelBufferObservation/featureName)

A feature name that the CoreML model defines.

### Getting the supported pixel formats

[`supportedOutputPixelFormats()`](/documentation/Vision/VNGeneratePersonSegmentationRequest/supportedOutputPixelFormats())

Returns a list of output pixel formats that the request supports.



---

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)