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

Function has_non_ignored_boxes

tools/imglab/src/cluster.cpp:162–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160// ----------------------------------------------------------------------------------------
161
162bool has_non_ignored_boxes (const image_dataset_metadata::image& img)
163{
164 for (auto&& b : img.boxes)
165 {
166 if (!b.ignore)
167 return true;
168 }
169 return false;
170}
171
172// ----------------------------------------------------------------------------------------
173

Callers 1

cluster_datasetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected