Contents

track(_:cameraInformation:)

Automatically generate and send tracking vectors to the device.

Declaration

final func track(_ metadata: [AVMetadataObject], cameraInformation: DockAccessory.CameraInformation) async throws

Parameters

  • metadata:

    An array of Avmetadataobject objects indicating the location of objects within the frame.

  • cameraInformation:

    The camera in current use and its orientation.

Mentioned in

Discussion

The vectors are based on metadata coming from the camera.

Disable system tracking, then supply the observations at a fixed rate between 10 and 30 times per second. Any other rate is unsupported.

See Also

Selecting and tracking