init(originalDetection:)
Creates a detection track with fixed focus at the disparity of an existing detection.
Declaration
init(originalDetection: CNDetection)Parameters
- originalDetection:
This fixed detection track based on the original detection.
Discussion
This is the way to determine the time and bounds from which the fixed focus originated. This detection isn’t part of the detection track and has a different detection ID or none.