Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OpenCV on iOS - GPU usage?

Tags:

ios

opencv

gpu

I am trying to develop an iOS app that performs real time effects on video from the camera, much like Photobooth on the iPad. I am familiar with the API for OpenCV but am worried about the performance on iOS if most processing is completed on the CPU versus the GPU. Libraries like GPUImage would most likely do the trick but I would rather stay with something I am familiar with. So, does anyone know if OpenCV compiled for iOS uses the GPU?

like image 495
Nathan Murray Avatar asked May 22 '12 15:05

Nathan Murray


1 Answers

OpenCV uses Cuda for it's GPU which is only supported on NVidia graphics cards. There is an experimental port of openCV's GPU functions to OpenCL and it's likely that OpenCL will be supported in the future - at least on iPad (it's GPU can run OpenCL)

You can use shaders in OpenGL ES2.0 on the iPhone and iPad

like image 168
Martin Beckett Avatar answered Sep 21 '22 17:09

Martin Beckett