Unable to get hardware acceleration for YuNet on Windows in Python-Opencv

Hello,

Seems to improve the situation. Most of the work is done on the GPU side now.

One thing I don’t understand is that it still run at a very slow FPS ~= 8. The image looks sluggish.

I have also the following error which appeared:

[ WARN:0@1.129] global ocl4dnn_conv_spatial.cpp:1933 cv::dnn::ocl4dnn::OCL4DNNConvSpatial<float>::loadTunedConfig OpenCV(ocl4dnn): consider to specify kernel configuration cache directory through OPENCV_OCL4DNN_CONFIG_PATH parameter.
OpenCL program build log: dnn/dummy
Status -66: CL_INVALID_COMPILER_OPTIONS
-cl-no-subgroup-ifp -D AMD_DEVICE

Might explain the problem. Incompatibility?