I am new to the whole AVFoundation thing. Before I was using the good old UIImagePickerControllerSourceTypeCamera.
I basically want to do a combination of adding a overlay of a semi-opaque overlay as well as manipulating the pixels to create a black & white effect, sepia, etc.
I am displaying it and capturing it using the AVFoundation framework and I can take a still frame it, but I don’t know how to add a overlay.
Please help. Thanks.
If you are going to do any significant amount of processing on the image then I suggest you use OpenGL ES. If it is simple, such as an overlay, then you can use CoreGraphics.
Here is a quick snip it to get at the pixels.
For a good starting point using OpenGL ES to process video see Brad Larson’s blog.