isiaatz
isiaatz

Reputation: 1145

Take several photos on iPhone

How do I take for example 25 photos in one second at low resolution?

I want to make a burst mode but with a lot of images at low resolution (640x480)

Later I need to increase to 40fps. I mean, take 40 photos in one second

Upvotes: 0

Views: 351

Answers (2)

Josh Bleecher Snyder
Josh Bleecher Snyder

Reputation: 8442

The existing camera access in iOS spits out frames at about 30fps. You can't increase that, period. (I assume that this is due to the underlying hardware, but I don't really know.)

You'll also have a hard time with memory. 640x480 * 3 (RGB) * 25 frames ~= 23mb of RAM. Getting that much memory -- much less that much in a second -- in iOS is going to be challenging.

To get started with this, take a look around for AVFoundation sample code -- there's plenty of it to be had -- and experiment a bit to see what you can realistically and reliably get out of a device.

Upvotes: 0

coneybeare
coneybeare

Reputation: 33101

25 frames per second is very close to the iPhone movie fps of 24.0 − 30 fps. Why not make a movie, then pull out the frames from the movie to get your shots.

Upvotes: 1

Related Questions