Class

VNDetectedObjectObservation

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

Declaration

@interface VNDetectedObjectObservation : VNObservation

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

+ observationWithBoundingBox:

Creates a detected object observation based on bounding box coordinates.

+ observationWithRequestRevision:boundingBox:

Creates a detected object observation with the specified revision number and bounding box coordinates.

Locating a Detected Object

boundingBox

The bounding box of the detected object.

Relationships

Inherits From

See Also

Object Tracking

Tracking the User’s Face in Real Time

Detect and track faces from the selfie cam feed in real time.

Tracking Multiple Objects or Rectangles in Video

Apply Vision algorithms to track objects or rectangles throughout a video.

VNTrackingRequest

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

VNTrackRectangleRequest

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

VNTrackObjectRequest

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software