Initializer

init(requestRevision:boundingBox:roll:yaw:)

Creates a face observation with the given revision number, bounding box, roll, and yaw.

Declaration

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

Discussion

The revision number specifies the version of Vision's algorithm the observation uses. Revision 1 is the version used in iOS 11. Revision 2 is the version used in iOS 12.