AVCaptureSession + vImageBoxConvolve_ARGB8888 = FUN;

Hey kids, just a small update today. Here’s what I’ve been playing with:

It’s an iPhone app for devices running iOS 5+ that takes video frames from the front camera and performs a vImageBoxConvolve twice to simulate a gaussian blur. It does this in realtime (well, ~15fps) and the slider sets the blur radius. The code to do this is remarkably small:

You can download and play with the Xcode 4.3 project here. The normal warnings of: this is not production code, it’s not pretty, at least it doesn’t crash, etc. all apply. Have fun!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: