What i am doing is to detect the face by CIDetector and my image is coming from UIImagePickerController (capturing image from back Camera). I can detect face.. but my problem is that i get my face image inverted (up to down). Here is my CODE.
My Problem

Between lines 83 and 88. You’re flipping the view and not flipping it back because you have the code commented out.
Edited to add
I see you are using the sample project from http://maniacdev.com/2011/11/tutorial-easy-face-detection-with-core-image-in-ios-5/
You’re flipping the image view, but you aren’t flipping the window to account for this flip.
Edited to add again
Okay – looking a bit more at the tutorial and sample code that you are using, it’s the flipping of the window that you don’t want. But you’ll need to write your code differently.
A better example is provided at http://www.bobmccune.com/2012/03/22/ios-5-face-detection-with-core-image/ which has the image displayed using
drawInRect:and the context translated for drawing the facial features.