Is it possible to use OpenCL with OpenCV and DNN/Tensorflow
Is there a way to make use of OpenCL for improved performance when using the OpenCV.DNN ?
Thanks!
Best regards, Patric
Is there a way to make use of OpenCL for improved performance when using the OpenCV.DNN ?
Thanks!
Best regards, Patric
Ok - first of all - open cl is transparent - if it is available, it will be used. Look here : https://opencv.org/platforms/ "OpenCL accelerated branches transparently added to the original API functions and are used automatically when possible/sensible..." So open cl for dnn will be used if available.
On the other hand, cuda for dnn ist NOT supported. https://opencv.org/platforms/cuda.html
My personal experience/impression is that evaluating model on cuda(with the native dnn it was trained on) is way more performant than evluating the model with open cv on top of open cl. But please measure by yourself!
Asked: 2018-06-21 07:38:35 -0600
Seen: 1,905 times
Last updated: Jun 26 '18
build problems for android_binary_package - Eclipse Indigo, Ubuntu 12.04
Installing Sample App / OpenCV Manager
OpenCV-2.4.2-android-sdk missing build.xml?
OpenCV libs on Real Android Device
Unresolved inclusions in OpenCV android tutorial 4.
build openCV for android, without CUDA
OpenCV Tutorial 1 - Add OpenCV on API 8
Is OpenCV_2.4.2_binary_pack_armv7a source code open
How to get good matches from the ORB feature detection algorithm?
How to decrease the number of processed frames from a live video camera?
Here some performance measurements for opencv https://github.com/opencv/opencv/wiki...