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

https://docs.opencv.org/4.x/df/d20/classcv_1_1FaceDetectorYN.html

you could at least try to specify target_id=1

to make it use openCL internally.

imo, using UMat as input for this is just ‘wishful thinking’, the code works on plain (cpu) Mats