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

Function contains_any_detections

tools/python/src/shape_predictor.h:138–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136 namespace impl
137 {
138 inline bool contains_any_detections (
139 const std::vector<std::vector<full_object_detection> >& detections
140 )
141 {
142 for (unsigned long i = 0; i < detections.size(); ++i)
143 {
144 if (detections[i].size() != 0)
145 return true;
146 }
147 return false;
148 }
149 }
150
151// ----------------------------------------------------------------------------------------

Callers 1

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected