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

# VNContoursObservation

An object that represents the detected contours in an image.

```
class VNContoursObservation
```

## Topics

### Inspecting the Observation

[`contourCount`](/documentation/Vision/VNContoursObservation/contourCount)

The total number of detected contours.

[`normalizedPath`](/documentation/Vision/VNContoursObservation/normalizedPath)

The detected contours as a path object in normalized coordinates.

[`topLevelContours`](/documentation/Vision/VNContoursObservation/topLevelContours)

An array of contours that don’t have another contour enclosing them.

[`topLevelContourCount`](/documentation/Vision/VNContoursObservation/topLevelContourCount)

The total number of detected top-level contours.

[`contour(at:)`](/documentation/Vision/VNContoursObservation/contour(at:)-9on0y)

Retrieves the contour object at the specified index, irrespective of hierarchy.

[`contour(at:)`](/documentation/Vision/VNContoursObservation/contour(at:)-52odo)

Retrieves the contour object at the specified index path.

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

A class that represents a detected contour in an image.



---

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)