Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AVMetadataFaceObject Precision

I'm trying to use the AVMetadataFaceObject to get the yaw and roll of a face in a video. From what I can tell, the precision of the yaw is in increments of 45 degrees and the roll is in increments of 30 degrees.

Is there a way to increase this precision?

(Code as seen in Proper usage of CIDetectorTracking).

like image 213
Liron Avatar asked May 28 '13 13:05

Liron


1 Answers

You can get the rectangles of the eyes and calculate the angle yourself. You should investigate the changes made here in iOS 7, as there are many improvements in this area.

like image 57
Cocoanetics Avatar answered Oct 18 '22 00:10

Cocoanetics