0

Hi i try to build simple camera app with filters. I apply CIFilters on UIImage that works fine but now i want apply filters before take photo(live filter on camera) like iOS7 camera below.

enter image description here

Thank in advance.

Madhubalan K
  • 357
  • 5
  • 21

2 Answers2

0

CoreImage filters available for developers is too slow for real-time processing.

As suggested above, use a GPU-accelerated library, such as GPUImage.

Rivera
  • 10,792
  • 3
  • 58
  • 102
0

If you are looking for api of UIImagePickerController to make a real-time camera filtering, it won't happened. You must build your own.

Check out AVCaptureSession, and maybe this sample code(see XBFilteredCameraView.m) to help you understand how to capture camera output image in real-time.

And you also need a real-time image processing library, such as GPUImage.

Hope this can help you.

lancy
  • 857
  • 6
  • 22