---
title: "init(cropAndScale:context:)"
framework: createmlcomponents
role: symbol
role_heading: Initializer
path: "createmlcomponents/imagefeatureprint/init(cropandscale:context:)"
---

# init(cropAndScale:context:)

Creates a FeaturePrint feature extractor.

## Declaration

```swift
init(cropAndScale: VNImageCropAndScaleOption = .centerCrop, context: CIContext = CIContext())
```

## Parameters

- `cropAndScale`: The scaling and cropping options.
- `context`: The CoreImage context to use for the operation. Defaults to a new default context.

## See Also

### Creating the extractor

- [init(revision:cropAndScale:context:)](createmlcomponents/imagefeatureprint/init(revision:cropandscale:context:).md)
