Class

VNTrackRectangleRequest

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

Declaration

@interface VNTrackRectangleRequest : VNTrackingRequest

Overview

Use this type of request to track the bounding boxes of rectangles throughout a sequence of images. Vision returns locations for rectangles found in all orientations and sizes.

Topics

Initializing a Rectangle Tracking Request

- initWithRectangleObservation:

Creates a new rectangle tracking request with a rectangle observation.

- initWithRectangleObservation:completionHandler:

Creates a new rectangle tracking request with a rectangle observation.

Specifying a Revision

VNTrackRectangleRequestRevision1

A constant for specifying revision 1 of VNTrackRectangleRequest.

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.

VNTrackObjectRequest

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

VNDetectedObjectObservation

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

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