CIFaceFeature.faceAngle documentation indicates radians, returns degrees

Originator:dataxpress
Number:rdar://20689290 Date Originated:2014-04-24
Status:Closed Resolved:2015-11-13
Product:iOS SDK Product Version:8.3
Classification: Reproducible:Always
 
Summary:
The documentation for the CIFaceFeature property faceAngle indicates that the property returns the angle in radians, but the actual value at runtime is returned in degrees.

Steps to Reproduce:
1. Use CIDetector to detect a face
2. Check what angle the CIFaceFeature returned for faceAngle


Expected Results:
Expected faceAngle in the range (-π, π) (or similar small value)

Actual Results:
Returns angles in the range (-180, 180) (or other large value)

Version:
IOS 8.3

Notes:
I suggest updating the documentation to match the behavior

Configuration:
iPhone 6 Verizon

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!