Contents

continueTracking(at:sourceImage:sourceDisparity:)

An object that continues to track an object that you’ve started tracking, and adds a new detection to the detection track you’re building.

Declaration

func continueTracking(at time: CMTime, sourceImage: CVPixelBuffer, sourceDisparity: CVPixelBuffer) -> CNBoundsPrediction?

Parameters

  • time:

    The presentation time of the first frame in the detection track.

  • sourceImage:

    The image buffer containing the image.

  • sourceDisparity:

    The disparity buffer containing depth information.

Return Value

An object representing a prediction of where the object is in the source image.