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

Function initialize_object_properties

examples/learning_to_track_ex.cpp:155–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153std::vector<matrix<double,0,1> > object_properties(num_objects);
154
155void initialize_object_properties()
156{
157 for (unsigned long i = 0; i < object_properties.size(); ++i)
158 object_properties[i] = randm(num_properties,1,rnd);
159}
160
161// So here is our function that samples a detection from our simulated sensor. You tell it
162// what object you want to sample a detection from and it returns a detection from that

Callers 1

mainFunction · 0.70

Calls 2

randmFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected