¡@

Home 

2014/10/15 ¤U¤È 10:04:27

iphone Programming Glossary: avcapturestillimageoutput

iOS: Get pixel-by-pixel data from camera

http://stackoverflow.com/questions/10865100/ios-get-pixel-by-pixel-data-from-camera

AVCaptureDevice and a corresponding AVCaptureDeviceInput and AVCaptureDeviceOutput AVCaptureVideoDataOutput or AVCaptureStillImageOutput . Apple has some examples of this process in their documentation and it requires some boilerplate code to configure. Once..

AVCaptureVideoPreviewLayer: taking a snapshot

http://stackoverflow.com/questions/3397899/avcapturevideopreviewlayer-taking-a-snapshot

different angle. Here are possible solutions that none are too great IMO You can add to an AVCaptureSession both an AVCaptureStillImageOutput and an AVCaptureVideoDataOutput . When you set the sessionPreset to AVCaptureSessionPresetHigh you'll start getting frames.. camera to switch between the video camera and picture camera. Another option would be to use only the camera output AVCaptureStillImageOutput and use UIGetScreenImage to get a screen capture of the phone. You could then crop out the controls and leave only the image...

AVFoundation camera tutorial

http://stackoverflow.com/questions/3643445/avfoundation-camera-tutorial

my app and it looks like this is but I'm not sure how to get it going. I can kind of see how to take a picture using AVCaptureStillImageOutput but I can't see how to display the camera view onto the screen. Any help is much appreciated. Thanks Oliver iphone avfoundation..

iPhone AVFoundation camera orientation

http://stackoverflow.com/questions/3662930/iphone-avfoundation-camera-orientation

imageDataSampleBuffer kCGImagePropertyOrientation NSString stringWithFormat @ d screenOrientation 0 NSData imageData AVCaptureStillImageOutput jpegStillImageNSDataRepresentation imageDataSampleBuffer UIImage image UIImage alloc initWithData imageData self processImage.. ^ CMSampleBufferRef imageDataSampleBuffer NSError error if imageDataSampleBuffer NULL NSData imageData AVCaptureStillImageOutput jpegStillImageNSDataRepresentation imageDataSampleBuffer UIImage image UIImage alloc initWithData imageData ..

How to access photo EXIF in pictures taken from camera in iOS 4.0+?

http://stackoverflow.com/questions/3673062/how-to-access-photo-exif-in-pictures-taken-from-camera-in-ios-4-0

camera taken using the new 4.0 4.1 APIs I use _captureStillImageAsynchronouslyFromConnection_ to take the picture and AVCaptureStillImageOutput jpegStillImageNSDataRepresentation imageDataSampleBuffer to get the jpg data but how do I extract the EXIF The doco makes..

iPhone SDK 4 AVFoundation - How to use captureStillImageAsynchronouslyFromConnection correctly?

http://stackoverflow.com/questions/3847140/iphone-sdk-4-avfoundation-how-to-use-capturestillimageasynchronouslyfromconnec

AVLayerVideoGravityResizeAspectFill self.view.layer addSublayer self.prevLayer Setup the default file outputs AVCaptureStillImageOutput _stillImageOutput AVCaptureStillImageOutput alloc init autorelease NSDictionary outputSettings NSDictionary alloc initWithObjectsAndKeys.. self.view.layer addSublayer self.prevLayer Setup the default file outputs AVCaptureStillImageOutput _stillImageOutput AVCaptureStillImageOutput alloc init autorelease NSDictionary outputSettings NSDictionary alloc initWithObjectsAndKeys AVVideoCodecJPEG AVVideoCodecKey.. improve this question We had this problem when 4.0 was still in beta. I tried a fair bunch of things. Here goes AVCaptureStillImageOutput and AVCaptureVideoDataOutput do not appear to play nicely with each other. If the video output is running the image output..

Camera differences between UIImagePickerController and AVCaptureSession on iPhone

http://stackoverflow.com/questions/4866927/camera-differences-between-uiimagepickercontroller-and-avcapturesession-on-iphon

I'm trying to build a replacement for UIImagePickerController using AVCaptureSession with AVCaptureDeviceInput and AVCaptureStillImageOutput as input output respectively. To preview the camera stream I'm using AVCaptureVideoPreviewLayer . It's now working correctly..

Applying Effect to iPhone Camera Preview “Video”

http://stackoverflow.com/questions/4893620/applying-effect-to-iphone-camera-preview-video

with Technical Q A QA1702 and made these changes Changed the sessionPreset to AVCaptureSessionPresetPhoto. Added an AVCaptureStillImageOutput as an additional output before starting the session. The issue that I am having is with the performance of processing the..

Problem setting exif data for an image

http://stackoverflow.com/questions/5125323/problem-setting-exif-data-for-an-image

a copy and paste of the code from the above blog. I am using this to write exif data to a captured image. NSData jpeg AVCaptureStillImageOutput jpegStillImageNSDataRepresentation imageDataSampleBuffer CGImageSourceRef source source CGImageSourceCreateWithData CFDataRef..

How do you create a custom camera view, instead of UIImagePickerViewController?

http://stackoverflow.com/questions/5156417/how-do-you-create-a-custom-camera-view-instead-of-uiimagepickerviewcontroller

iOS take picture

http://stackoverflow.com/questions/5237941/ios-take-picture

is to configure an AVCaptureSession providing it with an AVCaptureDeviceInput using the appropriate camera device and AVCaptureStillImageOutput . The first approach is much simpler and works on more iOS version but the second approach gives you much greater control..

iOS CVImageBuffer distorted from AVCaptureSessionDataOutput with AVCaptureSessionPresetPhoto

http://stackoverflow.com/questions/6540710/ios-cvimagebuffer-distorted-from-avcapturesessiondataoutput-with-avcapturesessio

alloc initWithDevice backFacingCamera error error autorelease captureSession addInput videoInput 3 Hook up an AVCaptureStillImageOutput to the session to be able to capture still frames at Photo resolution. stillOutput AVCaptureStillImageOutput alloc init.. up an AVCaptureStillImageOutput to the session to be able to capture still frames at Photo resolution. stillOutput AVCaptureStillImageOutput alloc init stillOutput setOutputSettings NSDictionary dictionaryWithObject NSNumber numberWithInt kCVPixelFormatType_32BGRA..

How to write exif metadata to an image (not the camera roll, just a UIImage or JPEG)

http://stackoverflow.com/questions/9006759/how-to-write-exif-metadata-to-an-image-not-the-camera-roll-just-a-uiimage-or-j

CFDictionarySetValue mutable kCGImagePropertyExifDictionary __bridge void EXIFDictionary NSData jpeg AVCaptureStillImageOutput jpegStillImageNSDataRepresentation imageSampleBuffer After this code you will have your image in the jpeg nsdata and the..

How can I mute the capture sound in AVFoundation?

http://stackoverflow.com/questions/9557081/how-can-i-mute-the-capture-sound-in-avfoundation

is that AVfoundation library isn't really easy to master and i can't really get the hang of it.. capturing image using AVCaptureStillImageOutput was itself tough for me ..so can anyone help with pointing me or providing me to a good source to capture image without..