Platforms to show: All Mac Windows Linux Cross-Platform

VNTrackingRequestMBS class

Superclass: VNImageBasedRequestMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Vision MBS MacFrameworks Plugin 19.4 ✅ Yes ❌ No ❌ No ✅ Yes All
The abstract superclass for image analysis requests that track unique features across multiple images or video frames.
Example
// read the settings of a tracking request
Var start As New VNDetectedObjectObservationMBS(CGMakeRectMBS(0.4, 0.4, 0.2, 0.2))
Var tracking As VNTrackingRequestMBS = New VNTrackObjectRequestMBS(start)
System.DebugLog "Tracking level: " + tracking.trackingLevel.ToString // 0 = accurate, 1 = fast
System.DebugLog "Start area: " + Format(tracking.inputObservation.boundingBox.Width, "0.00") + " wide"

Instantiate a tracking request subclass to perform object tracking across multiple frames of an image. After initialization, configure the degree of accuracy by setting trackingLevel, and provide observations you would like to track by setting the inputObservation initial bounding box.
Subclass of the VNImageBasedRequestMBS class.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

TrackingLevel

Constant Value Description
VNRequestTrackingLevelAccurate 0 Tracking level that favors location accuracy over speed.
VNRequestTrackingLevelFast 1 Tracking level that favors speed over location accuracy.

Superclass VNImageBasedRequestMBS

Superclass VNRequestMBS

Sub classes:

Blog Entries

Release notes

  • Version 26.6
    • Changed inputObservation and trackingLevel properties to be settable in VNTrackingRequestMBS class.

Some related classes:


The items on this page are in the following plugins: MBS MacFrameworks Plugin.


VNTextObservationMBS   -   VNTrackObjectRequestMBS


The biggest plugin in space...