ESP
0.1
The Example-based Sensor Predictions (ESP) system tries to bring machine learning to the maker community.
|
Base class for output streams that forward ESP prediction results to other systems. More...
#include <ostream.h>
Public Member Functions | |
virtual void | onReceive (uint32_t label)=0 |
Public Member Functions inherited from Stream | |
Stream () | |
virtual bool | start () |
virtual void | stop () |
void | toggle () |
bool | hasStarted () |
Additional Inherited Members | |
Protected Attributes inherited from Stream | |
std::atomic_bool | has_started_ |
Base class for output streams that forward ESP prediction results to other systems.
To use an OStream instance in your application, pass it to useOutputStream() in your setup() function.
Note, this is for output streams that accept the output of classifiers (label numbers). For output streams that can also accept the multi-dimensional output of signal processing pipelines, implement OStreamVector.
|
pure virtual |
Implemented in TcpOStream, MacOSMouseOStream, MacOSKeyboardOStream, BinaryIntArraySerialStream, and ASCIISerialStream.