init(identifier:type:rect:faceYawAngle:)
Creates a new observation.
Declaration
init(identifier: Int, type: DockAccessory.Observation.ObservationType, rect: CGRect, faceYawAngle: Measurement<UnitAngle>? = nil)Parameters
- identifier:
A unique identifier representing the subject in the frame.
- type:
The type of subject in the frame.
- rect:
The coordinates of the subject in the frame.
- faceYawAngle:
The angle of the subject’s face in radians.