<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Vision",
  "identifier" : "/documentation/Vision/VisionObservation",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Vision"
    ],
    "preciseIdentifier" : "s:6Vision0A11ObservationP"
  },
  "title" : "VisionObservation"
}
-->

# VisionObservation

A type for objects produced by image-analysis requests.

```
protocol VisionObservation : CustomStringConvertible, Decodable, Encodable, Hashable, Sendable
```

## Topics

### Inspecting an observation

[`uuid`](/documentation/Vision/VisionObservation/uuid)

A unique alphanumeric value that the framework assigns the observation.

[`confidence`](/documentation/Vision/VisionObservation/confidence)

The level of confidence in the observation’s accuracy.

[`description`](/documentation/Vision/VisionObservation/description)

A textual representation of this instance.

[`originatingRequestDescriptor`](/documentation/Vision/VisionObservation/originatingRequestDescriptor)

The descriptor of the request that produces the observation.

[`RequestDescriptor`](/documentation/Vision/RequestDescriptor)

A type that describes the request and revision combination.

[`timeRange`](/documentation/Vision/VisionObservation/timeRange)

The time range of the reported observation.

### Hashing the observation

[`hash(into:)`](/documentation/Vision/VisionObservation/hash(into:))

Hashes the essential components of this value by feeding them into the
given hasher.

## Relationships

### Conforming Types

[`ImageAestheticsScoresObservation`](/documentation/Vision/ImageAestheticsScoresObservation)

[`RecognizedTextObservation`](/documentation/Vision/RecognizedTextObservation)

[`InstanceMaskObservation`](/documentation/Vision/InstanceMaskObservation)

[`HumanHandPoseObservation`](/documentation/Vision/HumanHandPoseObservation)

[`RectangleObservation`](/documentation/Vision/RectangleObservation)

[`DocumentObservation`](/documentation/Vision/DocumentObservation)

[`FaceObservation`](/documentation/Vision/FaceObservation)

[`ClassificationObservation`](/documentation/Vision/ClassificationObservation)

[`HumanBodyPose3DObservation`](/documentation/Vision/HumanBodyPose3DObservation)

[`AnimalBodyPoseObservation`](/documentation/Vision/AnimalBodyPoseObservation)

[`FeaturePrintObservation`](/documentation/Vision/FeaturePrintObservation)

[`ContoursObservation`](/documentation/Vision/ContoursObservation)

[`BarcodeObservation`](/documentation/Vision/BarcodeObservation)

[`HorizonObservation`](/documentation/Vision/HorizonObservation)

[`DetectedObjectObservation`](/documentation/Vision/DetectedObjectObservation)

[`SaliencyImageObservation`](/documentation/Vision/SaliencyImageObservation)

[`SmudgeObservation`](/documentation/Vision/SmudgeObservation)

[`HumanBodyPoseObservation`](/documentation/Vision/HumanBodyPoseObservation)

[`DetectedDocumentObservation`](/documentation/Vision/DetectedDocumentObservation)

[`ImageTranslationAlignmentObservation`](/documentation/Vision/ImageTranslationAlignmentObservation)

[`OpticalFlowObservation`](/documentation/Vision/OpticalFlowObservation)

[`TextObservation`](/documentation/Vision/TextObservation)

[`ImageHomographicAlignmentObservation`](/documentation/Vision/ImageHomographicAlignmentObservation)

[`PixelBufferObservation`](/documentation/Vision/PixelBufferObservation)

[`HumanObservation`](/documentation/Vision/HumanObservation)

[`TrajectoryObservation`](/documentation/Vision/TrajectoryObservation)

[`CoreMLFeatureValueObservation`](/documentation/Vision/CoreMLFeatureValueObservation)

[`RecognizedObjectObservation`](/documentation/Vision/RecognizedObjectObservation)

### Inherits From

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

[`Encodable`](/documentation/Swift/Encodable)

[`Decodable`](/documentation/Swift/Decodable)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

---

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)