i'm searching for a way to analyze the camera's view live. the iphone should recognize and react to sudden changes in brightness.
can you give me some hints?
leave a comment if my question is not clear enough!
i'm searching for a way to analyze the camera's view live. the iphone should recognize and react to sudden changes in brightness.
can you give me some hints?
leave a comment if my question is not clear enough!
With iOS4 you can gain access to the raw video frames via AVCaptureVideoDataOutput.
Once you have the video frame, you can analyze its brightness and react accordingly.
Look for the AVCam sample.