---
title: "init(rawValue:)"
framework: visionkit
role: symbol
role_heading: Initializer
path: "visionkit/imageanalyzer/analysistypes/init(rawvalue:)"
---

# init(rawValue:)

Creates an analysis type with the given value.

## Declaration

```swift
init(rawValue: UInt)
```

## Parameters

- `rawValue`: The underlying value of the analysis type.

## See Also

### Creating sets

- [rawValue](visionkit/imageanalyzer/analysistypes/rawvalue.md)
