OpenCV on iOS - GPU usage?

…衆ロ難τιáo~ 提交于 2020-01-31 03:47:05

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/10704916/opencv-on-ios-gpu-usage

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