detection(for:)
The detection in the frame with the given detection ID, if any.
Declaration
func detection(for detectionID: CNDetectionID) -> CNDetection?Parameters
- detectionID:
The detection ID for the detection.
Return Value
A detection for the frame with the given detection ID.