---
title: topLevelContours
framework: vision
role: symbol
role_heading: Instance Property
path: vision/contoursobservation/toplevelcontours
---

# topLevelContours

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

## Declaration

```swift
var topLevelContours: [ContoursObservation.Contour] { get }
```

## Discussion

Discussion This array constitutes the top of the contour hierarchy. You can iterate over each Contour instance to determine its children.

## See Also

### Inspecting an observation

- [contourCount](vision/contoursobservation/contourcount.md)
- [normalizedPath](vision/contoursobservation/normalizedpath.md)
