Contents

init(requestRevision:boundingBox:roll:yaw:pitch:)

Creates an observation that contains the roll, yaw, and pitch of the face.

Declaration

convenience init(requestRevision: Int, boundingBox: CGRect, roll: NSNumber?, yaw: NSNumber?, pitch: NSNumber?)

Parameters

  • requestRevision:

    The revision of the request.

  • boundingBox:

    The bounding rectangle of the detected face landmark.

  • roll:

    The rotational angle of the face landmark around the z-axis.

  • yaw:

    The rotational angle of the face landmark around the y-axis.

  • pitch:

    The rotational angle of the face landmark around the x-axis.

See Also

Creating an Observation