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

Function contains_any_boxes

examples/train_object_detector.cpp:129–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127// ----------------------------------------------------------------------------------------
128
129bool contains_any_boxes (
130 const std::vector<std::vector<rectangle> >& boxes
131)
132{
133 for (unsigned long i = 0; i < boxes.size(); ++i)
134 {
135 if (boxes[i].size() != 0)
136 return true;
137 }
138 return false;
139}
140
141// ----------------------------------------------------------------------------------------
142

Callers 1

mainFunction · 0.70

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected