---
title: VNDetectHorizonRequest
framework: vision
role: symbol
role_heading: Class
path: vision/vndetecthorizonrequest
---

# VNDetectHorizonRequest

An image-analysis request that determines the horizon angle in an image.

## Declaration

```swift
class VNDetectHorizonRequest
```

## Topics

### Accessing the Results

- [results](vision/vndetecthorizonrequest/results.md)

### Identifying Request Revisions

- [VNDetectHorizonRequestRevision1](vision/vndetecthorizonrequestrevision1.md)

## Relationships

### Inherits From

- [VNImageBasedRequest](vision/vnimagebasedrequest.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Horizon detection

- [VNHorizonObservation](vision/vnhorizonobservation.md)
