Image is not detected if taken from camera Using UIImagePickerControllerSourceTypeCamera
Posted
by
user1314379
on Stack Overflow
See other posts from Stack Overflow
or by user1314379
Published on 2012-04-05T05:19:34Z
Indexed on
2012/04/05
5:29 UTC
Read the original article
Hit count: 138
iphone
|uiimagepickercontroller
I am trying to build an app which will compare the two images and gives the Matching Percentage. I am taking two Images from The camera(Making use of UIImagePickerController) and saving it to the document directory.Then i fetch these images in a different view controller to get the face part, using CIDetector API and CIfacefeature API. The problem is It is not detecting the face at all through i am able to fetch the images properly. And if i store the same image in the main bundle it detects. I dnt know where the problem is. I have tried everything. May Be the problem is with the UIImage or may be the format in which image is getting saved in document directory or with the camera.
Please help. I will be grateful to you.
Thanks in Advance.
© Stack Overflow or respective owner