One Logo Pool Ball
Vision · IOS API REFERENCE

SmudgeObservation

struct · iOS 26.0+ · SDK 27.1

struct SmudgeObservation

An observation that provides a confidence score indicating the presence of a smudge in an image or video frame capture.

Members (5)

get · iOS 26.0+

confidence

TypeScript
get confidence(): number
Swift declaration
let confidence: Float

The level of confidence in the observation's accuracy of smudge detection on a lens. The framework normalizes this value to [0, 1], where 1 represents a high probability that the lens was smudged at capture time.

get · iOS 26.0+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A textual representation of this instance.

get · iOS 26.0+

originatingRequestDescriptor

TypeScript
get originatingRequestDescriptor(): (RequestDescriptor) | null
Swift declaration
let originatingRequestDescriptor: RequestDescriptor?

The descriptor of the request that produced the observation.

get · iOS 26.0+

uuid

TypeScript
get uuid(): string
Swift declaration
let uuid: UUID

The unique identifier for the observation.

get · iOS 26.0+

timeRange

TypeScript
get timeRange(): (_CoreMedia_CMTimeRange) | null
Swift declaration
let timeRange: CMTimeRange?

The time range of the reported observation. When evaluating a sequence of image buffers, use this property to determine each observation’s start time and duration.

Skipped declarations

No declarations were skipped in this snapshot.

All Vision types →