Build has been successful. Currently I can use DNN module only on CPU.
In openCV documentation I have found setPreferableBackend and setPreferableTarget
that is used to set CUDA Backend. But I could not have found similar API in this repo.
I am asking this as a feature request or any workaround is welcome.
First of all I really appreciate this repo and all the contributors.
I want use OpenCV DNN module for inference.
Here are the details of installation:
-DWITH_CUDA=ON -DWITH_CUDNN=ON -DOPENCV_DNN_CUDA=ON
Build has been successful. Currently I can use DNN module only on CPU.
In openCV documentation I have found setPreferableBackend and setPreferableTarget that is used to set CUDA Backend. But I could not have found similar API in this repo.
I am asking this as a feature request or any workaround is welcome.
OpenCV version : 4.3.0
With OpenCV-contrib? (extra modules): yes
OS: Ubuntu 18.04