---
title: "init(imageAt:constraint:options:)"
framework: coreml
role: symbol
role_heading: Initializer
path: "coreml/mlfeaturevalue/init(imageat:constraint:options:)"
---

# init(imageAt:constraint:options:)

Construct image feature value from an image on disk, using a model specified image constraint. Orientation is read from Exif if avaiable

## Declaration

```swift
convenience init(imageAt url: URL, constraint: MLImageConstraint, options: [MLFeatureValue.ImageOption : Any]? = nil) throws
```
