Following a tutorial from iTunes U on how to do face detection (the tutorial is only in the video, and not written online so I can’t post a direct link). Basically, I have gotten face detection to work, but only if the phone is in LandscapeLeft mode.
Any ideas on why it works like that?
Without seeing your code it’s hard to say but my guess is that you are not setting
CIDetectorImageOrientation? I’ve had detection fail when there was a mismatch between the image orientation and what the detector orientation is set to be.Some code below – not cut ‘n paste but more of a rough example.