This article is a guide on how to use the Dynamic Time Warping (DTW) Mouse Explorer feature in the Wekinator software platform to control motors connected to an Arduino Uno.
The DTW Mouse Explorer is an application that is primarily used in Processing, where it can perform different gestures. The application examines data retracted from a sensor over a period of time and recognizes when an assigned gesture occurs.
In this project, we'll be adapting the default function of the Mouse Explorer application to send 2 inputs to Wekinator and accept 1 DTW output with up to 9 classes.
In the first example, 1 DTW output will be used with 4 classes as well as sending X and Y input values.
In this project, four gestures will be recorded in the Mouse Explorer application and the Wekinator will be trained according to them. Then Wekinator should set the application into 'Run' mode and redraw the gestures.
Wekinator will recognize the gestures and send output back to Processing, which will forward the data to the Arduino Uno in order to control the motors (in this case the L298N Motor).