Repository: opencv
Issue: OpenCV 4.7.0 Huawei CANN run Yunet at very low speed: AI core and Ctrl cpu very Low
Labels: feature,category: objdetect,category: dnn,category:dnn_cann

### System Information

OpenCV version: 4.7.0
Operating System / Platform: Ubuntu 18.04
Compiler & compiler version: GCC 7.5.0

### Detailed description

Refering back to previous issue: 
https://github.com/opencv/opencv/issues/23199     OpenCV 4.7.0 Huawei CANN support error

The code could work with "Ascend310P3" change. But I checked the speed of the faceDetectorYN, i.e. Yunet, found the AI core and Ctrl cpu are very low. 

NpuID(Idx)  ChipId(Idx) Pwr(W)      Temp(C)     AI Core(%)  AI Cpu(%)   Ctrl Cpu(%) Memory(%)   Memory BW(%)
2           0           NA          44          0           0           26          5           2
3           0           NA          46          0           0           0           4           51
2           0           NA          44          6           0           0           5           2
3           0           NA          46          0           0           2           4           51
2           0           NA          45          6           0           0           5           2
3           0           NA          46          0           0           1           4           51
2           0           NA          45          0           0           1           5           2
3           0           NA          46          0           0           1           4           51
2           0           NA          45          6           0           2           5           2
3           0           NA          46          0           0           1           4           51
2           0           NA          45          6           0           0           5           2
3           0           NA          46          0           0           1           4           51
2           0           NA          46          0           0           2           5           2
3           0           NA          46          0           0           0           4           51
2           0           NA          46          0           0           1           5           2
3           0           NA          46          0           0           1           4           51
2           0           NA          46          6           0           0           5           2
3           0           NA          46          0           0           3           4           51


I compare to samples of ppresnet50, mobilev1, yolox, the results are like:

NpuID(Idx)  ChipId(Idx) Pwr(W)      Temp(C)     AI Core(%)  AI Cpu(%)   Ctrl Cpu(%) Memory(%)   Memory BW(%)
3           0           NA          46          0           0           1           4           51
2           0           NA          43          0           0           2           4           51
3           0           NA          46          0           0           1           4           51
2           0           NA          43          0           0           24          4           19
3           0           NA          46          0           0           1           4           51
2           0           NA          46          37          0           1           4           0
3           0           NA          46          0           0           1           4           51
2           0           NA          45          0           0           16          4           0
3           0           NA          46          0           0           2           4           51
2           0           NA          45          0           0           1           4           0
3           0           NA          46          0           0           2           4           51


NpuID(Idx)  ChipId(Idx) Pwr(W)      Temp(C)     AI Core(%)  AI Cpu(%)   Ctrl Cpu(%) Memory(%)   Memory BW(%)
2           0           NA          50          0           0           1           4           0
3           0           NA          46          0           0           2           4           51
2           0           NA          50          0           0           1           4           51
3           0           NA          46          0           0           2           4           51
2           0           NA          50          0           0           0           4           51
3           0           NA          46          0           0           2           4           51
2           0           NA          50          12          0           26          4           0
3           0           NA          46          0           0           1           4           51
2           0           NA          50          0           0           21          4           0
3           0           NA          46          0           0           1           4           51
2           0           NA          50          0           0           2           4           0
3           0           NA          46          0           0           1           4           51


NpuID(Idx)  ChipId(Idx) Pwr(W)      Temp(C)     AI Core(%)  AI Cpu(%)   Ctrl Cpu(%) Memory(%)   Memory BW(%)
3           0           NA          46          0           0           1           4           51
2           0           NA          46          0           0           17          4           0
3           0           NA          46          0           0           0           4           51
2           0           NA          48          29          0           8           4           3
3           0           NA          46          0           0           1           4           51
2           0           NA          49          26          0           2           4           3
3           0           NA          46          0           0           0           4           51
2           0           NA          49          28          0           1           4           3
3           0           NA          46          0           0           1           4           51
2           0           NA          49          29          0           1           4           3
3           0           NA          46          0           0           1           4           51
2           0           NA          50          29          0           0           4           3
3           0           NA          46          0           0           0           4           51
2           0           NA          50          19          0           40          4           0
3           0           NA          46          0           0           2           4           51
2           0           NA          49          0           0           7           4           0
3           0           NA          46          0           0           1           4           51
2           0           NA          49          0           0           0           4           0


I'm not sure about these results ?  The hardware and software are working fine ?

Or the "Ascend310P3" SoC version is still not really OK in OpenCV 4.7.0 ?


### Steps to reproduce

npu-smi info watch

Any better tool to analyse the performance ?

### Issue submission checklist

- [X] I report the issue, it's not a question
- [X] I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- [X] I updated to the latest OpenCV version and the issue is still there
- [X] There is reproducer code and related data files (videos, images, onnx, etc)