how to get the camera data

Posted by beof on Stack Overflow See other posts from Stack Overflow or by beof
Published on 2010-04-18T02:54:21Z Indexed on 2010/04/18 3:03 UTC
Read the original article Hit count: 302

Filed under:

Hello ,guys,

My app needs to get the camera data from Iphone. In my ImagePickerController, there is overlayView drawing realtime indications.

I use UIGetScreenImage() to get the screenshot, and I also dump overlayview to image, then I can restore the original Image based on these two images.

if the overlayView is still, it works quite well, but if the overlayView keeps changing, UIGetScreenImage() can not keep up with it.

For example,if the overlayView changes from a rectangle to a circle, then calling UIGetScreenImage() returns with a rectangle on top of it.

Is there a way to get the realtime camera data? I really appreciate if someone could help.

© Stack Overflow or respective owner

Related posts about iphone-sdk