Realtime Video Processing on iPhone
We have a requirement to 'read' an LED Pulse lamp using the iPhone video camera. The LED lamp emits the light based on some load conditions.
Is there any related iPhone API to help achieve this goa开发者_运维百科l?
Thanks much.
You can use the AVFoundation framework to read and process the live video stream from the camera. WWDC 2010 Session 405 gives you a good overview of AVFoundation.
There are iOS AV APIs to get raw pixel bitmaps from the video camera(s). Detecting any specific image or brightness within these raw bitmaps has to be done in your own code.
精彩评论