/** @example user_touche.cpp
 Touche example.
 */

#include <ESP.h>

BinaryIntArraySerialStream stream(0, 115200, 160);
GestureRecognitionPipeline pipeline;

void setup()
{
    useInputStream(stream);
    
    pipeline.addFeatureExtractionModule(TimeseriesBuffer(1, 160));
    usePipeline(pipeline);
}
/** @example user_touche.cpp
 Touche example.
 */

#include <ESP.h>

BinaryIntArraySerialStream stream(0, 115200, 160);
GestureRecognitionPipeline pipeline;

void setup()
{
    useInputStream(stream);
    
    pipeline.addFeatureExtractionModule(TimeseriesBuffer(1, 160));
    pipeline.setClassifier(SVM(SVM::POLY_KERNEL, SVM::C_SVC, false, true, true, 0.1, 1.0, 0, 0.5, 2));
    usePipeline(pipeline);
}
Add SVM classifier to Touche example.
Add SVM classifier to Touche example.

It seems to do some (very) basic recognition successfully, so I’m
saying that this fixes #245, although I think it still needs lots of
work.
