-
Notifications
You must be signed in to change notification settings - Fork 28
Home
Welcome to the gvf wiki!
Here we give a quick tutorial to use the C++ library provided in the repository.
The construction of a GestureVariationFollower object requires a certain number of parameters. This page tries to help the interested programmer in choosing the parameters for given input data.
Construct a GestureVariationFollower object:
GestureVariationFollower* myGvf = new GestureVariationFollower(ns, sigs, icov, resThresh, nu);
Learning. For each new template to be added to the vocabulary:
myGvf->addTemplate();
For each new incoming data vector data [type vector<float>] of a template N [type: int]:
myGvf->fillTemplate(N, data);
Following. At the beginning of each new gesture (first point of a gesture), restart the GVF by spreading particles:
myGvf->spreadParticles(means, ranges);
For each new live gesture data vector livedata [type vector<float>]:
myGvf->infer(livedata);
Constructor:
-
ns: number of particles (~100/template) sigs-
icov: default value at 1/(0.04) for data between 0 and 1 -
resThresh= ns/5 -
nu= 0.
Spreading particles:
meansranges
Not committed yet, in progress ...