| 117 | } |
| 118 | |
| 119 | static 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 | |
| 124 | static void qsort_descent_inplace( |
| 125 | std::vector<OutputInfo>& faceoutput_infos, int left, int right) { |