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

Method num_features

dlib/image_processing/shape_predictor.h:328–336  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326 }
327
328 unsigned long num_features (
329 ) const
330 {
331 unsigned long num = 0;
332 for (unsigned long iter = 0; iter < forests.size(); ++iter)
333 for (unsigned long i = 0; i < forests[iter].size(); ++i)
334 num += forests[iter][i].num_leaves();
335 return num;
336 }
337
338 template <typename image_type>
339 full_object_detection operator()(

Callers

nothing calls this directly

Calls 2

num_leavesMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected