Searched refs:filterBoxes (Results 1 – 3 of 3) sorted by relevance
| /OK3568_Linux_fs/external/rknpu2/examples/rknn_yolov5_android_apk_demo/app/src/main/cpp/ |
| H A D | post_process.cc | 218 std::vector<float> filterBoxes; in post_process() local 228 … stride0, filterBoxes, objProbs, classId, conf_threshold, qnt_zps[0], qnt_scales[0]); in post_process() 236 … stride1, filterBoxes, objProbs, classId, conf_threshold, qnt_zps[1], qnt_scales[1]); in post_process() 244 … stride2, filterBoxes, objProbs, classId, conf_threshold, qnt_zps[2], qnt_scales[2]); in post_process() 266 nms(validCount, filterBoxes, classId, indexArray, c, nms_threshold); in post_process() 281 float x1 = filterBoxes[n * 4 + 0]; in post_process() 282 float y1 = filterBoxes[n * 4 + 1]; in post_process() 283 float x2 = x1 + filterBoxes[n * 4 + 2]; in post_process() 284 float y2 = y1 + filterBoxes[n * 4 + 3]; in post_process()
|
| /OK3568_Linux_fs/external/rknpu2/examples/rknn_yolov5_demo/src/ |
| H A D | postprocess.cc | 256 std::vector<float> filterBoxes; in post_process() local 265 …ss(input0, (int*)anchor0, grid_h0, grid_w0, model_in_h, model_in_w, stride0, filterBoxes, objProbs, in post_process() 273 …ss(input1, (int*)anchor1, grid_h1, grid_w1, model_in_h, model_in_w, stride1, filterBoxes, objProbs, in post_process() 281 …ss(input2, (int*)anchor2, grid_h2, grid_w2, model_in_h, model_in_w, stride2, filterBoxes, objProbs, in post_process() 300 nms(validCount, filterBoxes, classId, indexArray, c, nms_threshold); in post_process() 312 float x1 = filterBoxes[n * 4 + 0]; in post_process() 313 float y1 = filterBoxes[n * 4 + 1]; in post_process() 314 float x2 = x1 + filterBoxes[n * 4 + 2]; in post_process() 315 float y2 = y1 + filterBoxes[n * 4 + 3]; in post_process()
|
| /OK3568_Linux_fs/external/rknpu2/examples/RV1106_RV1103/rknn_yolov5_demo/src/ |
| H A D | postprocess.cc | 284 std::vector<float> filterBoxes; in post_process() local 294 … stride0, filterBoxes, objProbs, classId, conf_threshold, qnt_zps[0], qnt_scales[0]); in post_process() 302 … stride1, filterBoxes, objProbs, classId, conf_threshold, qnt_zps[1], qnt_scales[1]); in post_process() 310 … stride2, filterBoxes, objProbs, classId, conf_threshold, qnt_zps[2], qnt_scales[2]); in post_process() 330 nms(validCount, filterBoxes, classId, indexArray, c, nms_threshold); in post_process() 345 float x1 = filterBoxes[n * 4 + 0]; in post_process() 346 float y1 = filterBoxes[n * 4 + 1]; in post_process() 347 float x2 = x1 + filterBoxes[n * 4 + 2]; in post_process() 348 float y2 = y1 + filterBoxes[n * 4 + 3]; in post_process()
|