Text this: Flexible touch and gesture recognition system for curved surfaces with machine learning for assistive applications