I am new to iOS 5.0,
I want to know that,
Is there any method to capture the image from camera and retrieve it in application in iOS ?
Take a look at the Camera Programming Guide.
Related
In an android game, I want to start device's camera and let player see the camera input inside a CCScene. Does anyone know how to do that?
I am searching for the same thing. I haven't figure it out yet but come across the following:
http://syswerke.com/projects/blog/opencv-camera-capture-in-cocos2d-x-applications/
http://docs.opencv.org/doc/tutorials/ios/video_processing/video_processing.html#opencviosvideoprocessing (iOS)
http://www.cocos2d-iphone.org/forums/topic/using-a-uiimagepickercontroller-and-cocos2d-sample-code/#post-34228 (iOS)
http://www.cocos2d-x.org/forums/6/topics/11524 (suggesting to save to file/buffer and pass to native code)
I've seen example on iOS that works (e.g. https://www.youtube.com/watch?v=TM9EIzB5I-8).
I'll update more if/once I figure it out
Is it possible to enable the default iOS 7 camera effects when using UIImagePickerController? I know that it's possible to control the flash and the image quality, but I cannot find if it's possible to add the effects when capturing an image.
No, UIImagePickerController does not offer any of the filters that you see in the iOS 7 Camera app. You would need to build those using Core Image's CIFilters, or something like GPUImage.
I want to open the camera action like below pictures. just like camera open within some area only for focusing particular area of the image.
Please help me. Thanks in advance.
Normal Camera View
My Expectation
If you want to use the CameraCaptureTask, you will have to deal with its possibilities. It uses the built-in camera app of the phone, and available setting are the ones in that app.
If you prefer a customized photo taking app, you should use the PhotoCamera class:
PhotoCamera Class
You will find some guidance here:
How to create a base camera app for Windows Phone
We need to open the iPhone camera, to take images that will be saved to the camera roll.
I have read many examples here that all of them opens the UIImagePickerView.
Besides the fact that i cant understand why i have to open the picker view in order to open the camera , i just can't do that- i dont want the picker view, because i have my costumed photo album that we build, and we just need to have a little button in it, that opens the camera to take an image . without opening any other views above it .
Is that possible to use the camera without this pickerview that will cover my scene ?
or can i lead the user to the camera app and than take him back to my app ?
Thanks.
Instead of high level (i.e. Apple supplies the UI element) classes, you have to go to a more foundational (lower) level of API's, which would be AVCaptureDevice and AVCaptureDeviceInput.
And Apple has some nice source code available in their AVCam project.
If you want to display camera stream in you app without UIImagePickerController than you should you AVFoundation framework.
Here some some examples and tutorials:
take-photos-with AVFoundation
Custom camera
Displaying camera
I have an app that is located in a showroom. It cycles through several pictures. Now what I been requested to do is to add functionality so that when the camera detects a face, it needs to change to a video.
How can I accomplish this in objective C? I am using iPad 2, but can move to the new iPad
You can use CIFaceDetector, apple sample code here
You can use OpenCV. Demo App is hosted at Google Code.