---
title: "init(requestRevision:boundingBox:roll:yaw:)"
framework: vision
role: symbol
role_heading: Initializer
path: "vision/vnfaceobservation/init(requestrevision:boundingbox:roll:yaw:)"
---

# init(requestRevision:boundingBox:roll:yaw:)

Creates an observation that contains the roll and yaw of the face.

## Declaration

```swift
convenience init(requestRevision: Int, boundingBox: CGRect, roll: NSNumber?, yaw: NSNumber?)
```

## Parameters

- `requestRevision`: The revision of the request.
- `boundingBox`: The bounding rectangle of the detected face landmark.
- `roll`: The rotational angle of the face landmark around the z-axis.
- `yaw`: The rotational angle of the face landmark around the y-axis.

## See Also

### Creating an Observation

- [init(requestRevision:boundingBox:roll:yaw:pitch:)](vision/vnfaceobservation/init(requestrevision:boundingbox:roll:yaw:pitch:).md)
