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

# init(imageAt:orientation:constraint:options:)

Construct image feature value from an image on disk using a model specified image constraint. The passed in orientation supersedes any in the file

## Declaration

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