---
title: GenerateObjectnessBasedSaliencyImageRequest
framework: vision
role: symbol
role_heading: Structure
path: vision/generateobjectnessbasedsaliencyimagerequest
---

# GenerateObjectnessBasedSaliencyImageRequest

A request that generates a heat map that identifies the parts of an image most likely to represent objects.

## Declaration

```swift
struct GenerateObjectnessBasedSaliencyImageRequest
```

## Overview

Overview The request returns the resulting heat map and object data in an instance of SaliencyImageObservation.

## Topics

### Creating a request

- [init(_:)](vision/generateobjectnessbasedsaliencyimagerequest/init(_:).md)

### Performing a request

- [perform(on:orientation:)](vision/imageprocessingrequest/perform(on:orientation:)-80bya.md)
- [perform(on:orientation:)](vision/imageprocessingrequest/perform(on:orientation:)-3f3f1.md)
- [perform(on:orientation:)](vision/imageprocessingrequest/perform(on:orientation:)-qxxx.md)
- [perform(on:orientation:)](vision/imageprocessingrequest/perform(on:orientation:)-xspx.md)
- [perform(on:orientation:)](vision/imageprocessingrequest/perform(on:orientation:)-3hddl.md)
- [perform(on:orientation:)](vision/imageprocessingrequest/perform(on:orientation:)-85ex1.md)

### Understanding the result

- [SaliencyImageObservation](vision/saliencyimageobservation.md)

### Getting the revision

- [revision](vision/generateobjectnessbasedsaliencyimagerequest/revision-swift.property.md)
- [supportedRevisions](vision/generateobjectnessbasedsaliencyimagerequest/supportedrevisions.md)
- [GenerateObjectnessBasedSaliencyImageRequest.Revision](vision/generateobjectnessbasedsaliencyimagerequest/revision-swift.enum.md)

## Relationships

### Conforms To

- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [ImageProcessingRequest](vision/imageprocessingrequest.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [VisionRequest](vision/visionrequest.md)

## See Also

### Image quality and saliency analysis

- [Implementing saliency-based image cropping in iOS and watchOS](vision/implementing-saliency-based-image-cropping-in-ios-and-watchos.md)
- [Generating high-quality thumbnails from videos](vision/generating-thumbnails-from-videos.md)
- [CalculateImageAestheticsScoresRequest](vision/calculateimageaestheticsscoresrequest.md)
- [DetectLensSmudgeRequest](vision/detectlenssmudgerequest.md)
- [GenerateAttentionBasedSaliencyImageRequest](vision/generateattentionbasedsaliencyimagerequest.md)
