Is there a way to turn off face recognition when presenting a UIImagePickerController (i.e. the yellow box that appears over your face?
_imagePicker = [[UIImagePickerController alloc] init];
_imagePicker.allowsEditing = YES;
_imagePicker.sourceType = UIImagePickerControllerSourceTypeCamera;
_imagePicker.cameraDevice = UIImagePickerControllerCameraDeviceFront;
[self presentViewController:_imagePicker animated:NO completion:NULL];
Based on these docs there is a key that will disable facial recognition. How do I set this key to disable it?
CIDetectorTracking
A key used to enable or disable face tracking for the detector. Use this option when you want to track faces across frames in a video
Edit
How would I go about writing a bare-bones camera using AVFoundation
?