How fast can iPhone to be programmed take 2 pictures at one time? [closed]

只愿长相守 提交于 2019-12-04 20:47:52
Felix

It depends on what your timing and photo resolution requirements are. The time to take pictures depends on the hardware and the desired resolution.

Use the API in AVFoundation to take pictures asynchronously. In particular the method captureStillImageAsynchronouslyFromConnection:.

See here for details

I've measured the minimum time between 2 photos on an iPhone 4S with different configurations:

  • AVCaptureSessionPresetMedium, back camera: about 0.043s

  • AVCaptureSessionPresetPhoto, back camera (8MP): about 0.3s

  • AVCaptureSessionPresetPhoto, front camera (640x480): about 0.027s

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!