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

Method get_features

dlib/test/sequence_segmenter.cpp:63–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61
62 template <typename feature_setter>
63 void get_features (
64 feature_setter& set_feature,
65 const sequence_type& x,
66 unsigned long position
67 ) const
68 {
69 const matrix<double,0,1>& m = feats.find(x[position])->second;
70 for (unsigned long i = 0; i < num_features(); ++i)
71 {
72 set_feature(i, m(i));
73 }
74 }
75
76 };
77

Callers

nothing calls this directly

Calls 1

findMethod · 0.45

Tested by

no test coverage detected