MCPcopy Create free account
hub / github.com/OAID/Tengine / process_boxes

Function process_boxes

examples/caffe_wrapper/mtcnn/caffe_mtcnn_utils.cpp:146–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146void process_boxes(std::vector<face_box>& input, int img_h, int img_w, std::vector<face_box>& rects)
147{
148 nms_boxes(input, 0.7, NMS_UNION, rects);
149
150 regress_boxes(rects);
151
152 square_boxes(rects);
153
154 padding(img_h, img_w, rects);
155}
156
157void generate_bounding_box(const float* confidence_data, int confidence_size, const float* reg_data, float scale,
158 float threshold, int feature_h, int feature_w, std::vector<face_box>& output,

Callers 1

detectMethod · 0.70

Calls 4

nms_boxesFunction · 0.70
regress_boxesFunction · 0.70
square_boxesFunction · 0.70
paddingFunction · 0.70

Tested by

no test coverage detected