MCPcopy Create free account
hub / github.com/MegEngine/MegCC / intersection_area

Function intersection_area

yolox_example/main.cpp:119–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117}
118
119static inline float intersection_area(const OutputInfo& a, const OutputInfo& b) {
120 cv::Rect_<float> inter = a.rect & b.rect;
121 return inter.area();
122}
123
124static void qsort_descent_inplace(
125 std::vector<OutputInfo>& faceoutput_infos, int left, int right) {

Callers 1

nms_sorted_bboxesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected