MCPcopy Create free account
hub / github.com/davisking/dlib / overlaps_any_box

Method overlaps_any_box

dlib/image_processing/object_detector.h:194–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192 private:
193
194 bool overlaps_any_box (
195 const std::vector<rect_detection>& rects,
196 const dlib::rectangle& rect
197 ) const
198 {
199 for (unsigned long i = 0; i < rects.size(); ++i)
200 {
201 if (boxes_overlap(rects[i].rect, rect))
202 return true;
203 }
204 return false;
205 }
206
207 test_box_overlap boxes_overlap;
208 std::vector<processed_weight_vector<image_scanner_type> > w;

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected