---
title: ARFrame.SegmentationClass
framework: arkit
role: symbol
role_heading: Enumeration
path: arkit/arframe/segmentationclass
---

# ARFrame.SegmentationClass

A categorization of a pixel that defines a type of content you use to occlude your app’s virtual content.

## Declaration

```swift
enum SegmentationClass
```

## Overview

Overview ARKit applies the categories defined in this class based on its interpretation of the camera feed’s pixel data. Only people are identified in a camera feed, and therefore the available pixel classifications are either ARFrame.SegmentationClass.person or ARFrame.SegmentationClass.none.

## Topics

### Classifying Pixels

- [ARFrame.SegmentationClass.person](arkit/arframe/segmentationclass/person.md)
- [ARFrame.SegmentationClass.none](arkit/arframe/segmentationclass/none.md)

### Initializers

- [init(rawValue:)](arkit/arframe/segmentationclass/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Checking for people

- [detectedBody](arkit/arframe/detectedbody.md)
- [ARBody2D](arkit/arbody2d.md)
- [segmentationBuffer](arkit/arframe/segmentationbuffer.md)
- [estimatedDepthData](arkit/arframe/estimateddepthdata.md)
