Home
last modified time | relevance | path

Searched refs:outputLocations (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 Dpost_process.cc41 static int nms(int validCount, std::vector<float> &outputLocations, std::vector<int> classIds, std:… in nms() argument
57 float xmin0 = outputLocations[n * 4 + 0]; in nms()
58 float ymin0 = outputLocations[n * 4 + 1]; in nms()
59 float xmax0 = outputLocations[n * 4 + 0] + outputLocations[n * 4 + 2]; in nms()
60 float ymax0 = outputLocations[n * 4 + 1] + outputLocations[n * 4 + 3]; in nms()
62 float xmin1 = outputLocations[m * 4 + 0]; in nms()
63 float ymin1 = outputLocations[m * 4 + 1]; in nms()
64 float xmax1 = outputLocations[m * 4 + 0] + outputLocations[m * 4 + 2]; in nms()
65 float ymax1 = outputLocations[m * 4 + 1] + outputLocations[m * 4 + 3]; in nms()
/OK3568_Linux_fs/external/rknpu2/examples/rknn_yolov5_demo/src/
H A Dpostprocess.cc108 static int nms(int validCount, std::vector<float>& outputLocations, std::vector<int> classIds, std:… in nms() argument
121 float xmin0 = outputLocations[n * 4 + 0]; in nms()
122 float ymin0 = outputLocations[n * 4 + 1]; in nms()
123 float xmax0 = outputLocations[n * 4 + 0] + outputLocations[n * 4 + 2]; in nms()
124 float ymax0 = outputLocations[n * 4 + 1] + outputLocations[n * 4 + 3]; in nms()
126 float xmin1 = outputLocations[m * 4 + 0]; in nms()
127 float ymin1 = outputLocations[m * 4 + 1]; in nms()
128 float xmax1 = outputLocations[m * 4 + 0] + outputLocations[m * 4 + 2]; in nms()
129 float ymax1 = outputLocations[m * 4 + 1] + outputLocations[m * 4 + 3]; in nms()
/OK3568_Linux_fs/external/rknpu2/examples/RV1106_RV1103/rknn_yolov5_demo/src/
H A Dpostprocess.cc105 static int nms(int validCount, std::vector<float> &outputLocations, std::vector<int> classIds, std:… in nms() argument
121 float xmin0 = outputLocations[n * 4 + 0]; in nms()
122 float ymin0 = outputLocations[n * 4 + 1]; in nms()
123 float xmax0 = outputLocations[n * 4 + 0] + outputLocations[n * 4 + 2]; in nms()
124 float ymax0 = outputLocations[n * 4 + 1] + outputLocations[n * 4 + 3]; in nms()
126 float xmin1 = outputLocations[m * 4 + 0]; in nms()
127 float ymin1 = outputLocations[m * 4 + 1]; in nms()
128 float xmax1 = outputLocations[m * 4 + 0] + outputLocations[m * 4 + 2]; in nms()
129 float ymax1 = outputLocations[m * 4 + 1] + outputLocations[m * 4 + 3]; in nms()