Class

VNDetectedObjectObservation

An image analysis result that provides the position and extent of a detected image feature.

Overview

This type of observation results from a VNTrackObjectRequest. It represents a detected object that the Vision request should track.

Topics

Initializing a Detected Object Observation

init(boundingBox: CGRect)

Creates a detected object observation based on bounding box coordinates.

Locating a Detected Object

var boundingBox: CGRect

The bounding box of the detected object.

Relationships

Inherits From

Conforms To

See Also

Object Tracking

class VNTrackingRequest

The abstract superclass for image analysis requests that track unique features across multiple images or video frames.

class VNTrackRectangleRequest

An image analysis request that tracks movement of a previously identified rectangular object across multiple images or video frames.

class VNTrackObjectRequest

An image analysis request that tracks movement of a previously identified arbitrary object across multiple images or video frames.