markdown BM1682测试hz_object功能模块耗时

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown BM1682测试hz_object功能模块耗时相关的知识,希望对你有一定的参考价值。

|模块|1线程|2线程|3线程|4线程|
|--|--|--|--|--|
|hz_objectJpegDecode|8.6488ms|10.2105ms|12.9737ms|17.6692ms|
|hz_objectDetect_extract|41.0678ms|58.9676ms|81.0494ms|101.991ms|
|hz_vehiclePlateGpu_processI|1.11972ms|1.62118ms|2.35743ms|3.36805ms|
|NPU占用率|24-54%|63%-79%|63%-83%|73%-95%|
|SYS内存|25.73MB|45.46MB|67.05MB|91.51MB|
|ION内存||||800MB|



**no_vpp各模块耗时测试**
|模块|1线程|2线程|3线程|4线程|
|--|--|--|--|--|
|nStage1 extract|30.745 ms|43.588 ms|53.023 ms|59.726 ms|
|hz_objecDetectStageV3 preprocess|8.121 ms|8.833 ms|10.394 ms|12.276 ms|
|hz_objecDetectStageV3 hz_detect_process|22.404 ms|34.52 ms|42.396 ms|47.215 ms|
|hz_objecDetectStageV3 DoNmsSort1|0.027 ms|0.03 ms|0.027 ms|0.027 ms|
|hz_objecDetectStageV3 DoNmsSort2|0.01 ms|0.011 ms|0.011 ms|0.01 ms|
|hz_objecDetectStageV3 getBoxes|0.01 ms|0.012 ms|0.011 ms|0.011 ms|
|hz_objecDetectStageV3 Sort|0.001 ms|0.001 ms|0.001 ms|0.001 ms|
|nStage1 logical processing|0.013 ms|0.015 ms|0.016 ms|0.014 ms|
|nStage2 extract + logical processing|9.292 ms|14.545 ms|26.632 ms|42.986 ms|
|extractVehicle forward processing|4.002 ms|6.392 ms|11.811 ms|19.308 ms|
|extractVehicle logical processing|0.004 ms|0.006 ms|0.007 ms|0.007 ms|
|extractPedestrain forward processing|2.5 ms|3.65 ms|6.502 ms|10.016 ms|
|extractPedestrain logical processing|0.002 ms|0.004 ms|0.005 ms|0.005 ms|
|pPlateAlign_ 2 time forward + logical processin|0.383 ms|0.655 ms|1.276 ms|2.27 ms|
|pPlateName_ forward + logical processing|1.061 ms|1.405 ms|2.11 ms|3.002 ms|
|pPlateNo_ forward + logical processing|0.044 ms|0.068 ms|0.114 ms|0.089 ms|
|hz_objectJpegDecode|8.651 ms|11.232 ms|14.321 ms|16.75 ms|
|hz_objectDetect_extract|40.063 ms|58.164 ms|79.689 ms|102.746 ms|
|hz_vehiclePlateGpu_processI|1.004 ms|1.443 ms|2.364 ms|3.639 ms|
|RegressionCVSplit|288x320:0.871 ms 其他小于0.1ms||||




|228x320v3-preprocess|time|
|--|--|
|vpp::resize w/o clone|2.855 ms|
|vpp::resize w/ clone|7.573 ms|
|cv::resize|8.121 ms|
|vpp(x,y=0)+cv::resize(x,y!=0)|2.765ms|
|模块|1线程|2线程|3线程|4线程|
|--|--|--|--|--|
|hz_objectJpegDecode|8.547 ms|12.396 ms|14.055 ms|18.252 ms|
|hz_objectDetect_extract|35.009 ms|56.044 ms|78.421 ms|102.916 ms|
|hz_vehiclePlateGpu_processI|1.001 ms|1.41 ms|3.748 ms|4.686 ms|

以上是关于markdown BM1682测试hz_object功能模块耗时的主要内容,如果未能解决你的问题,请参考以下文章

markdown BM1682开发要点

markdown BM1682 SDK2.0操作

text BM1682支持来自Caffe算子

解读 ruby​​ 的基准测试结果:Benchmark.bm 和 Benchmark.bmbm 的区别

极智AI | 全场景算力产品矩阵 看算能系列AI产品

C++实现BFRKKMP和BM~Qt6完成GUI